DocsGetting StartedInstallation
Installation
Add Entropy UI tokens, theming and components to a shadcn project.
Loading documentation…
npx shadcn@latest init
Tokens use shadcn's variable names, so existing components keep working. Entropy UI adds density, surface, border, status and log-level variables.
Import the file after Tailwind in your global stylesheet:
@import "tailwindcss";
@import "tw-animate-css";
@import "./strata.css";
import { AppearanceProvider } from "@/lib/appearance"
<AppearanceProvider>
<App />
</AppearanceProvider>
Dependencies between components are resolved by the CLI.
Once the registry is published, add a namespace to components.json and install with short names:
{
"registries": {
"@strata": "https://your-domain.com/r/{name}.json"
}
}
npx shadcn@latest add @strata/data-table