---
title: Input Group
description: A wrapper for composing inputs with icons, affixes, and other elements.
---
## Installation
CLIManual
```bash
npx @olyx/cli@latest add input-group
```
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"
import { InputWrapper, InputIcon, InputAffix } from "@/components/ui/input-group"
```
```tsx
```
## API Reference
#### InputWrapper
Container that wraps an input with icons and affixes. Renders as a `