Components Forms
Input group
Text, an icon or a button before or after an input.
$ pyblade ui:add input-group
Before and after
Props
Written as attributes of <pb-ui.input-group>; put a colon before one to pass it a Python value, as in :items="items". A slot is written <pb-slot:name>.
| Name | Type | Default | Description |
|---|---|---|---|
| start | slot | "" | What comes before the input |
| end | slot | "" | What comes after it |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |