Glasswave UI

CLI

Install individual components straight into your project with the shadcn CLI.

Glasswave ships as a shadcn-compatible registry, so besides the npm package you can pull individual components into your own source tree. The CLI copies the component file into your project (under your configured alias) and installs any dependencies it needs.

Set up the registry

Your project needs a components.json — the shadcn config that tells the CLI where your aliases and styles live. If you don't have one yet, run:

1pnpm dlx shadcn@latest init

Then add the @glasswave registry to your components.json once — this is what lets the CLI resolve @glasswave/<name>:

1{2  "registries": {3    "@glasswave": "https://glasswave-ui.vercel.app/r/{name}.json"4  }5}

Add a component

With the namespace configured, reference any component as @glasswave/<name>. The required glass utilities and CSS are listed as registry dependencies, so they're pulled in automatically the first time.

1pnpm dlx shadcn@latest add @glasswave/button

Every component page lists its own ready-to-copy command under the Command tab — for example the Button page.