Installation
How to make your app look like this.
You need a React project with Tailwind CSS 4 and shadcn set up on Radix. Base UI projects are not supported yet. Start one if you have none.
npx shadcn@latest init -b radixEvery component reads the theme tokens, so add it first. The theming guide covers fonts and palettes.
npx shadcn@latest add https://www.ui95.dev/r/theme.jsonEvery component page has its own command. It installs the files and every item they build on.
npx shadcn@latest add https://www.ui95.dev/r/button.jsonNo icon pack ships with the theme. I recommend pixelarticons-react. Its icons sit on the same pixel grid, and this site uses it too.
npm install @nsmr/pixelart-reactimport { Moon } from "@nsmr/pixelart-react"
<Moon size={24} />Register the namespace once and install by name. The CLI fills {style} from your components.json.
npx shadcn@latest init -b radixnpx shadcn@latest registry add "@ui95=https://www.ui95.dev/r/{style}/{name}.json"That writes this to components.json. You can also paste it yourself.
{
"registries": {
"@ui95": "https://www.ui95.dev/r/{style}/{name}.json"
}
}npx shadcn@latest add @ui95/button| Manager | Run the CLI | Install a dependency |
|---|---|---|
| npm | npx shadcn@latest | npm install |
| pnpm | pnpm dlx shadcn@latest | pnpm add |
| yarn | yarn dlx shadcn@latest | yarn add |
| bun | bunx --bun shadcn@latest | bun add |