Installation
Install Satin from npm in three lines, have your agent do it, or copy the source with the shadcn CLI.
Install from npm
Satin needs React 19 or newer; React 18 isn't supported, because every component takes ref as a plain prop. No Tailwind, no config: @uisatin/ui ships compiled components and one precompiled stylesheet.
Already on Tailwind or shadcn/ui? They don't clash. Satin's classes carry a prefix (sa:flex), its variables are --sa-* and its reset only touches Satin's elements, so your text-sm, --spacing and --radius stay yours whichever stylesheet loads first. Your Tailwind classes in a component's className still override Satin's.
npm i @uisatin/ui// main.tsx (app/layout.tsx in Next.js), once for the whole app
import '@uisatin/ui/styles.css'
// App.tsx
import { Button } from '@uisatin/ui/button'
export function Save() {
return <Button>Save changes</Button>
}Each component has its own import, shown on its page. They're marked 'use client', so Next.js Server Components can render them. For dark mode, put the dark class or data-theme="dark" on any parent, or data-theme="system" to follow the OS (dark mode guide). Load Geist and Geist Mono, or the system font is used.
Or let your agent do it
Paste this into Claude Code, Cursor or any coding agent working in your repository.
Set up the Satin design system (https://uisatin.dev) in this React project.
1. Check the project uses React 19 or newer (React 18 isn't supported: Satin passes refs as plain props). Satin doesn't need Tailwind; don't add it.
2. Install the package: npm i @uisatin/ui
3. Import the styles once at the app's entry point (main.tsx, or app/layout.tsx in Next.js): import '@uisatin/ui/styles.css'
4. Load the Geist and Geist Mono fonts, or the system font is used.
5. For dark mode, put the "dark" class or data-theme="dark" on any parent element; data-theme="system" follows the OS. Satin's CSS variables are all --sa-* (for example --sa-bg-card).
6. Import each component from its own entry point, for example: import { Button } from '@uisatin/ui/button'. The components are listed at https://uisatin.dev/r/registry.json and documented at https://uisatin.dev. They're marked 'use client', so Next.js Server Components can render them; themeCss() comes from '@uisatin/ui/theme', which Server Components can call. Rules for agents: https://uisatin.dev/AGENTS.md, every component as markdown: https://uisatin.dev/llms-full.txt.
7. Use the components as they come. Colour, radius, type and motion come from Satin's tokens; don't restyle them with raw values.
When you're done, render a Button to check the styles load, and tell me what you set up.Own the source with the shadcn CLI
To change components' code, copy them into your project from the shadcn registry instead. Set the project up once: add the @/ alias and a components.json (written by hand: shadcn init stops without Tailwind, and Satin doesn't need it). Then each component page has its own command under Installation; with the @satin registry in components.json it's also just npx shadcn@latest add @satin/button, and the shadcn MCP server can browse Satin for your agent.
The copied code keeps Satin's prefixed classes, styled by satin.css. Classes you add yourself need your own Tailwind.
// tsconfig.json (and tsconfig.app.json in Vite apps)
"compilerOptions": {
"paths": { "@/*": ["./src/*"] }
}
// vite.config.ts
resolve: { alias: { '@': path.resolve(import.meta.dirname, 'src') } }{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "",
"css": "",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"ui": "@/components/ui",
"lib": "@/lib",
"utils": "@/lib/utils",
"hooks": "@/hooks"
},
"registries": {
"@satin": "https://uisatin.dev/r/{name}.json"
}
}// main.tsx, once for the whole app
import './styles/satin.css'
// App.tsx
import { Button } from '@/components/ui/button'
export function Save() {
return <Button>Save changes</Button>
}Satin Free is open source under the MIT license; use it in any project, commercial ones included. Satin Pro will come as a separate package.
Something wrong or missing on this page?
Report a problemSuggest an improvement