The Toolbar component provides a horizontal strip for grouping action buttons, dropdowns, and other controls. It exposes three named template slots —Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt
Use this file to discover all available pages before exploring further.
start, center, and end — for arranging items on the left, middle, and right. The Nettalco preset keeps the toolbar visually consistent with other content surfaces by using the same {content.*} semantic tokens.
Usage
Design Tokens
All tokens are defined insrc/lib/theme/toolbar/index.ts. The Toolbar preset exposes only a root section — no separate token sections for individual slots.
Root
| Token | Value | Description |
|---|---|---|
root.background | {content.background} | Toolbar surface background |
root.borderColor | {content.border.color} | Outer border color |
root.borderRadius | {content.border.radius} | Corner radius |
root.color | {content.color} | Default text and icon color |
root.gap | 0.5rem | Gap between items within each slot group |
root.padding | 0.75rem | Uniform inner padding on all sides |
Theme Notes
- The Toolbar token set is intentionally minimal — one flat
rootsection covers the entire component. There are no separate tokens for thestart,center, andendslot wrappers. root.padding: '0.75rem'is slightly smaller than the Panel/Fieldset1.125rempadding to keep the toolbar compact. Buttons and controls within the toolbar provide their own internal padding.root.gap: '0.5rem'applies between sibling items inside each slot. To space the groups themselves (start/center/end), the outer flex container usesjustify-betweenby default — no token controls this.- All four visual tokens (
background,borderColor,color,borderRadius) resolve from thecontent.*namespace, making the Toolbar blend seamlessly when placed inside cards, panels, or at the top of a page.