Input Text Field

PreviousNext

input-text-field-demo

Docs
intentuipage

Preview

Loading preview…
components/docs/forms/input/input-text-field-demo.tsx
"use client"

import { Description, Label } from "@/components/ui/field"
import { Input } from "@/components/ui/input"
import { TextField } from "@/components/ui/text-field"

export default function InputBasicDemo() {
  return (
    <TextField>
      <Label htmlFor="name">Name</Label>
      <Input id="name" aria-label="Name" placeholder="Your name" />
      <Description>Please enter your full name.</Description>
    </TextField>
  )
}

Installation

npx shadcn@latest add @intentui/input-text-field-demo

Usage

Usage varies by registry entry. Refer to the registry docs or source files below for details.