Skip to content

LiWE3 Svelte Button

Properties

Name Type Default Description
size Size 'md' Button size
cssClass string '' Custom CSS classes
mode Color 'mode1' Button color mode
variant Variant 'solid' Button variant
icon IconSource null Button icon
iconRight IconSource null Button icon right
solid boolean true Button solid
disabled boolean false Button disabled

Events

Name prototype Description
onclick (e: MouseEvent) => void Button click event