Skip to content
GitHub

Input Group

Group input elements together.

Installation

Usage

Align

Use the align prop to change the alignment of the input group.

inline-start

Icon positioned at the start.

inline-end

Icon positioned at the end.

block-start

script.js

Header positioned above the textarea.

block-end

0/280

Footer positioned below the textarea.

Size

Use the size prop to change the size of the input group.

Small

Medium

Large

State

Disabled

Invalid

https://

Examples

With Tooltip

With Button

With Menu

With Badge

Available

With Keyboard Shortcut

⌘K

With Inner Label

With Spinner

With Number Field

EUR

With Input Group

Use <FieldGroup /> with textarea to build forms. Combine subject input, message textarea, and action buttons.

script.js

Password Strength Checker

A complete password checker with show/hide toggle, clear button, and real-time strength indicator. A strong password requires at least 8 characters with uppercase, lowercase, number, and special character.

Weak Password

API Reference

InputGroup

Wraps input with optional addons (labels, buttons, icons) on any side.

InputGroupAddon

Holds addon content (labels, buttons, icons) beside the input.

InputGroupButton

Button inside an addon. Typically used for reveal/hide, clear, or search.

InputGroupText

Static text label inside an addon (e.g. currency symbol, unit).

InputGroupInput

Text input. Accepts all native input props.

InputGroupTextarea

Multi-line text input. Accepts all native textarea props.