Textarea

Pro

shadcn's textarea in Candor's theme.

Markdown

Preview

Install

With the Candor CLI

First time? Get started sets up the registry and theme. Or with shadcn directly: npx shadcn@latest add @candor/textarea

Brings in: utils

Usage

TSX · The example above
"use client"

import { Textarea } from "@/components/ui/textarea"

export default function Example() {
  return (
    <div className="flex w-full max-w-md flex-col gap-1.5">
      <label htmlFor="example-reason" className="text-sm font-medium">
        Why reject this change?
      </label>
      <Textarea id="example-reason" placeholder="The agent sees this and tries again." />
    </div>
  )
}

<Textarea>

No props.

Also takes the props of React.ComponentProps<"textarea">.