The InputGroup component wraps one or more inputs alongside prefix/suffix add-ons such as icons, labels, or buttons, creating a visually joined composite field. Nettalco Theme styles the add-on element through its ownDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Nettalco/nettalco-theme/llms.txt
Use this file to discover all available pages before exploring further.
addon token section, which deliberately mirrors form.field values so the add-on appears seamlessly fused with the adjacent input.
Usage
Design Tokens
Addon
| Token | Value | Description |
|---|---|---|
addon.background | {form.field.background} | Addon background (matches the input field) |
addon.borderColor | {form.field.border.color} | Addon border color (matches the input field) |
addon.color | {form.field.icon.color} | Addon content color (icon/text) |
addon.borderRadius | {form.field.border.radius} | Corner radius for outer edges of the addon |
addon.padding | 0.5rem | Internal padding of the addon slot |
addon.minWidth | 2.5rem | Minimum width to ensure square icon addons |
Theme Notes
The addon’s
background, borderColor, and borderRadius all reference the same form.field.* tokens as the adjacent input. This means the add-on will automatically adapt to any customizations you make to the base form field tokens.addon.color resolves to {form.field.icon.color}, which is {surface.400} in light mode and {surface.400} in dark mode. Use a custom CSS override or a theme extension if you need the addon text to have a higher-contrast color than the icon default.