ui

Frame

A framed container for grouping related information. Built with Base UI and Tailwind CSS. Copy-paste ready.

Installation

Usage

Examples

Separated Panels

Renders the frame with visible dividers between each panel section for clearer visual hierarchy and content grouping.

With Collapsible Panels

Panels can be individually expanded or collapsed using Collapsible, useful for long-form settings or multi-section layouts.

With Dense Layout

Use the stackedPanels prop to stack multiple panels together without gaps.

With Header Action

Adds an icon button to the FrameHeader for a settings or overflow action, using a flex-row header layout.

Stats Display

Three metric panels each showing a label, a large value, and a trend indicator — useful for summary dashboards and KPI cards.

With Status Badge

Attaches a Badge to the header for live system status, with per-service indicators rendered inside the panel.

Key-Value Info

A read-only <dl> list inside a single panel, displaying subscription or account details as label / value pairs.

A FrameFooter with cancel and save buttons, demonstrating how to add CTA controls at the bottom of a settings block.