textarea-with-button

PreviousNext
Docs
takiexample

Preview

Loading preview…
registry/new-york/examples/textarea-with-button.tsx
import { Button } from "@/registry/new-york/ui/button"
import { Textarea } from "@/registry/new-york/ui/textarea"

export default function TextareaWithButton() {
  return (
    <div className="grid w-full gap-2">
      <Textarea placeholder="Type your message here." />
      <Button>Send message</Button>
    </div>
  )
}

Installation

npx shadcn@latest add @taki/textarea-with-button

Usage

import { TextareaWithButton } from "@/components/textarea-with-button"
<TextareaWithButton />