Button
Last modified by Pierre Jeanjean on 2024/10/28 10:45
Implementations
<x-btn variant="default">default</x-btn>
<x-btn variant="primary">primary</x-btn>
<x-btn variant="success">success</x-btn>
<x-btn variant="neutral">neutral</x-btn>
<x-btn variant="warning">warning</x-btn>
<x-btn variant="danger">danger</x-btn>
<x-btn variant="primary">primary</x-btn>
<x-btn variant="success">success</x-btn>
<x-btn variant="neutral">neutral</x-btn>
<x-btn variant="warning">warning</x-btn>
<x-btn variant="danger">danger</x-btn>
Vuetify
Shoelace
API
/**
* Props for the btn component.
*
* @since 0.11
*/
type BtnProps = {
variant?:
| "default"
| "primary"
| "success"
| "neutral"
| "warning"
| "danger";
};
* Props for the btn component.
*
* @since 0.11
*/
type BtnProps = {
variant?:
| "default"
| "primary"
| "success"
| "neutral"
| "warning"
| "danger";
};