Components Display
Spinner
Says something is loading.
$ pyblade ui:add spinner
Sizes, and in a button
Props
Written as attributes of <pb-ui.spinner>; 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 |
|---|---|---|---|
| size | str | "md" | sm, md or lg |
| label | str | "Loading" | What screen readers say |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |