React Layout Components
Structure responsive React interfaces with Puzzle containers, grids, stacks, page regions, sidebars, and resizable panels.
Layout components arrange content into page regions and responsive groups. They provide composable building blocks for application shells, sections, collections, and media without requiring a routing framework.
When to use layout components
Use these primitives to express spatial relationships and responsive behavior. Choose a page layout or sidebar for major regions, and a grid or stack for smaller collections. Use the Pieces package when you need a complete website section rather than a layout primitive.
Components
App Bar
Compose an application header with branding and navigation.
Aspect Ratio
Keep media and other content at a consistent aspect ratio.
Background
Add themed patterns, fades, and mesh backgrounds.
Bottom Navigation
Keep primary destinations within reach at the bottom of a view.
Breadcrumbs
Show the current location within a page hierarchy.
Collapsable Sidebar
Organize navigation in an expandable side panel.
Container
Constrain content width with consistent page gutters.
Grid
Arrange responsive columns and rows with optional item spans.
Page Layout
Compose page headers, sidebars, and main content regions.
Resizable Panels
Split content into panels with draggable resize handles.
Scroll Area
Contain overflowing content in a dedicated scroll region.
Section
Define page sections with themed spacing and surfaces.
Section Header
Compose a section eyebrow, heading, description, and actions.
Section Stack
Arrange page sections with consistent separation.
Separator
Separate related content horizontally or vertically.
Sidebar
Place supporting content and navigation beside the main view.
Stack
Arrange content with responsive direction, alignment, and gaps.
Start here
- Page Layout for headers, sidebars, and main content.
- Container to constrain content width.
- Grid and Stack for responsive arrangements.
See Theme for the tokens used by UI components and Pieces for composed page sections.
React OTP and Verification Code Input
Build React OTP and verification code inputs with individual character slots. Explore paste support, auto-focus advancement, masking, and form submission.
React App Bar and Responsive Header
Build a responsive React app bar with branding, desktop navigation, and a mobile drawer. Explore header composition, navigation examples, and props.