Skip to content
FormsFree

Input Group

Groups an input with leading/trailing addons — icons, buttons, or text.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { InputGroup, InputGroupAddon } from "@wunderui/react"

Examples

Addons

Leading icon, trailing badge, text prefix — one border, one focus ring.

⌘K
https://

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

Coupon code

A code field with an icon and an Apply button inside one border; a valid code lowers the total.

Order summary
2 items · try the code FALL20
Subtotal$827
Total$827

API Reference

PropTypeDefault
classNamestring—