Tangible Design System · @tangible/ui 0.2.29 · Interactive version · Markdown

Toolbar

import { Toolbar } from '@tangible/ui';

Interactive docs and examples: Toolbar in Storybook.

Toolbar props

Prop Type Default Description
aria-label? string Accessible label for the toolbar (required for a11y)
aria-labelledby? string ID of element that labels the toolbar
children? ReactNode
className? string
loop? boolean true Whether arrow keys wrap from end to start (does not affect Home/End)
orientation? "horizontal" | "vertical" 'horizontal' Toolbar orientation - affects arrow key direction
style? React.CSSProperties Inline styles for layout integration

Toolbar.Group

Prop Type Default Description
aria-label? string Accessible label for the group (only adds role="group" if provided)
aria-labelledby? string ID of element that labels the group
children? ReactNode
className? string

Toolbar.Item

Prop Type Default Description
children ReactElement The focusable element to register as a toolbar item

Examples

Other stories: Playground, Course Navigation (LMS), With Groups, With Input Element, No Loop, Mixed Content (interactive page).

Component API tokens

Read via fallback, never declared. Set one on an ancestor to restyle every instance under it.