# Input with bottom border only

> Input with bottom border only

A shadcn/ui block from the [@reui](https://reui.io) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/c-input-27).

- Page, with a live preview: https://shadcn.exchange/r/reui/c-input-27
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-input-27-light-e9f7fc43607f4e46.png
- Registry item: https://reui.io/r/new-york-v4/c-input-27.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://reui.io/r/new-york-v4/c-input-27.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: `field`, `input`

## Files

### `c-input-27.tsx`

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

export function Pattern() {
  return (
    <Field className="w-full max-w-xs">
      <FieldLabel htmlFor="bottom-border">Bottom Border Only</FieldLabel>
      <Input
        id="bottom-border"
        className="focus-visible:border-primary rounded-none border-x-0 border-t-0 border-b-2 px-0 shadow-none focus-visible:ring-0"
        placeholder="Type here..."
      />
    </Field>
  )
}
```
