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

Color:muted

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

Show code

Color:primary

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

Show code

Color:info

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

Show code

Color:success

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

Show code

Color:warning

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

Show code

Color:danger

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

Show code

State:disabled

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

Show code

State:loading

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

Show code

Group

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

Show code
rounded
The radius of the button.

@since

2.0.0

@default

'sm'

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

@default

'default'

Show example
loading
Whether the button is in a loading state.
Show example
disabled
Whether the button is disabled.
Show example
#default
Show example