InputGroup

Addons inside the pill: text, icons, a ghost circle or a key cap, sharing one focus halo.

View source
https:///v1
import { InputGroup } from "@logicplanes/kaeso-ui";

Props

  • disabled
    boolean

    Turns off every control in the group.

  • invalid
    boolean

    Shows the whole group as invalid.

  • leadingIcon
    boolean

    Leading content is an icon: the left padding drops by 2px (optical).

  • readOnly
    boolean

    Shows the value without letting people change it.

  • size
    "md" | "sm" | "lg" | "xl" = md

    The height of the group.

  • trailingButton
    boolean

    Trailing content is a button: the right padding drops so the circle sits concentric in the pill.