

<Preview name="BasicAutoResizeExample" />

## Overview [#overview]

`AutoResize` animates its height whenever the content inside changes. Use it for panels, accordions, tabs, or any layout that needs smooth height transitions without layout jump.

## Usage [#usage]

```tsx
import { AutoResize } from "@tilt-legal/cubitt-components/primitives";

<AutoResize>
  <div>Dynamic content</div>
</AutoResize>
```
