Reusable Kleff UI package for panel, www, docs, and plugin frontends.
Use from any repo:
npm install git+https://github.com/kleffio/ui.git#mainOr add directly in package.json:
{
"dependencies": {
"@kleffio/ui": "git+https://github.com/kleffio/ui.git#main"
}
}Import package styles once in your app global stylesheet:
@import "@kleffio/ui/styles.css";Import components from the package root:
import { Button, Card, NavigationMenu, buttonVariants } from "@kleffio/ui";When consuming TypeScript source directly, add:
transpilePackages: ["@kleffio/ui"];