Skip to content

Frame

Free

A soft tray that groups related panels under one title, with an optional footer bar for help text and the save action. Panels can be links or buttons.

  • Base UI
  • React 19
  • Tailwind CSS 4

Added Nov 8, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Put a header, panels, and a footer in the root.

billing-frame.tsx

Frame

<section>
PropTypeDefaultDescription
size"default""sm""default"
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<section> attributes—Every other attribute goes to the <section>, with a ref.

FrameHeader

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

FrameTitle

<h2>
PropTypeDefaultDescription
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<h2> attributes—Every other attribute goes to the <h2>, with a ref.

FrameDescription

<p>
PropTypeDefaultDescription
...props<p> attributes—Every other attribute goes to the <p>, with a ref.

FrameAction

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

FramePanel

<div>
PropTypeDefaultDescription
From Base UIUseRenderBase UI docs
render—Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a ReactElement or a function that returns the element to render.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

FrameFooter

<div>
PropTypeDefaultDescription
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it when several panels belong together.
  • Use render={<form />} so the footer button submits.
  • Use size="sm" for dense pages.
  • For one plain block of content, use a div with a border.

It renders a section, and FrameTitle names it.

With a name, the Frame is a region that a screen reader can jump to.

  1. AddedFrame.
Open the release