Displays related content in a structured frame.
❯buridan add frameUse the following to build the Frame component.
from components.ui.frame import frameFor manual installation, copy each of the source codes below in their respective locations.
A basic frame with a header and two panels.
Props used: none required beyond default frame.root composition.
Set stacked=True to merge panel borders into one continuous block.
Props used: stacked on frame.root.
Set dense=True for minimal frame padding, edge-to-edge.
Props used: dense on frame.root.
Set variant="ghost" to remove the frame's outer border.
Props used: variant on frame.root.
frame.root(
frame.panel(
frame.header(frame.title("Overview")),
"Panel content",
),
variant="default",
spacing="default",
)
frame.panel("Panel content")
frame.header(frame.title("Overview"))
frame.title("Overview")
frame.description("A summary of recent activity.")
frame.footer(button("View all", variant="ghost", size="sm"))