Component documentation
Basics
Components
- Accordion
- Alert dialog
- Alert stack
- Alert
- Avatar
- Badge
- Blank slate
- Bordered list
- Brand
- Button toolbar
- Button
- Card banner
- Card
- Checkbox
- Citation
- Dialog
- Dropdown
- Error page
- File attachment
- File upload
- Filter pill
- Global banner
- Horizontal ruler
- Icon list
- Input group
- Input icon
- Input
- Key value list
- Link
- List
- Loader
- Multi Select
- Navbar
- Or
- Pagination
- Panel
- Popover
- Progress bar
- Radio button
- Select
- Side menu
- Status pill
- Table of content
- Table
- Tabs
- Textarea
- Toolbar
- Tooltip
- Wizard
Objects
Utilities
Toolbar
The toolbar is meant as a generic construct to position UI elements. It provides a structure where you can position items on the left, in the center and on the right.
The toolbar requires a parent .c-toolbar
div that contains children that define the positioning: .c-toolbar__left
, .c-toolbar__right
and .c-toolbar__center
.
The toolbar construct is used in many parts of the user interface: dialogs, panels, navbars and popovers all use the toolbar component to position elements in a consistent way.
Toolbar item spacing
#There is consistent spacing between items in a toolbar. This example shows 2 items on the left, 2 items on the right.