Element: #983 Button addons (inputs/text-field)
What it shows: Two TextFields with a button inside the border: a read-only share link with a copy IconButton and a coupon code with an Apply button.
When to use: A field with its own action: copy a value, apply a code, submit a search, with the button keeping its own name and Tab stop.
Spec:
- `label="Share link" readonly` with `suffix={copyBtn}`: a text-variant small IconButton named "Copy link" ("Link copied" after a click)
- `label="Coupon code"` with `suffix={applyBtn}`: a ghost small Button "Apply", disabled while the field is empty
- The fields are stacked in a column, `max-width: 24rem`, `gap: var(--ca-space-4)`
Tags: input-group, text-field, suffix, addon, button, icon-button, copy, coupon
Needs: @codeatlasdev/ui@4.6.0
Components: Button, IconButton, TextField
Live demo: https://ui.codeatlas.com.br/docs/inputs/text-field#button-addons
{#snippet copyBtn()}