Skip to Content

Eclipse Orb

Eclipse orb graphic: a dark disc with a bright warm rim, an inner rim glow and a wider halo, sized in pixels. A stronger eclipse than Eclipse Chip, used as a small moon on dark horizons.

Installation

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

Usage

import { EclipseOrb } from "@/components/graphics/eclipse-orb"

export default function EclipseOrbDemo() {
  return (
    <>
      <EclipseOrb size={96} />
    </>
  )
}

This example installs with everything it uses:

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

API reference

A dark disc with a warm rim and an inner and outer glow, like an eclipsed sun; it never grows wider than its container. Decorative and hidden from assistive tech.

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 Eclipse Orb.

Last updated on