

Every state


default


focus


checking


available


taken


disabled
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| id | string | "shop-address" | Input id. |
| name | string | "slug" | Form field name. |
| label | string | "Shop address" | Visible label. |
| domain | string | "makers.market/" | Fixed part before the slug. |
| placeholder | string | "your-shop" | Placeholder slug, also used in the preview line. |
| defaultValue | string | – | Starting slug. |
| checkAvailable | (slug: string) => Promise<boolean> | – | Resolves true when the slug is free; the default checks a short local list. |
| status | "idle" | "checking" | "available" | "taken" | "invalid" | – | Starting state, e.g. a value the server already checked. |
| minLength | number | 3 | Shortest slug allowed. |
| disabled | boolean | – | Disables the field. |
| className | string | – | Extra classes on the outer Field. |
More input groups
All 14input-group-12 is in UI ProGet UI Pro, €199


