Clevision

Text Area

Forms 3

About

Here is Textarea component

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

import { useId } from 'react'

import { Label } from '@/components/ui/label'
import { Textarea } from '@/components/ui/textarea'

const TextareaReadOnlyDemo = () => {
  const id = useId()

  return (
    <div className='w-full max-w-xs space-y-2'>
      <Label htmlFor={id}>Read only textarea</Label>
      <Textarea
        className='read-only:bg-muted'
        defaultValue='Read only text'
        placeholder='Type your feedback here'
        id={id}
        readOnly
      />
    </div>
  )
}

export default TextareaReadOnlyDemo

More by Clevision

View all
  • Calendar

    Calendar

    110
  • Card Studio

    Card Studio

    105
  • Collapsible

    Collapsible

    43
  • Button Group

    Button Group

    38
  • Buttons

    Buttons

    34
  • Combobox

    Combobox

    32
  • Logo Cloud

    Logo Cloud

    31
  • Waitlist 01

    Waitlist 01

    31

More in Forms

View all
  • Premium Auth

    Premium Auth

    547
  • Contact Card

    Contact Card

    1.1K
  • Login 2

    Login 2

    10
  • Form

    Form

    17
  • Form

    Form

    20
  • Login 1

    Login 1

    59
  • Authentication Card

    Authentication Card

    50
  • SignInPage

    SignInPage

    718