Skip to content

    Browse components

    Meteors

    Shooting stars streak across the container. Pure CSS, SSR-safe.

    Open
    Customize

    Installation

    npx shadcn@latest add @glint-ui/meteors

    First time using @glint-ui? Add the registry to components.json once, or install by URL: npx shadcn@latest add https://glintui.vercel.app/r/meteors.json

    Usage

    import { Meteors } from "@/components/ui/meteors";
    
    <div className="relative h-96 overflow-hidden">
      <Meteors />
    </div>

    Props

    PropTypeDefaultDescription
    countnumber20Number of meteors.
    colorstring"#e4e4e7"Meteor color.
    anglenumber215Travel direction in degrees.
    classNamestring—Extra classes for the root element.