Design System v1.0

Input group

Attach icons, text, or buttons to an input.

Add-ons

A leading icon, a trailing unit, and a trailing action button.

kWh

API reference

An input with attached add-ons. Wrap an InputGroupInput (or Textarea) with InputGroupAddon slots holding icons, text, or buttons.

Anatomy
InputGroupBordered container that visually merges the control and add-ons.
InputGroupAddonAn add-on slot; align sets inline/block start or end.
InputGroupButtonA compact button inside an add-on.
InputGroupTextMuted text inside an add-on (e.g. a unit like kWh).
InputGroupInputThe text input control inside the group.
InputGroupTextareaA multi-line control variant inside the group.
Props
PartPropTypeDefault
InputGroupalign"inline-start" | "inline-end" | "block-start" | "block-end""inline-start"

Command Palette

Search for a command to run...