← Back to Components

Input Group

Unified input control wrapping leading/trailing addon elements.

Interactive Playground

R Code

API Reference

block_input_group()

Fuses single-line text inputs together with adjacent labels or icon boxes.

ArgumentTypeDefaultDescription
...shiny.tag | tagListrequiredChildren elements (addons and block input).
classcharacterNULLCustom stylesheet class.

block_input_group_addon()

Wraps text, badges, or svg glyphs to merge adjacent to text input elements.

ArgumentTypeDefaultDescription
...shiny.tag | tagListrequiredUI content text, icon or badge addon.
position'leading' | 'trailing'requiredAddon slot placement alignment sides.