Component docs
Loading
import { ToolTopbar } from "@pixxl-tools/components";
// In Server Components:
import { ToolTopbar } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
status | ReactNode | — | — |
trailing | ReactNode | — | Content after the main content (icon, suffix). |
statusReactNode
trailingReactNode
Content after the main content (icon, suffix).
Other props are passed to the root element (HTMLAttributes<HTMLElement>), including className, style, id and aria-* attributes.
<ToolTopbar status="Saved">...</ToolTopbar>