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