Logo

Voxlet UI

Space Box

A cosmic-inspired interactive box with animated stars and shooting stars that react to user hover.

Hoverto see magic

Installation

Install this component and its dependencies with a single command.

npx shadcn@latest add https://ui.voxletstudio.com//r/space-box.json

Once your project registers the @voxlet namespace, this also works: npx shadcn@latest add @voxlet/space-box

SpaceBoxProps

PropTypeDefaultDescription
classNamestringundefinedOptional custom class names for styling.
highlightedWordstring-A word that appears bold before hovering over the component.
textstring-The descriptive text that follows the highlighted word.
animatedTextstring-A scrolling text that appears when hovering over the component.
starDensity"low" | "medium" | "high""medium"Controls the number of stars and shooting stars in the background animation.
Brought to you by Voxlet Studio