jshguo

Textarea

Forms 258

About

Multi-line text input component with auto-sizing and validation states.

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

Code

How Textarea 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/interfaces-textarea"

export default function TextareaDemo() {
  return (
    <div className="flex w-full min-h-screen items-center justify-center bg-background p-8 overflow-hidden">
      <div className="w-full max-w-md space-y-4">
        <Textarea placeholder="Type your message here..." rows={4} />
      </div>
    </div>
  )
}

More by jshguo

View all
  • Progress

    Progress

    426
  • Select

    Select

    369
  • Interfaces Carousel

    Interfaces Carousel

    160
  • Input OTP

    Input OTP

    159
  • Switch

    Switch

    136
  • Hover Card

    Hover Card

    109
  • Card

    Card

    85
  • Interfaces Breadcrumb

    Interfaces Breadcrumb

    63

More in Forms

View all
  • Premium Auth

    Premium Auth

    497
  • Login 2

    Login 2

    7
  • Authentication Card

    Authentication Card

    45
  • Login 1

    Login 1

    52
  • Contact Card

    Contact Card

    1K
  • Form

    Form

    16
  • Form

    Form

    136
  • Card Studio

    Card Studio

    41