UI Library

React components for forms, content, navigation, and feedback. Find an example, inspect its API, and compose it into your application.

Build interfaces that scale with your productLink to section

Start with a React app and Tailwind CSS v4. Install the public packages, load the styles, and verify one component before building a larger screen.

Start with the essentialsLink to section

Each component reference includes a working preview, copyable code, API details, and accessibility guidance.

Interactive component examplesLink to section

Open PyColors UI Explorer to try component states and keyboard interactions in light and dark themes. Each component page links directly to its example.

To set up examples in your own app, follow the consumer Storybook guide. You can also try a complete interface preview or create a palette in Theme Builder.

Composition rulesLink to section

Keep the parts small and connect them in your application:

  • Use semantic tokens. Utilities such as bg-card, text-muted-foreground, and border-border keep components consistent across themes.
  • Compose a screen from primitives. Combine fields, buttons, cards, and feedback around one task.
  • Keep product logic in your app. Routing, data fetching, authentication, and billing remain application responsibilities.

Start with one working screen

Verify styling, keyboard focus, and the app build before replacing a larger product area. The installation checklist covers these checks.

When to use PatternsLink to section

Use a component for one part of an interface. Use a pattern when several components need to work together, such as validation, pagination, or mutation feedback.

Next stepsLink to section