ui

Toolbar

A container for grouping a set of buttons and controls. Built with Base UI and Tailwind CSS. Copy-paste ready.

API Reference

Installation

Usage

Examples

Rich Text Editor

Undo/redo actions, a multiple-select format toggle group (bold, italic, underline, strikethrough), a single-select alignment group, and list type buttons — the classic inline document editor toolbar.

Image Editor

Transform tools (crop, rotate left, rotate right), zoom controls (zoom out, zoom in, fit to screen), an adjustments button, and an Export action — all icon ghost buttons with individual tooltips.

Data Table

A full-width search input with a leading search icon via ToolbarInput, icon ghost buttons for filter, columns, export, and delete, and a primary "Add row" button on the right end.

Code Editor

A language Select dropdown, a word-wrap ToggleGroupItem, a copy icon button that switches to a check on success, and a loading-aware "Run" button — the essential code snippet toolbar.

Document Collaboration

Document title on the left, an edit/preview ToggleGroup in the center, comment/history/more icon buttons, and a "Share" primary button — a justify-between layout for real-time doc editing UIs.