@liam-public/browser-react-ui
v0.1.0
Published
Tailwind v4 + Radix (shadcn) component kit for browser admin/CMS UIs.
Readme
@liam-public/browser-react-ui
Tailwind v4 + Radix (shadcn "new-york") component kit for browser admin/CMS UIs — the UI foundation for the base CMS package family.
Exports the primitives: Button/buttonVariants, Input, Label, Card (+ parts),
Dialog (+ parts), Sheet (+ parts), DropdownMenu (+ parts), Select (+ parts), Badge,
Separator, Table (+ parts), and the cn() class-merge helper.
Requirements
- React 19 (peer dependency).
- Tailwind v4 in the consuming app. This package ships unstyled component logic + class
names that reference shadcn CSS variables (
--primary,--ring, …). The app must run Tailwind and provide the theme variables (see@liam-public/browser-react-cms's theme.css).
Usage
import { Button, Card, CardHeader, CardTitle, cn } from '@liam-public/browser-react-ui'
<Card>
<CardHeader><CardTitle>Hello</CardTitle></CardHeader>
<Button variant="outline" className={cn('mt-2')}>Click</Button>
</Card>