DocsSupportPricing
Roadmap (has updates coming soon)XFigma3.7K
Sign inGet All-Access
  1. Components
  2. Frame
DocsMarkdownPro 654 blocks

Shadcn Frame

Browse 19 production-ready shadcn frame components for bounded layouts, viewport sections, and responsive containers. Shadcn Frame is compatible with Radix UI and Base UI layout components and is fully aligned with Shadcn Create style options so your previews match your design tokens.

For AI Agents

Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.

When to use

  • Dashboard, settings and status sections with a title bar, card panels and a footer line
  • Lists of services, records or log entries joined into one stacked column of bordered panels
  • A titled shell around other parts, such as a collapsible run step that opens to its instructions

When not to use

  • Several sections that each expand and collapse, one or many open at a time: use the Accordion component
  • Ready made KPI tiles, profile summaries or promo offers laid out across a page: use the Card blocks
  • A storefront page of items with photos, prices, swatches and wishlist toggles: use the Product Grid blocks

Agent notes

  • dense strips the padding and gap of Frame itself and pulls each FramePanel onto the outer border; the panels keep their own padding
  • stacked joins only FramePanel elements that are adjacent direct children of Frame; a wrapper around one leaves both fully rounded and bordered
  • FramePanel grows into any spare height of Frame; pass fit when a panel should keep the height of its own content
Markdownhttps://web.dev.reui.io/components/frame.md
MCPget_component("frame")
Installnpx shadcn@latest add @reui/frame
Full index for agents:llms.txtReUI MCP setup

Shadcn Frame: Build Bounded Layout Sections

Shadcn Frame is a bounded container primitive that maintains semantic HTML structure while providing flexible layout composition. It aligns with Radix UI and Base UI components for container semantics, and is fully compatible with Shadcn Create style options so radius, spacing, and theme tokens apply consistently.

It creates a visual boundary for page sections, dashboard regions, or viewport-aware containers so content stays organized and readable at any screen size.

ReUI lists frame components inside realistic page layouts so you evaluate spacing, depth, and nesting next to a Shadcn Card or Shadcn Table, not only a standalone block. The sections below explain what the component is, why teams use it, which features matter, and how it pairs with other primitives.

What is Shadcn Frame?

In layout terms, a frame is a bounded container that creates visual and semantic sections. Shadcn Frame follows semantic HTML and maintains accessibility expectations for region landmarks, so it works well when you also build with Radix UI primitives.

Components here show max-width containers, nested frames, and dashboard-style sections. They help you decide depth, padding, and composition before shipping the same structure into Next.js or a server-rendered React application.

Why Use Shadcn Frame?

Frames reduce noise by creating clear visual boundaries between page regions. They make layout predictable when many sections or cards sit on one URL, and they help responsive design by centralizing max-width and padding logic in one reusable component.

The layouts on this page show how frames nest with Shadcn Card, Shadcn Dialog, and form regions.

Shadcn Frame Features

  • Semantic HTML. Uses section or div with proper landmarks so assistive tech recognizes page structure and regions stay accessible.
  • Max-Width Control. Bounded container widths centered on screen, aligned with design system breakpoints and spacing scale.
  • Responsive Padding. Tailwind utility classes adjust container padding at different breakpoints for consistent inner and outer spacing.
  • Nesting Support. Frames nest cleanly so dashboard chrome, modals, and page sections all respect the same max-width and alignment.
  • Shadcn Create Compatible. Radius, spacing, and color tokens from Shadcn Create apply to frame surfaces so previews match exported UI.

ReUI Frame: In-House Custom Shadcn Component

ReUI Frame is an in-house component built and maintained by the ReUI team as part of the ReUI open-source library. It is designed to integrate seamlessly into any shadcn/ui project: following the same copy-and-own installation model. The component source lands directly in your repository; you own it, extend it, and style it with your Tailwind CSS tokens. ReUI Frame is a custom container component not available in base shadcn/ui. It provides a consistent layout shell: title, toolbar slot, action button, and scrollable content area: used across Data Grid, Kanban, Timeline, Chart, and Sortable components to produce self-contained dashboard panels without writing per-page chrome code.

The component is available in two API flavors to match your primitive stack: a Radix UI version for teams using Radix-based shadcn primitives, and a Base UI version for teams on @base-ui/react. Both versions share identical visual output and Tailwind CSS styling: only the underlying headless primitive differs. ReUI maintains 22 such in-house components, all available in both Radix and Base UI versions, each with dedicated documentation covering the full component API, usage examples, and prop references.

Integrating with Other Components

Wrap a Shadcn Card group or Shadcn Table inside a frame to establish clear page boundaries. Pair frames with Shadcn Dialog or Shadcn Drawer to maintain layout alignment when modals or panels slide in.

Use frames inside dashboards with Shadcn Tabs or Shadcn Accordion to organize top-level sections. Nest frames when building nested layouts like page header, main content, and footer regions.

Combine frames with Shadcn Field groups and Shadcn Button actions for forms and data entry workflows that span multiple viewport sizes.

Frequently Asked Questions

What is a frame used for in modern product layouts?

Frames create bounded regions on pages so content stays readable and centered at wide viewports. They organize dashboards, pages, and modal bodies while centralizing max-width and padding logic. Teams use them to keep layout consistent when mixing cards, tables, and other sections.

Should I use a frame or a card for a page section?

Use a frame for top-level layout regions and page boundaries. Use a Shadcn Card when you need a styled container with border, shadow, or elevated appearance. Frames are layout primitives; cards are content containers. You often nest cards inside frames.

How does a frame differ from a container in Tailwind CSS?

The Tailwind container applies max-width at certain breakpoints but doesn't include semantic structure or built-in padding options. Shadcn Frame uses semantic HTML, respects Shadcn Create tokens, and pairs with other primitives for consistent, accessible layouts.

Can I use frames with Radix UI and Base UI?

Yes. Shadcn Frame uses semantic HTML so it composes cleanly with Radix UI primitives and Base UI unstyled components. The frame handles layout; your composed content handles interaction and state.

Is Shadcn Frame responsive out of the box?

Frames use Tailwind breakpoints and responsive utilities so padding, max-width, and spacing adjust at tablet and mobile sizes. You customize responsive behavior by modifying the underlying Tailwind classes to match your design system.

How are ReUI frame components different from a minimal frame block?

ReUI frames sit inside realistic dashboards, pages, and modal layouts. You see how frames compose with Shadcn Table, Shadcn Pagination, and form regions together, which is closer to production reality than a standalone block.
Previous12 Shadcn Filters Components
Next7 Shadcn Gantt Components

Start building with ReUI Pro today.

Every Pro block, every style, and every future addition, with one license for unlimited projects.

Get All-Access

From $249, once. Lifetime updates.

Application

  • App Shell
  • Auth
  • Card
  • Dashboard
  • Dialog
  • Empty State
  • Event Calendar
  • Flow
  • Form
  • Gantt
  • Kanban Board
  • List
  • Navbar
  • Onboarding
  • Profile
  • Rich Text Editor
  • Schedule
  • Settings
  • Sheet
  • Stats2 meter cards moved here from Charts, 17 in all
  • Timeline
  • Whiteboard
  • Wizard

Data Grid

  • Base
  • AdvancedAdded 2 new Data Grid Advanced blocks, 5 in all
  • Columns
  • Drag & Drop
  • Editing
  • Expansion
  • Filtering
  • Grouping
  • Virtualization

Charts

  • Area ChartAdded a new Inbound Leads area chart block
  • Bar Chart
  • Composed Chart
  • Line Chart
  • Pie Chart
  • Radial Chart
  • Sankey ChartNew Sankey Chart category with 3 flow chart blocks
  • Slope ChartNew Slope Chart category with 2 rank-shift chart blocks
  • Sparkline
  • Status Tracker

AI & Agents

  • AI Chat
  • Agent Activity
  • AI UsageNew AI Usage category with 2 spend blocks

Solutions

  • Dev Ops
  • AI Ops
  • CRM
  • Agents
  • Analytics
  • Billing
  • Bookings
  • Files
  • Inventory
  • Users
  • Digital TwinNew Digital Twin category with 2 interactive 3D blocks

Templates

  • All templates

eCommerce

  • Category Card
  • Checkout
  • Comparison
  • Coupon
  • Filter Sidebar
  • Product Card
  • Product Detail
  • Product Grid
  • Receipt
  • Review
  • Shopping Cart
  • Wishlist
  • Shop Hero

Marketing

  • Blog
  • Compare
  • Contact
  • CTA
  • FAQ
  • Hero
  • How It Works
  • Pricing

Resources

  • Components
  • Blocks
  • Icons
  • MCP for Agents
  • Docs
  • Support
  • Pricing
  • Tailwind Plus Alternative
  • Roadmap(has updates coming soon)
  • AffiliateSoon

Legal

  • Privacy Policy
  • Terms & Conditions
  • License
  • Refunds
  • Cookies

© 2026 ReUI. All rights reserved.

3.7K

Basic frame

Frame with separated panels

Frame with stacked panels

Frame with stacked panels and dense style

Frame with collapsible panels

Frame with ghost variant

Frame with dense layout

Frame with stacked panels

Frame with extra small spacing

Frame with small spacing

Frame with default spacing

Frame with large spacing

Frame with small border radius

Frame with medium border radius

Frame with large border radius

Frame with default border radius

Frame with extra large border radius

Frame with content-only panels

Frame with stacked content-only panels