Panel Section

Titled groupings for control panels and inspectors.

Also known as: inspector section, panel group, control section, settings section

Installation

Install with the CLI, or copy the component source into your project.

Add panel-section (npm)

npx --yes -p @default-file/ui df-ui add panel-section

Default

Titled group for control panels.

Motion

Loop
Reduce motion

Properties

Titled grouping for control panels.

PanelSection

PropTypeDefaultNotes
titlestring-Section heading (required).
childrenReactNode-Section body content (required).
classNamestring-Additional styles on the section shell.

Tokens

Theme defaults live on :root. Override these globally or on a local host.

TokenTypeDefaultNotes
--borderCSS colorvar(--df-neutral-100)Section divider.
--muted-foregroundCSS colorvar(--df-neutral-500)Section title color.
--spacing-unitCSS length0.25remBase unit for padding and gap.