Orbs

Orb Crescent

A dark sphere with two colored crescent lights in three set-ups: cyan and coral opposing, violet and rose adjacent, or a sharp cyan rim with a soft fill. Size takes pixels or any CSS length.

The source comes with full access.

One payment of $149 ($49 for now) opens the source right here and lets the CLI install every paid component, with lifetime updates.

Installation

pnpm dlx shadcn add @01orbital/orb-crescent
npx shadcn add @01orbital/orb-crescent
yarn shadcn add @01orbital/orb-crescent
bunx --bun shadcn add @01orbital/orb-crescent

Part of the 01orbital library. With a license, put ORBITAL_TOKEN in .env.local and the same command installs it (licensed install, pricing).

It lands at components/orbs/orb-crescent.tsx, as source you own and edit.

Usage

import { OrbCrescent } from "@/components/orbs/orb-crescent"

export default function OrbCrescentDemo() {
  return (
    <div className="dark relative isolate grid min-h-full w-full flex-1 grid-cols-1 place-items-center gap-12 overflow-hidden bg-background py-12 text-foreground sm:grid-cols-3">
      {(["opposing", "adjacent", "rim-fill"] as const).map((variant) => (
        <div key={variant} className="grid justify-items-center gap-4">
          <OrbCrescent variant={variant} size={200} />
          <p className="text-sm text-muted-foreground">{variant}</p>
        </div>
      ))}
    </div>
  )
}

API reference

Prop

Type

It also accepts the HTML attributes of the element it renders.

Dependencies

npm: cn. The CLI installs them for you.

No other registry pieces.