Skip to Content
Puzzle

UI Components

Browse all Puzzle UI component documentation, grouped by purpose.

@puzzle-ui/ui provides reusable React components for building interfaces with consistent theme tokens, layout, and interaction patterns. Use this index to find a component's examples, props, and accessibility guidance.

Getting started

Follow the Getting Started guide for installation and wrap your application in the Theme provider. Import components from @puzzle-ui/ui:

import { Theme } from "@puzzle-ui/theme";
import { Button, Stack, Text } from "@puzzle-ui/ui";

const App = () => (
  <Theme>
    <Stack direction="col" gap="sm">
      <Text>Build your interface with Puzzle.</Text>
      <Button>Get started</Button>
    </Stack>
  </Theme>
);

Actions

Trigger actions and group related controls.

Data display

Present content, identities, status, and loading states.

Editors

Edit rich text and display structured documents.

Forms

Collect input, offer choices, and compose labeled fields.

Layout

Structure pages, arrange content, and manage scrolling or resizable regions.

Move between destinations, browse collections, and organize related content.

Overlays

Show contextual content, modal interactions, menus, and notifications.

Typography

Apply theme typography while keeping semantic headings and readable body copy.

Utilities

Preview components, control document scrolling, and animate transitions.

Theming

Components consume shared CSS custom properties rather than defining a separate theme system. See Theme for an overview, Design Tokens for customization, and Colors for light, dark, and scoped color schemes.

;