jshguo

Textarea

Forms 261

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

    429
  • Select

    Select

    376
  • Interfaces Carousel

    Interfaces Carousel

    163
  • Input OTP

    Input OTP

    161
  • Switch

    Switch

    139
  • Hover Card

    Hover Card

    112
  • Card

    Card

    88
  • Interfaces Breadcrumb

    Interfaces Breadcrumb

    64

More in Forms

View all
  • Premium Auth

    Premium Auth

    567
  • Login 2

    Login 2

    12
  • Form

    Form

    139
  • Book A Demo 1

    Book A Demo 1

    90
  • Authentication Card

    Authentication Card

    51
  • Contact Card

    Contact Card

    1.1K
  • Card Studio

    Card Studio

    46
  • Login 1

    Login 1

    62