# Rising Orb

Half-dome sunrise graphic: the top half of a disc in a warm gradient with a glowing limb border, on a transparent ground. Children render between the paint and the limb, and the composition crops it at a horizon.

Component · Orbs · https://01orbital.dev/docs/components/rising-orb

## Installation

```bash
npx shadcn@latest add @01orbital/rising-orb
```

## Usage

```tsx
import { RisingOrb } from "@/components/orbs/rising-orb"

// The dome sits on the bottom edge so it reads as rising over a horizon.
export default function Demo() {
  return (
    <div className="relative isolate grid min-h-full w-full flex-1 place-items-center items-end overflow-hidden bg-background text-foreground">
      <RisingOrb size="min(60%, 720px)" />
    </div>
  )
}
```

This example installs with everything it uses:

```bash
npx shadcn@latest add @01orbital/rising-orb-demo
```

## API reference

The top half of an orb, as a dome with a glowing rim on a transparent ground. Cropping it at a horizon is up to the composition that places it.

Children render between the fill and the rim, for a texture such as grain. The fill and rim are hidden from assistive tech.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `size?` | `number \| string` | `600` | Width of the dome: px as a number, or any CSS length. The height is half of it. |
| `gradient?` | `string` |  | The dome's fill: any CSS background, usually a gradient. |
| `limb?` | `string` | `"oklch(0.687 0.106 64.4 / 0.5)"` | The color of the rim along the curved edge. Its glow is this color at 60% through `color-mix`. |

## Dependencies

npm: `cn`

## Examples

- **Rising Orb Blush** (`@01orbital/rising-orb-blush`): Rising Orb Blush: an example of rising-orb.
- **Rising Orb Lagoon** (`@01orbital/rising-orb-lagoon`): Rising Orb Lagoon: an example of rising-orb.
