x
1
<button class="inline-flex items-center justify-center gap-2 rounded-lg cursor-pointer disabled:cursor-not-allowed disabled:opacity-75 border border-blue-700 bg-blue-700 text-white hover:bg-blue-600 focus:ring-3 focus:ring-blue-400/50 active:border-blue-700 active:bg-blue-700 dark:focus:ring-blue-400/90 px-4 py-2 text-sm leading-6 font-semibold"><span>Button</span></button>
Param Description Input

Becomes <a> tag when provided

1
2
3
4
5
6
7
8
9
10
11
12
render ui.button(text,
style: style,
variant: variant,
size: size,
width: width,
pill: pill,
icon_left: icon_left,
icon_right: icon_right,
icon: icon,
disabled: disabled,
href: href
)