127 Components

Constellation Map

Backgrounds

Astronomical SVG star chart plotting authentic geometries for Orion, Cassiopeia, Ursa Major, Cygnus, and Lyra over a celestial Right Ascension and Declination coordinate grid with animated stroke-dashoffset line tracing.

DEC +60°DEC +40°DEC +20°DEC +0°DEC -20°RA 02h 00mRA 06h 00mRA 10h 00mRA 14h 00mRA 18h 00mORIONThe Hunter · 05h 35m +05° 23′Betelgeuse (α Ori)Bellatrix (γ Ori)Alnilam (ε Ori)Saiph (κ Ori)Rigel (β Ori)CASSIOPEIAThe Seated Queen · 01h 00m +60° 14′Schedar (α Cas)Navi (γ Cas)URSA MAJORThe Great Bear · 11h 18m +55° 23′Dubhe (α UMa)Merak (β UMa)Alioth (ε UMa)Mizar (ζ UMa)Alkaid (η UMa)CYGNUSThe Northern Cross · 20h 37m +42° 18′Deneb (α Cyg)Sadr (γ Cyg)Gienah (ε Cyg)LYRAThe Harp · 18h 51m +36° 41′Vega (α Lyr)
Celestial Coordinates

Constellation Map

Installation

Install directly into your project using the shadcn CLI or copy the source code manually.

Requires:framer-motionlucide-reactclsxtailwind-merge
$npx shadcn@latest add "https://boseui.site/r/constellation-map.json"

Props

TypeScript props supported by <ConstellationMap />.

7 props
PropTypeDefaultDescription
lineColorstring"#38BDF8"Stroke color for constellation edges and celestial grid lines.
starColorstring"#F8FAFC"Fill color for primary constellation star nodes and field stars.
drawSpeednumber1.0Speed multiplier for the constellation line-drawing animation.
showGridbooleantrueRenders Right Ascension meridians, Declination parallels, and the ecliptic arc.
showLabelsbooleantrueDisplays constellation headers, Bayer designations, and star names.
childrenReact.ReactNode—Optional foreground overlay content.
classNamestring—Additional Tailwind CSS classes for the container.

Key Features

  • Authentic stellar coordinates and Bayer designations for Orion, Cassiopeia, Ursa Major, Cygnus, and Lyra.
  • Staggered SVG pathLength vector animation over a toggleable Right Ascension / Declination grid.
  • Interactive star nodes displaying apparent visual magnitude and Bayer designation telemetry on hover.

Keyboard & Accessibility

  • Semantic SVG chart includes an aria-label while background field stars are marked aria-hidden='true'.
  • Interactive HUD toggles support full keyboard navigation and clear active state indicators.