Hextech UI

Toolbar

Live example

Toolbar

Installation

Terminal
npx shadcn@latest add https://hextech-ui.vercel.app/r/toolbar.json

API reference

These are the main Toolbar options. See the exported TypeScript types for inherited native or primitive props.

PropTypeDefault
orientationhorizontal | verticalhorizontal
loopFocusbooleantrue

Keyboard navigation

Give the toolbar an accessible name and match orientation to the layout. Use ToolbarButton for actions and ToolbarSeparator for groups. Arrow-key navigation should follow the visual arrangement.