# Layout components for React & shadcn/ui

> Free React accordions, collapsibles, carousels, resizable panels, scroll areas and aspect ratio boxes for shadcn/ui, with height motion you can reverse.

Canonical: https://hextaui.com/components/layout
Last updated: 2026-11-14

Components that arrange and reveal content: accordions and collapsibles with height motion you can reverse mid-way, a scroll-snap carousel, resizable split panels, scroll areas with edge fades, aspect ratio boxes and separators.

Closed panels stay searchable with the browser’s find, and nothing jumps when content loads in.

## What each one does

- [Accordion](https://hextaui.com/docs/accordion) - Stacked headings that each reveal a panel, with height motion you can reverse mid-way and panels that stay searchable while closed.
- [Aspect ratio](https://hextaui.com/docs/aspect-ratio) - A box that holds its shape before media loads, shimmers while loading, fades the media in and falls back when it fails.
- [Carousel](https://hextaui.com/docs/carousel) - Native scroll-snap slides with momentum on touch, mouse dragging, arrow keys, dots, thumbnails and an autoplay that pauses when it should.
- [Collapsible](https://hextaui.com/docs/collapsible) - A panel that shows and hides with height motion you can reverse mid-way, without jumping the layout.
- [Resizable](https://hextaui.com/docs/resizable) - Panels you can drag apart, with a quiet divider that wakes up on hover, sizes that glide on reset or collapse, and layouts that persist.
- [Scroll area](https://hextaui.com/docs/scroll-area) - Native scrolling with a minimal scrollbar, edges that fade only where there’s more to see, and an optional peek that cuts the last item in half.
- [Separator](https://hextaui.com/docs/separator) - A hairline that divides content horizontally or vertically, with an optional label and a decorative mode for purely visual lines.

## Built into Pro blocks

Blocks for AI products that are built from these components.

- [Storefront](https://hextaui.com/blocks/storefront) - A complete store built from the HextaUI commerce blocks. Handles browsing, filters, the bag, checkout and order tracking on one shared store.
- [Agent Todos](https://hextaui.com/blocks/agent-todos) - The plan an agent keeps while it works, one line per step. Handles steps in progress, failed steps and plan changes mid-run.
- [Chat Sidebar](https://hextaui.com/blocks/chat-sidebar) - The sidebar of a chat app, with pinned chats, projects and recents. Handles rename in place, delete with undo and chats still replying.
- [Integrations](https://hextaui.com/blocks/integrations) - The Connections page of an AI app, for MCP servers and built-in integrations. Handles sign-in, failing servers and which tools the assistant may use.
- [Memory](https://hextaui.com/blocks/memory) - Where people see and edit what an AI assistant remembers, grouped by category with the chats it came from. Edits, undo and pause all move smoothly.
- [Model Compare](https://hextaui.com/blocks/model-compare) - Send one prompt to two to four models at once and compare answers, speed and cost side by side, with diffs, blind voting and follow-ups.

## Related

- [Form components](https://hextaui.com/components/forms) - Free React form components for shadcn/ui on Base UI: inputs, selects, comboboxes, date pickers, OTP fields and validation that shakes, counts and explains.
- [Overlay components](https://hextaui.com/components/overlays) - Free React dialogs, sheets, drawers, popovers, menus, tooltips and a command palette for shadcn/ui, with focus handled and motion you can interrupt.
- [Data display components](https://hextaui.com/components/data-display) - Free React tables, data tables, charts, trees, cards, badges, avatars and animated numbers for shadcn/ui, built on Base UI and Tailwind CSS.
- [Feedback components](https://hextaui.com/components/feedback) - Free React toasts, alerts, progress bars, spinners, skeletons and empty states for shadcn/ui, with loading that waits before it shows and announces changes.
- [Chat UI components](https://hextaui.com/components/chat) - Free React chat UI components for shadcn/ui: messages, bubbles, a message scroller that follows streaming replies, attachments and date markers.
- [Navigation components](https://hextaui.com/components/navigation) - Free React sidebars, tabs, breadcrumbs, pagination and navigation menus for shadcn/ui on Base UI, with keyboard support and right-to-left layouts.
- [Button and action components](https://hextaui.com/components/actions) - Free React buttons, button groups, toggles and toggle groups for shadcn/ui, with loading, success and error states built into the button.
