← 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.
| Argument | Type | Default | Description |
|---|---|---|---|
| ... | shiny.tag | tagList | required | Children elements (addons and block input). |
| class | character | NULL | Custom stylesheet class. |
block_input_group_addon()
Wraps text, badges, or svg glyphs to merge adjacent to text input elements.
| Argument | Type | Default | Description |
|---|---|---|---|
| ... | shiny.tag | tagList | required | UI content text, icon or badge addon. |
| position | 'leading' | 'trailing' | required | Addon slot placement alignment sides. |