@tuturuuu/ui
v0.41.0
Published
Shared UI components and design system for Tuturuuu Platform.
Readme
@tuturuuu/ui
Shared UI components and design system for Tuturuuu Platform.
Installation
npm install @tuturuuu/uiUsing another package manager? Run pnpm add @tuturuuu/ui,
yarn add @tuturuuu/ui, or bun add @tuturuuu/ui instead.
The public package depends on other published Tuturuuu packages, including
@tuturuuu/apis and @tuturuuu/ai. Release those dependencies first, then
publish UI from the same production commit so standalone apps can install
@tuturuuu/ui without local workspace links or package-manager overrides.
Usage
Import the shared stylesheet once from your app's root layout or entry point:
import '@tuturuuu/ui/globals.css';Then import each component from its public subpath:
import { Button } from '@tuturuuu/ui/button';
import {
Card,
CardContent,
CardHeader,
CardTitle,
} from '@tuturuuu/ui/card';
export default function MyComponent() {
return (
<Card>
<CardHeader>
<CardTitle>Welcome to Tuturuuu</CardTitle>
</CardHeader>
<CardContent>
<Button>Get started</Button>
</CardContent>
</Card>
);
}The package exports TypeScript and TSX source files. Configure your framework
or bundler to transpile @tuturuuu/ui and its published Tuturuuu dependencies
when it does not transpile package source automatically.
Features
- Fully accessible components
- Type-safe props
- Tailwind CSS integration
- Dark mode support
- Comprehensive theming system
Development
# Install dependencies
bun installLicense
MIT © Tuturuuu
