PyBlade/ui
Menu⌄
DocsComponentsButton link

Button link

A link styled as a button.

1 file

Installation

pyblade-ui add button-link

Usage

The tag <pb-ui.button-link> is available in all your templates.

<pb-ui.button-link href="/docs" variant="secondary">Docs</pb-ui.button-link>

Props

PropDefault
variant'default'
size'default'
href'#'

Any other attribute (class, id, x-on:click, hx-post…) is passed to the root element; your Tailwind classes win over the component's.