Component docs
Loading
import { InspectorSection } from "@pixxl-tools/components";
// In Server Components:
import { InspectorSection } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
title | ReactNode | — | Title (any content). |
actions | ReactNode | — | Action slot (buttons or links). |
headingLevel | 1 | 2 | 3 | 4 | 5 | 6 | — | Level of the title heading (1–6, default 3): one below the heading of the panel or page around it, so the outline has no gaps. |
titleReactNode
Title (any content).
actionsReactNode
Action slot (buttons or links).
headingLevel1 | 2 | 3 | 4 | 5 | 6
Level of the title heading (1–6, default 3): one below the heading of the panel or page around it, so the outline has no gaps.
Other props are passed to the root element (HTMLAttributes<HTMLElement>), including className, style, id and aria-* attributes.
<InspectorSection title="Fill" />