Catalogue
Components and blocks
164 pieces on one token set. Each page has a live preview in both themes, its guidelines and the command that installs it.
Install
In a project set up for shadcn (
npx shadcn@latest init), add the foundation: tokens, fonts and focus rules.npx shadcn@latest add https://irisui.dev/r/foundation.jsonImport it once from your global stylesheet, after Tailwind v4. It brings the tokens, the fonts and the Tailwind theme every component is styled with.
@import "tailwindcss"; @import "./components/iris/styles/foundation.css";
Add any component by its URL, or register the namespace in
components.jsonand use@iris/<name>.npx shadcn@latest add https://irisui.dev/r/split-button.json{ "registries": { "@iris": "https://irisui.dev/r/{name}.json" } }Iris UI's
--accenttoken shares its name with shadcn's default theme. If the project keeps shadcn's theme, importfoundation.cssafter it so Iris UI's value wins, or remove shadcn's--accent.Set
data-theme="dark"on<html>for dark mode; every token has a tuned dark value.