text-field-with-description

PreviousNext
Docs
takiexample

Preview

Loading preview…
registry/new-york/examples/text-field-with-description.tsx
import { TextField } from "@/registry/new-york/ui/text-field"

export default function TextFieldWithDescription() {
  return (
    <div className="grid w-full max-w-md gap-4">
      <TextField
        label="Email"
        description="We'll never share your email with anyone else."
        placeholder="you@example.com"
        type="email"
      />
    </div>
  )
}

Installation

npx shadcn@latest add @taki/text-field-with-description

Usage

import { TextFieldWithDescription } from "@/components/text-field-with-description"
<TextFieldWithDescription />