···11+# Hip UI
22+33+Hip UI is a copy-and-own design system for modern React applications.
44+It gives you a large set of production-ready components, layout primitives, and theme tokens that you can scaffold directly into your project instead of depending on a black-box component package.
55+66+Inspired by tools like [shadcn/ui](https://ui.shadcn.com/docs), Hip UI focuses on shipping application-ready building blocks, not just isolated inputs and buttons.
77+The system is built around [React Aria](https://react-spectrum.adobe.com/react-aria/) for accessibility and [StyleX](https://stylexjs.com/) for styling and tokens.
88+99+## Why Hip UI
1010+1111+- Copy components into your codebase and customize them freely.
1212+- Build on accessible React Aria primitives.
1313+- Use StyleX-based tokens for color, spacing, radius, shadow, typography, and motion.
1414+- Start with foundational primitives and scale up to full application layouts.
1515+- Explore a broad component set that includes forms, overlays, navigation, data display, and page structure.
1616+1717+## Documentation
1818+1919+The docs live in this repository and are organized into foundations, components, and showcases.
2020+2121+- [Docs app](./apps/docs)
2222+- [Introduction](./apps/docs/src/docs/introduction.mdx)
2323+- [Foundations](./apps/docs/src/docs/foundations)
2424+- [Components](./apps/docs/src/docs/components)
2525+- [Showcases](./apps/docs/src/docs/showcase)
2626+2727+To run the docs locally:
2828+2929+```bash
3030+pnpm install
3131+pnpm --filter docs dev
3232+```
3333+3434+Then open [http://localhost:3000](http://localhost:3000).
3535+The root route redirects to the introduction page.
3636+3737+## Quick Start
3838+3939+Install dependencies for the monorepo:
4040+4141+```bash
4242+pnpm install
4343+```
4444+4545+Start all development apps:
4646+4747+```bash
4848+pnpm dev
4949+```
5050+5151+Scaffold Hip UI components into your own project with the CLI:
5252+5353+```bash
5454+pnpx hip-ui install --all
5555+```
5656+5757+Or install individual components as you need them:
5858+5959+```bash
6060+pnpx hip-ui install button
6161+pnpx hip-ui install typography
6262+pnpx hip-ui install flex
6363+pnpx hip-ui install content
6464+pnpx hip-ui install tooltip
6565+```
6666+6767+## Monorepo Layout
6868+6969+- `packages/hip-ui` - the core component source and CLI used to scaffold components.
7070+- `apps/docs` - the documentation site for foundations, components, and showcases.
7171+- `apps/example` - a small example app for testing components in an app context.
7272+- `packages/typescript-config` - shared TypeScript configuration used across the workspace.
7373+7474+## Common Commands
7575+7676+```bash
7777+pnpm dev
7878+pnpm build
7979+pnpm check
8080+pnpm check-types
8181+pnpm lint
8282+```
8383+8484+## What You Will Find In The Docs
8585+8686+- Foundations for tokens such as colors, spacing, radius, shadow, typography, and theming.
8787+- Component documentation covering layout, content, navigation, form controls, overlays, collections, and status UI.
8888+- Showcase pages that demonstrate how Hip UI can be used to build complete interfaces.
8989+9090+## Development Notes
9191+9292+This repository is organized as a `pnpm` workspace and uses `turbo` for multi-package tasks.
9393+The docs app is built with Vite and MDX, while the component package contains the install CLI and the source for the design system itself.