ClayClay
  • Get Started
    • How to Use Clay
    • Composition Philosophy
    • How to Read This Documentation
    • Migrating From v2.x
    • Using Clay in JSPs
  • Components
    • Alert
    • Application Bar
    • Autocomplete
    • Badge
    • Breadcrumb
    • Button Group
    • Buttons
    • Card
    • Chart
    • Color Picker
    • Data Provider
    • Date Picker
    • Drop Down
    • Empty State
    • Form
      • Checkbox
      • Dual List Box
      • Input
      • Radio Group
      • Select
      • Select Box
      • Toggle Switch
    • Forms Hierarchy
    • Icon
    • Label
    • Layout
    • Link
    • List
    • Loading Indicator
    • Localized Input
    • Management Toolbar
    • Modal
    • Multi Select
    • Multi Step Nav
    • Nav
    • Navigation Bar
    • Pagination
    • Pagination Bar
    • Panel
    • Popover
    • Progress Bar
    • Sidebar
    • Slider
    • Sticker
    • Table
    • Tabs
    • Timelines
    • Time Picker
    • Toolbar
    • Tooltip
    • Upper Toolbar
  • Contributing
  • CSS Framework
    • Paver
    • SCSS
    • Color
    • Grid
    • Content
      • Typography
      • C Kbd
    • Utilities
      • Autofit
      • C Focus Inset
      • C Inner
      • C Spacing Utilities
      • Inline Item
    • Playground
  • Examples
  • Docs
  • Blog
  • Storybook
  • Codesandbox
  • Github
  • Use this menu to toggle between Atlas and Base Themes.

Toolbar

yarn add @clayui/toolbar

A toolbar is a set of actions related to a specific context that are grouped into a horizontal bar.

  • Examples
  • Markup
  • API

Stable3.0.4View in LexiconCHANGELOGstorybook demos

  • Introduction
  • Composing

Introduction

A toolbar organizes actions into a horizontal bar that is responsive. Its height changes to accommodate the height of the elements it contains. The toolbar always maintains the vertical alignment.

  • Item 1 of 3,138,732,873,467,182,321,341,231,234,342,559,827,334,424
  • Component Link
Copied!
Code Sample (expand to see it)

Composing

ClayToolbar.Nav is the highest level wrapper to be used inside the Toolbar to wrap all the content inside.

ClayToolbar.Item represents a Toolbar child item, a list item that is supposed to wrap around any of the other low-level components.

ClayToolbar.Section is a wrapper to be used inside the ClayToolbar.Item that makes the contents it wraps display inline.

ClayToolbar.Action is used when you want a clickable icon to add an action in the Toolbar.

ClayToolbar.Input, ClayToolbar.Label and ClayToolbar.Link are essentially a wrapper around their respective Clay components with some specifics related to Toolbar.

    • one
    • two
    • three
    • four
Copied!
Code Sample (expand to see it)

How can this be improved? Create an issue!