Textarea 9

PreviousNext

A filled textarea with muted background and transparent border styling

Docs
shadcn-studiocomponent

Preview

Loading preview…
registry/new-york/components/textarea/textarea-09.tsx
import { useId } from 'react'

import { Label } from '@/registry/new-york/ui/label'
import { Textarea } from '@/registry/new-york/ui/textarea'

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

  return (
    <div className='w-full max-w-xs space-y-2'>
      <Label htmlFor={id}>Filled Textarea</Label>
      <Textarea className='bg-muted border-transparent shadow-none' placeholder='Type your feedback here' id={id} />
    </div>
  )
}

export default TextareaFilledDemo

Installation

npx shadcn@latest add @shadcn-studio/textarea-09

Usage

import { Textarea09 } from "@/components/textarea-09"
<Textarea09 />