Skip to content

    Browse components

    Installation

    Works in any React 19 project with Tailwind CSS v4. Next.js is recommended.

    1. Set up shadcn (recommended)

    This adds the theme tokens and the cn helper that some components use.

    npx shadcn@latest init

    2. Add the @glint-ui registry

    Tell the shadcn CLI where @glint-ui components live. Add this to your components.json (one time per project):

    {
      "registries": {
        "@glint-ui": "https://glintui.vercel.app/r/{name}.json"
      }
    }

    3. Add a component

    Every component page has its own command. For example:

    npx shadcn@latest add @glint-ui/letter-rise

    The file lands in components/ui and the CLI installs any npm dependencies it needs. Prefer no setup? Any component also installs straight from its URL: npx shadcn@latest add https://glintui.vercel.app/r/letter-rise.json

    4. Or copy it by hand

    Open the Manual tab on any component page, install the listed dependencies and paste the source. Components without dependencies need nothing else.

    Dependencies you may see

    • motion for spring and layout animations
    • gsap for timeline-heavy effects
    • ogl or three for WebGL backgrounds
    • matter-js for physics