---
title: Input
description: A styled text input for forms and data entry.
links:
doc: https://base-ui.com/react/components/input#api-reference
---
## Preview
## Installation
CLIManual
```bash
npx @olyx/cli@latest add input
```
Install the following dependencies:
```bash
npm install @base-ui/react
```
Copy and paste the following code into your project.Update the import paths to match your project setup.
## Usage
```tsx
import { Input } from "@/components/ui/input"
```
```tsx
```
## API Reference
#### Input
Styled wrapper for `Input` from Base UI.
All props from [Base UI Input](https://base-ui.com/react/components/input#api-reference) are supported.
## Examples
For accessible labelling and validation, prefer using the `Field` component to wrap inputs. See [related examples](/docs/components/field).
### Disabled
### With Label