oui

Text Area

Forms 4

About

A multi-line text input built on React Aria Components with shadcn styling, for use inside a text field with label, description, and validation.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Text Area to your project and fits it to your theme.

Code

How Text Area is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { TextArea } from "@/components/ui/oui-text-area";
import { Label, TextField } from "react-aria-components";

export default function Demo() {
  return (
    <TextField className="flex w-full max-w-sm flex-col gap-2">
      <Label className="text-sm font-medium">Bio</Label>
      <TextArea
        className="resize-none"
        placeholder="Tell us a little bit about yourself"
        rows={4}
      />
    </TextField>
  );
}

Dependencies

More by oui

View all
  • Text Field

    Text Field

    5
  • Number Field

    Number Field

  • Popover

    Popover

  • Select

    Select

  • Keyboard

    Keyboard

  • Dialog

    Dialog

More in Forms

View all
  • Premium Auth

    Premium Auth

    500
  • Login 1

    Login 1

    52
  • Book A Demo 3

    Book A Demo 3

    83
  • Authentication Card

    Authentication Card

    47
  • Book A Demo 1

    Book A Demo 1

    69
  • Contact Card

    Contact Card

    1K
  • Login Card

    Login Card

    32
  • Login 2

    Login 2

    7