Installation
Install
@carsxe/design-system, load the CSS, and import a component. Do not run shadcn add in your app.Install
bun add @carsxe/design-system
npm install @carsxe/design-system
pnpm add @carsxe/design-system
Load CSS
If the app already uses Tailwind v4:
import "@carsxe/design-system/globals.css"
Otherwise use the prebuilt stylesheet:
import "@carsxe/design-system/styles.css"
First button
import { Button } from "@carsxe/design-system/components/button"
export function Example() {
return <Button>Get started</Button>
}
