Skip to Content

Eclipse Mark

Crescent moon mark: a graphite SVG crescent made by masking a second disc out of a circle, so the cut is true transparency on any surface. A small decorative logo-style mark sized in pixels.

Installation

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

Usage

import { EclipseMark } from "@/components/graphics/eclipse-mark"

export default function EclipseMarkDemo() {
  return (
    <div className="grid text-foreground">
      <div className="flex items-center gap-6">
        <EclipseMark size={28} />
        <EclipseMark size={44} />
        <EclipseMark size={72} />
      </div>
    </div>
  )
}

This example installs with everything it uses:

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

API reference

A graphite disc with a second disc cut out of it, leaving a crescent. The cut is real transparency, so the mark sits on any surface. 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.

Last updated on