Skip to content

ToolbarRight

Open .md
Live preview

Loading example…

Group pushed to the right edge of the toolbar.

import { ToolbarRight } from "@jcsoftdev/ui/containers";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/toolbar.

<ToolbarRight>
<>
<Button size="sm" variant="secondary">
Todos los barberos
</Button>
<Button size="sm" variant="ghost">
Hoy
</Button>
<ToolbarRight>
<Chip tone="neutral">12 citas</Chip>
<Button size="sm">Nueva cita</Button>
</ToolbarRight>
</>
</ToolbarRight>

This component declares no props of its own.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/containers/toolbar/toolbar.tsx