All Buttons
Description
The All Buttons component is a collection of customizable buttons based on the Mary UI button component. It offers different styles including default, outline, and flat variations.
Parameters
Name | Type | Default | Description |
---|---|---|---|
outline | boolean | false | When set to true, applies an outline style to the button. |
flat | boolean | false | When set to true, applies a flat style to the button. |
attributes | array | [] | Additional HTML attributes to be applied to the button. |
slot | string | The content to be displayed within the button. | |
class | string | font-normal text-lg px-6 !shadow-none | The base CSS classes applied to the button. These classes are extended based on the button style. |
Example
Solid
Outline
Flat
Primary Button
Primary Button
Primary Button
Secondary Button
Secondary Button
Secondary Button
Messages
Messages