Skip to Content

Horizon Disc

Horizon disc night scene: a dark disc holding an eclipsed body ringed by a lit limb above a warm, curved horizon glow, under fine grain. Everything scales from one size prop.

Installation

pnpm dlx shadcn@latest add @01orbital/horizon-disc

Usage

import { HorizonDisc } from "@/components/orbs/horizon-disc"

export default function Example() {
  return <HorizonDisc />
}

API reference

A dark body lit along its lower limb, a warm horizon glow beneath it. size is the knob: the diameter in px; every layer scales with it.

Prop

Type

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

Dependencies

npm: cn. The CLI installs it for you.

Used in blocks

One block is built with Horizon Disc.

Last updated on