Components Actions
Button link
A link that looks like a button, for when it goes somewhere.
$ pyblade ui:add button-link
Links as buttons
Props
Written as attributes of <pb-ui.button-link>; 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 |
|---|---|---|---|
| href | str | "#" | Where it goes |
| variant | str | "primary" | primary, secondary, neutral, outline, ghost, link, error |
| size | str | "md" | sm, md, lg or icon |
| class | str | "" | Added to the classes of the component. Every other attribute is spread on it too. |