Skip to main content
v7

Resizable

Wraps content with a motion-animated height container that smoothly transitions when content height changes.

Package@g4rcez/componentsSectionPrimitives

Examples

Toggle Content

The container animates its height when content is shown or hidden.

Toggle

Always visible content

Growing List

Add items to a list and watch the container animate its height.

Growing list
  • Item 1
  • Item 2

When to use Resizable

Use when

You need the documented Resizable interaction or presentation in a product workflow.

Avoid when

A native HTML element already provides the Resizable behavior you need.

Accessibility

Keep the Resizable labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.