oui

Text Area

Forms 5

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

    6
  • Number Field

    Number Field

  • Popover

    Popover

  • Select

    Select

  • Keyboard

    Keyboard

  • Dialog

    Dialog

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Login 1

    Login 1

    53
  • Form

    Form

    137
  • Card Studio

    Card Studio

    41
  • SignInPage

    SignInPage

    667
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K