# Bloom Orb

Bloom orb graphic: a pale modelled sphere for light surfaces that blooms to an accent color with a slight lift on hover, its own or its parent group's. The shadow stack derives from the body and shade colors.

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

## Installation

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

## Usage

```tsx
import { BloomOrb } from "@/components/orbs/bloom-orb"

// Its own ground: a pale sphere blooming onto a pale surface is the whole
// effect. On a dark ground it flattens into a white disc.
export default function BloomOrbDemo() {
  return (
    <div className="relative isolate grid min-h-full w-full flex-1 place-items-center overflow-hidden bg-background py-24 text-foreground [background:oklch(0.97_0.004_90)]">
      <BloomOrb size={300} />
    </div>
  )
}
```

This example installs with everything it uses:

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

## API reference

A pale modelled sphere for light surfaces that blooms to its `accent` color and lifts slightly on hover, its own or a parent `group`'s. It is decorative and hidden from assistive tech. With reduced motion the change happens without a transition.

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `size?` | `number` | `76` | Diameter in px. The modeling is fixed-px, so it reads heavier when small. |
| `body?` | `Oklch` | `BODY` | The lit face. Highlight and terminator derive from it. |
| `shade?` | `Oklch` | `SHADE` | The graphite that models the sphere; the soft inset lifts off it. |
| `accent?` | `Oklch` | `ACCENT` | The bloom on hover. |

## Dependencies

npm: `cn`

## Examples

- **Bloom Orb Hover Sphere** (`@01orbital/bloom-orb-ceramic-study`): Hover bloom example showing BloomOrb: a large chalk sphere on oatmeal paper, blooming to terracotta on hover.
- **Bloom Orb Common Ground** (`@01orbital/bloom-orb-common-ground`): Membership example showing BloomOrb: a small sage sphere beside an airy library-membership description.
- **Bloom Orb Color Workshop** (`@01orbital/bloom-orb-color-workshop`): Swatch example showing BloomOrb: three small pastel spheres arranged as material swatches on lilac stock. A soft sphere graphic for light, editorial layouts that you can copy and recolor.
- **Bloom Orb Morning Ritual** (`@01orbital/bloom-orb-morning-ritual`): Seal example showing BloomOrb: a golden sphere in a circular seal on pale peach, with a narrow receipt below. A soft sphere graphic for light, editorial layouts that you can copy and recolor.
- **Bloom Orb Quiet Companion** (`@01orbital/bloom-orb-quiet-companion`): Dark card example showing BloomOrb: an ice-blue sphere on a pale inset card surrounded by a deep night surface.
