Skip to Content

Living Orb

Living orb: an Orbital V4 orb with optional motion, a breathing scale and opacity pulse, animated film grain, or both. Grain runs only at larger sizes, and all motion stops under reduced motion. Uses Grain.

Installation

pnpm dlx shadcn@latest add @01orbital/living-orb

Usage

import { LivingOrb } from "@/components/orbs/living-orb"

export default function LivingOrbDemo({
  animated = false,
}: {
  animated?: boolean
}) {
  return (
    <>
      <LivingOrb size={240} motion={animated ? "both" : "still"} />
    </>
  )
}

This example installs with everything it uses:

pnpm dlx shadcn@latest add @01orbital/living-orb-demo

Examples

Ember Breathliving-orb-ember-breath

Living Orb Ember Breath: an example of living-orb.

pnpm dlx shadcn@latest add @01orbital/living-orb-ember-breath

API reference

An Orbital painted orb that can breathe, show moving film grain, or both. It renders as a round span of size px that clips to the circle, so the orb's outer halo does not show past it.

Both motions stop under reduced motion. className lands on the root.

Prop

Type

Dependencies

npm: cn. The CLI installs it for you.

Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

Last updated on