Documentation

Radius

Buttons are an essential part of any application. Actions can have different shapes using the rounded prop.

Default shape of all <BaseButtonAction> can be set in your <app>/app.config.ts.
Show code
vue

Color:muted

Actions can have different colors. The following example shows a muted button.

Show code
vue

Color:primary

Actions can have different colors. The following example shows a primary button.

Show code
vue

Color:info

Actions can have different colors. The following example shows a info button.

Show code
vue

Color:success

Actions can have different colors. The following example shows a success button.

Show code
vue

Color:warning

Actions can have different colors. The following example shows a warning button.

Show code
vue

Color:danger

Actions can have different colors. The following example shows a danger button.

Show code
vue

State:disabled

Actions can be shown in a disabled state. Use the disabled prop to show a disabled button.

Show code
vue

State:loading

Actions can be shown in a loading state. Use the loading prop to show a loading indicator.

Show code
vue

Group

Actions can be grouped into a single element using the BaseButtonGroup component.

Show code
vue
disabled
Whether the button is disabled.
Show example
vue
href
Using href instead of to result in a native anchor with no router functionality.
Show example
vue
loading
Whether the button is in a loading state.
Show example
vue
rel
The value for the `rel` attribute on the button.
Show example
vue
target
The value for the `target` attribute on the button.
Show example
vue
to
The route to navigate to when the button is clicked.
Show example
vue
type
The type of button.
Show example
vue
color
The color of the button.
Show example
vue
rounded
The radius of the button.

@since

2.0.0

Show example
vue
#default
This slot has no inherted props
Show example
vue
color
The color of the button.
Show example
vue
rounded
The radius of the button.
Show example
vue