|
|
před 1 měsícem | |
|---|---|---|
| .. | ||
| scripts | před 3 měsíci | |
| src | před 1 měsícem | |
| .gitignore | před 3 měsíci | |
| README.md | před 3 měsíci | |
| components.json | před 3 měsíci | |
| index.tsx | před 3 měsíci | |
| package.json | před 1 měsícem | |
| tailwind.config.css | před 3 měsíci | |
| tsconfig.json | před 3 měsíci | |
| vitest.config.ts | před 3 měsíci | |
| vitest.setup.ts | před 3 měsíci | |
packages/uiBriven's shared React component library. Built on Radix UI primitives and shadcn/ui, styled with Tailwind CSS, and used across all Briven apps.
Import from the 'ui' package alias:
import { Badge, Button, Input } from 'ui'
Some of the components have the _Shadcn_ suffix. These components should be preferred, they're in a process of replacing the other ones.
// deep object merge (used for themes)
import { clipboard, cn, mergeDeep } from 'ui' // clsx + tailwind-merge
// copy-to-clipboard helper
bg-muted, text-foreground-light, border-default) rather than hardcoded colors.tailwind.config.js. The file in this package is a stub for IntelliSense only.