A container for grouping a set of buttons and controls.
Usage guidelines
- Use inputs sparingly: The left and right arrow keys both move the text cursor in an input and move between the controls of a horizontal toolbar. When a horizontal toolbar has an input, use only one, and make it the last control.
Anatomy
Import the primitives and assemble the parts:
@using Blazix.Primitives
<ToolbarRoot>
<ToolbarButton />
<ToolbarLink />
<ToolbarSeparator />
<ToolbarGroup>
<ToolbarButton />
<ToolbarButton />
</ToolbarGroup>
<ToolbarInput />
</ToolbarRoot>API Reference
ToolbarRoot
Renders a <div> element.
Other attributes are passed to the element it renders.
ToolbarInput
Renders a <input> element.
Other attributes are passed to the element it renders.
ToolbarGroup
Renders a <div> element.
Other attributes are passed to the element it renders.
ToolbarSeparator
Renders a <div> element.
Other attributes are passed to the element it renders.
ToolbarButton
Renders a <button> element.
Other attributes are passed to the element it renders.
ToolbarLink
Renders a <a> element.
Other attributes are passed to the element it renders.