Using components
Named exports, className and the parts of a component.
Overview
Every component is a set of named exports, such as Card, CardHeader and CardTitle, never Card.Header, so each part can cross a server to client boundary on its own.
Every part accepts className, merged last, so a utility you pass always wins over the recipe. Parts that share state talk through React Context, not cloned children.
TSX
import { Button } from "@/components/ui/button"
<Button variant="outline" size="sm" className="w-full">
Invite people
</Button>New to Koala UI?
The Quickstart sets Koala UI up in a React app and renders your first component in about five minutes.