# In Form

> Labeled text input with a supporting description line below the field.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/input-11).

- Page, with a live preview: https://shadcn.exchange/r/flx/input-11
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/input-11-light-7f19b69e1a891c79.png
- Registry item: https://ui.flexnative.com/r/input-11.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/input-11.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `input`, `field`

## Files

### `registry/patterns/input/input-11.tsx`

```tsx
import {
  Field,
  FieldDescription,
  FieldGroup,
  FieldLabel,
} from '@/components/ui/field'
import { Input } from '@/components/ui/input'

export function Input11() {
  return (
    <FieldGroup className="w-full max-w-sm">
      <Field>
        <FieldLabel htmlFor="display-name-input">Display name</FieldLabel>
        <Input
          id="display-name-input"
          placeholder="Enter your name"
          defaultValue="shadcn"
        />
        <FieldDescription>
          Shown on your profile and in comments you post.
        </FieldDescription>
      </Field>
    </FieldGroup>
  )
}
```
