---
site: ui.zyx.tw
url: https://ui.zyx.tw/input
title: Input
description: "Text input, 40px tall to match Button."
---

# Input

Text input, 40px tall to match Button.

Group: Controls.

## Install

```bash
bunx shadcn@latest init https://ui.zyx.tw/r/base.json
bunx shadcn@latest add @zyx1121/input
```

The first line sets a project up on the base; skip it if the project already has it.

## Item

### Input (`input`)

Text input, 40px tall to match Button.

- Install: `bunx shadcn@latest add https://ui.zyx.tw/r/input.json`
- JSON: [input.json](https://ui.zyx.tw/r/input.json)
- Page: [https://ui.zyx.tw/input](https://ui.zyx.tw/input) ([Markdown](https://ui.zyx.tw/input.md))
- npm dependencies: `@base-ui/react`, `cn`
- Registry dependencies: `https://ui.zyx.tw/r/utils.json`, `https://ui.zyx.tw/r/frame.json`, `https://ui.zyx.tw/r/field-trigger.json`

## More

- [Index](https://ui.zyx.tw/index.md): every item
- [Agent instructions](https://ui.zyx.tw/agent-instructions.md): the call order and the rules
- [DESIGN.md](https://github.com/zyx1121/www.zyx.tw/blob/main/apps/ui/DESIGN.md): the design contract
