InputGroup
This documentation provides a comprehensive reference for the
InputGroup component, guiding you through its configuration options.Screenshot #

InputGroup Parameters #
| Name | Type | Default | Required | Description | Added Version |
|---|---|---|---|---|---|
| AdditionalAttributes | Dictionary<string, object>? | null | Gets or sets additional attributes that will be applied to the component. | 4.1.0 | |
| ChildContent | RenderFragment? | null | Gets or sets the content of the input group: inputs and add-ons in display order. | 4.1.0 | |
| Class | string? | null | Gets or sets the CSS class name(s) to apply to the component. | 4.1.0 | |
| Id | string? | null | Gets or sets the ID. If not set, a unique ID will be generated. | 4.1.0 | |
| NoWrap | bool | False | Gets or sets whether the input group stays on one line instead of wrapping its children. | 4.1.0 | |
| Size | InputGroupSize | Default | Gets or sets the size of the input group. The size applies to every input and add-on in the group. | 4.1.0 | |
| Style | string? | null | Gets or sets the CSS style string that defines the inline styles for the component. | 4.1.0 |
InputGroupText Parameters #
| Name | Type | Default | Required | Description | Added Version |
|---|---|---|---|---|---|
| AdditionalAttributes | Dictionary<string, object>? | null | Gets or sets additional attributes that will be applied to the component. | 4.1.0 | |
| ChildContent | RenderFragment? | null | Gets or sets the content of the add-on, such as text, an icon, or a checkbox or radio input. | 4.1.0 | |
| Class | string? | null | Gets or sets the CSS class name(s) to apply to the component. | 4.1.0 | |
| For | string? | null | Gets or sets the id of the input this add-on labels. When set, the add-on renders as a label element linked to that input; otherwise it renders as a span. | 4.1.0 | |
| Id | string? | null | Gets or sets the ID. If not set, a unique ID will be generated. | 4.1.0 | |
| Style | string? | null | Gets or sets the CSS style string that defines the inline styles for the component. | 4.1.0 |