@stackborg/ui-kits
v0.1.2
Published
Tailwind CSS component library — theme-agnostic, extendable, production-ready
Downloads
385
Maintainers
Readme
@stackborg/ui-kits
Tailwind CSS component library — theme-agnostic, extendable, production-ready.
⚠️ Maintenance Disclaimer
This library is built and maintained by Stackborg exclusively for internal Stackborg products. While it is open-source and freely available under the MIT license, we are not obligated to provide support, fix bugs, or accept contributions from external users.
You are welcome to use, fork, and modify this library at your own risk. No guarantees are made regarding backward compatibility, timely updates, or fitness for your specific use case.
Use at your own risk. No external support will be provided.
Install
npm install @stackborg/ui-kitsPeer dependencies:
npm install react react-dom tailwindcss framer-motionSetup
Import the default theme in your app's CSS entry:
@import "@stackborg/ui-kits/theme";
@import "tailwindcss";Usage
import { Button, Badge, Input, Modal, Card } from "@stackborg/ui-kits";
function App() {
return (
<Card hoverable>
<Card.Header>
<Card.Title>License</Card.Title>
</Card.Header>
<Card.Body>
<Input placeholder="Enter key..." />
</Card.Body>
<Card.Footer>
<Button>Activate</Button>
<Badge variant="success">Active</Badge>
</Card.Footer>
</Card>
);
}Custom Theme
Override CSS variables in your project:
:root {
--ui-primary: 221 83% 53%;
--ui-destructive: 0 84% 60%;
--ui-radius: 0.75rem;
}
.dark {
--ui-background: 222 47% 11%;
--ui-foreground: 210 40% 98%;
}Components
Atoms
Button · Badge · Spinner · Skeleton · Separator · Avatar
Forms
Label · Input · Textarea · Select · Checkbox · Switch
Composites
Card · Modal · Drawer · Tooltip · Dropdown · Tabs
Development
npm run dev # Storybook on localhost:6006
npm run build # Library build (ESM + CJS + DTS)
npm run build:storybook # Static storybookPublishing
Automated via GitHub Actions. To publish a new version:
# 1. Make your changes and commit
git add -A && git commit -m "feat: add new component"
# 2. Bump version
npm version patch # bug fix (0.1.0 → 0.1.1)
npm version minor # new feature (0.1.0 → 0.2.0)
npm version major # breaking change (0.1.0 → 1.0.0)
# 3. Push with tags — GitHub Actions will auto-publish to npm
git push origin main --tagsLicense
MIT — © 2026 Stackborg. See Maintenance Disclaimer above.
