The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
---
title: Expanding Textarea
description: Displays a textarea which autoexpands (or shrinks) based on its content.
component: true
source:
shadcn: true
---
<ComponentPreview name="expanding-textarea-demo" peekCode wide />
## Usage
```tsx
import { ExpandingTextArea } from 'ui'
```
```tsx
<ExpandingTextArea />
```
## Examples
### Default
<ComponentPreview name="expanding-textarea-demo" peekCode wide />