Expand description
Tablo’s button: a variant for its weight, a size for its height. The markup carries
data-slot="button", data-tone and data-size, which each theme’s skin keys on.
Structs§
- Button
Props - A
<button>; itstypeis the browser’s default unlessattrsnames one. - Button
Props Builder - Typestate builder for
ButtonProps, created byButtonProps::builder().build()becomes available once every required property has been set. - button
- A
<button>; itstypeis the browser’s default unlessattrsnames one.
Enums§
- Button
Size - How tall a button is.
- Button
Variant - How much a button weighs on its page.
Functions§
- button_
variants - The classes of a button, for a link or a summary that reads as one. Give the element
data-slot="button"and the variant’sdata-tonetoo, so each theme’s skin reaches it.