Package Exports
- dash-ui-kit/react
- dash-ui-kit/react/components
- dash-ui-kit/react/components/accordion
- dash-ui-kit/react/components/avatar
- dash-ui-kit/react/components/badge
- dash-ui-kit/react/components/bigNumber
- dash-ui-kit/react/components/button
- dash-ui-kit/react/components/copyButton
- dash-ui-kit/react/components/dashLogo
- dash-ui-kit/react/components/dateBlock
- dash-ui-kit/react/components/dialog
- dash-ui-kit/react/components/heading
- dash-ui-kit/react/components/icons
- dash-ui-kit/react/components/identifier
- dash-ui-kit/react/components/input
- dash-ui-kit/react/components/list
- dash-ui-kit/react/components/notActive
- dash-ui-kit/react/components/overlayMenu
- dash-ui-kit/react/components/overlaySelect
- dash-ui-kit/react/components/progressStepBar
- dash-ui-kit/react/components/select
- dash-ui-kit/react/components/switch
- dash-ui-kit/react/components/tabs
- dash-ui-kit/react/components/text
- dash-ui-kit/react/components/textarea
- dash-ui-kit/react/components/timeDelta
- dash-ui-kit/react/components/transactionStatusIcon
- dash-ui-kit/react/components/valueCard
- dash-ui-kit/react/contexts
- dash-ui-kit/react/hooks
- dash-ui-kit/react/utils
- dash-ui-kit/styles
- dash-ui-kit/theme
Readme
dash-ui-kit
Dash ui kit is a UI component library with TypeScript, TailwindCSS v4, and class-variance-authority (CVA) support.
At the moment the library is in its initial stage and is actively developed. More components will be added soon and more detailed documentation will be written.
You can see all the created components in the storybook - https://alexeytriplea.github.io/dash-ui-kit/
⚡ Quick Start
Installation
from npm
npm i dash-ui-kit
Setup with Tailwind CSS v4
/* main.css */
@import "tailwindcss";
@import "dash-ui-kit/theme";
@import "dash-ui-kit/styles";
import { Button } from 'dash-ui-kit/react';
<Button colorScheme="brand">Button</Button>
📦 Components
- ThemeProvider - Theme context for dark/light mode
- Avatar - Avatar component that creates unique identicons from usernames with customizable appearance. To create avatars for identities, documents, and other entities, you should use their identifiers.
- Button - Flexible buttons with multiple variants and color schemes
- Select - The component of the form for choosing one element from the set.
- Text - Typography component for text.
- ValueCard - A flexibly customized container.
🎨 Features
- ✅ Tailwind v4: Modern CSS-first architecture with
@theme
and@layer
- ✅ Auto-generated: Theme CSS automatically built from source
- ✅ TypeScript: Full type safety and IntelliSense support
- ✅ Lightweight: Minimal bundle size impact
🚀 Usage Examples
Button Component
import { Button } from 'dash-ui-kit/react';
// Color schemes
<Button colorScheme="brand">Brand Button</Button>
<Button colorScheme="mint">Mint Button</Button>
<Button colorScheme="gray">Gray Button</Button>
<Button colorScheme="red">Red Button</Button>
// Variants
<Button variant="solid">Solid Button</Button>
<Button variant="outline">Outline Button</Button>
// Sizes
<Button size="sm">Small Button</Button>
<Button size="md">Medium Button</Button>
Text Component
import { Text } from 'dash-ui-kit/react';
<Text size="xl" weight="bold" color="blue">
Styled Text
</Text>
🔧 Development
npm run build # Build library
npm run test # Run tests
npm run storybook # Start Storybook
License
MIT