--- layout: layouts/page.njk title: Input Group description: Display additional information or actions to an input or textarea. toc: - label: Usage id: usage - label: Examples id: examples children: - label: Icon id: example-icon - label: Text id: example-text - label: Button id: example-button - label: Tooltip id: example-tooltip - label: Textarea id: example-textarea - label: Spinner id: example-spinner - label: Dropdown id: example-dropdown - label: Group id: example-group --- {% from "macros/code_preview.njk" import code_preview %} {% from "macros/code_block.njk" import code_block %} {% from "dropdown-menu.njk" import dropdown_menu %} {% from "popover.njk" import popover %}
Input groups are pure HTML composition using Tailwind utility classes. There is no dedicated component: use relative positioning on a wrapper, add your content with absolute positioning, and adjust input padding to make room.
Browse the examples below and copy the pattern that fits your needs.
You should not enter any sensitive information on this site.
{% endcall %}