The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗A production-ready React component library and design system built with TypeScript, Vite, and Turborepo. Includes a complete documentation site and interactive component showcase.
The Milfushi Design System is a monorepo containing:
packages/ui) - Production-ready React components with TypeScript support, Storybook stories, and design tokensapps/docs) - Docusaurus-powered documentation with live component examples and integration guides✅ Production-Ready Components
✅ Comprehensive Design Tokens
✅ Multiple Documentation Surfaces
✅ Optimized for Scale
design-system/
├── packages/
│ └── ui/ # Component library + Storybook
│ ├── src/
│ │ ├── components/ # Button, Input, Checkbox, Stack
│ │ │ ├── Button/
│ │ │ ├── Input/
│ │ │ ├── Checkbox/
│ │ │ └── Stack/
│ │ ├── stories/ # Component stories
│ │ │ ├── Button.stories.ts
│ │ │ ├── Input.stories.ts
│ │ │ ├── Checkbox.stories.ts
│ │ │ └── Stack.stories.tsx
│ │ ├── tokens.css # Design tokens
│ │ ├── components.css # Component styles
│ │ └── index.ts # Package exports
│ ├── .storybook/ # Storybook configuration
│ │ ├── main.ts # Config
│ │ └── preview.tsx # Global setup
│ ├── dist/ # Built output
│ ├── vite.config.ts # Vite build config
│ └── package.json
│
├── apps/
│ └── docs/ # Docusaurus documentation site
│ ├── docs/
│ │ ├── components/ # Component documentation
│ │ ├── foundations/ # Design tokens, typography, colors
│ │ └── getting-started/ # Integration guides
│ ├── src/
│ │ └── components/ComponentPreview/ # Live demo component
│ ├── docusaurus.config.ts
│ └── package.json
│
├── turbo.json # Turborepo configuration
├── package.json # Root monorepo setup
└── README.md # This file
npm install
This installs all dependencies for the root, packages, and apps using npm workspaces.
npm run dev --workspace=apps/docs
Opens Docusaurus development server at http://localhost:3000
Features:
<ComponentPreview> componentnpm run storybook --workspace=packages/ui
Opens Storybook at http://localhost:6006
Features:
npm run build
Builds the entire monorepo (UI package, Storybook, Docs) with Turborepo.
npm run build --workspace=packages/ui
Outputs to packages/ui/dist/
index.js - ES module with all componentsindex.d.ts - TypeScript type definitionstokens.css - Design token CSS custom propertiescomponents.css - Pre-built component stylesnpm run build-storybook --workspace=packages/ui
Outputs to packages/ui/storybook-static/
Generates a static HTML site ready for deployment.
npm run build --workspace=apps/docs
Outputs to apps/docs/build/
Generates a static Docusaurus site ready for deployment.
npm run typecheck
Checks TypeScript types across all packages (required by Turborepo pipeline).
npm run lint
Runs Oxlint across the monorepo.
npm run test
Runs Vitest for the Storybook component tests.
If in the same monorepo, the package is automatically available:
npm install @milfushi/ui
import { Button, Input, Checkbox, Stack } from "@milfushi/ui";
This is the beginning of the README. Read the rest at the original. Read the full README ↗