Skip to main content

Components

Reusable UI components from the Cohere design system (@cohere-ai/waypoint-ui) with live interactive previews. Each component is embedded directly from Storybook.

Featured Component

Try out the Button component with live interactive examples from Storybook.

Loading Button...

All Components

Layout

Feedback

Overlays

Data Display

Avatar

User profile picture with fallback initials, optional badge, and group stacking. All exported from a single subpath.

2 props3 examples

Badge

Small status indicators and labels for UI elements. Supports 7 semantic variants including success, caution, and info.

2 props2 examples

Carousel

Image and content carousel built on Embla. Supports horizontal/vertical orientation and programmatic API access.

6 props1 example

Empty

Compound empty state component for no-data screens. Compose with EmptyMedia, EmptyHeader, EmptyTitle, and EmptyDescription.

1 prop1 example

EmptyContent

Convenience empty state component from the empty-content subpath. Pass icon, title, and description as props instead of composing manually.

5 props1 example

Item

Flexible list item component with media, content, title, description, actions, and group support.

4 props1 example

Kbd

Keyboard shortcut display component. Use KbdGroup for multi-key combinations. Styling adjusts automatically inside tooltip content.

Table

Semantic table component with styled header, body, footer, rows, cells, and caption. All sub-components extend native HTML elements.

EventsTree

Tree view component for displaying hierarchical events and tool calls. Ideal for agent trace UIs.

2 props1 example

PdfPreview

PDF preview component with zoom, navigation, and optional download/open-in-new-tab toolbar. Requires react-pdf peer dependency.

7 props1 example

BadgeNumber

BadgeNumber component. See Storybook for full documentation.

ConnectionChip

ConnectionChip component. See Storybook for full documentation.

List

List component. See Storybook for full documentation.

Presence

Presence component. See Storybook for full documentation.

Navigation

Form Controls

Button

Interactive button component with 6 variants, 5 sizes, and asChild support for polymorphic rendering.

4 props4 examples

ButtonGroup

Group of related buttons with connected styling and optional separators. Supports horizontal and vertical orientation.

2 props2 examples

Calendar

Date picker calendar built on react-day-picker. Supports single date, range, and multi-month modes.

8 props2 examples

Checkbox

Checkbox component for selecting multiple options. Supports indeterminate state and is built on Radix UI.

5 props2 examples

Combobox

Searchable dropdown with fuzzy filtering. Selecting the same value clears the selection. Portals content for proper z-index stacking.

10 props1 example

Editable

Inline editable text with preview and edit modes. Supports click, double-click, or focus activation and optional toolbar.

11 props2 examples

Faceted

Faceted filter component for advanced single or multi-select filtering. Displays selected values as badges in the trigger.

7 props1 example

FileUpload

File upload component with drag-and-drop dropzone, file list, progress tracking (linear, circular, or fill), and upload callbacks.

10 props1 example

Form

Form wrapper built on React Hook Form. Automatically wires id, aria-describedby, and aria-invalid from field state.

Input

Text input field accepting all native <input> HTML attributes. Pair with Label, Form, or InputGroup for complete form controls.

3 props2 examples

InputGroup

Input with prefix text, suffix text, icon addons, and inline buttons. Supports all four positions: inline-start, inline-end, block-start, block-end.

3 props2 examples

Label

Accessible form label built on Radix Label. Always pair with form controls using htmlFor/id for accessibility.

1 prop1 example

Mention

@mention rich text input built on TipTap. Supports fuzzy-filtered suggestions and a template syntax option.

9 props1 example

MultiSelect

Multi-select dropdown displaying selected values as deletable badges. Supports search, clear-all, and custom badge variants.

8 props1 example

RadioGroup

Radio button component for single selection from multiple choices. Built on Radix RadioGroup with full keyboard support.

4 props1 example

Select

Accessible dropdown selection component with groups and labels. For searchable selection, use Combobox.

2 props1 example

Slider

Range slider for selecting numeric values or a range. Built on Radix Slider. Pass an array to value for range mode.

7 props2 examples

Switch

Toggle switch for binary on/off states. Built on Radix Switch. Supports preventFormControl to avoid parent form interactions.

5 props1 example

Textarea

Multi-line text input accepting all native <textarea> HTML attributes. For auto-resizing, use TextareaAutosize.

TextareaAutosize

Auto-resizing textarea built on react-textarea-autosize. Grows with content and optionally shows a skeleton while loading.

3 props1 example

Toggle

Toggle button for on/off states. Built on Radix Toggle with default, outline, and secondary variants.

5 props1 example

ToggleGroup

Group of toggle buttons for single or multiple selection. Each item can override variant and size individually.

5 props1 example

TooltipButton

Button with an integrated tooltip. Uses LazyTooltip by default. Renders as a plain Button when no tooltip prop is provided.

6 props1 example

HierarchicalSuggester

Hierarchical suggestion menu for nested selections. Displays grouped options in a tree-like suggestion interface.

6 props1 example

Browse All Components

Explore the complete component library in the sidebar. Each component includes live previews, usage examples, and direct links to the Storybook documentation.