@teton/smith-ui
v0.2.173
Published
Smith dashboard design-system primitives (React + Tailwind CSS v4).
Readme
@teton/smith-ui
Design-system primitives used by the Smith dashboard: buttons, cards, badges, stat cards, search input, nav, toasts and the shared theme tokens.
Install
npm install @teton/smith-uiPeer dependencies (provide these in your app): react, react-dom,
react-router, lucide-react. The components are styled with Tailwind CSS v4.
Usage
import { Button, Card, StatCard } from "@teton/smith-ui";Tailwind setup
The components render plain Tailwind utility classes. For Tailwind to emit those classes, point its source scanning at this package from your main CSS file:
@import "tailwindcss";
@source "../node_modules/@teton/smith-ui/dist";No separate stylesheet import is required — the primitives rely only on standard Tailwind utilities.
License
Apache-2.0
