Button
Use this component when you want to provide users the ability to perform specific actions, like saving data.
The URL to link to. If set, it will navigate to the location specified by href
after executing the callback.
A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
Use this when using only an icon or the button text is not enough context for users using assistive technologies.
Disables the button, disallowing any interaction.
Tells browsers to download the linked resource instead of navigating to it. Optionally accepts filename value to rename file.
A unique identifier for the button.
Alias for language
Indicate the text language. Useful when the text is in a different language than the rest of the page. It will allow assistive technologies such as screen readers to invoke the correct pronunciation. Reference of values ("subtag" label)
Callback when focus is removed.
Callback when a link is pressed. If href
is set, it will execute the callback and then navigate to the location specified by href
.
Callback when input is focused.
Alias for Callback when a link is pressed. If
href
is set, it will execute the callback and then navigate to the location specified by href
.
Specifies where to display the linked URL
Alias for href
If set, it will navigate to the location specified by to
after executing the callback.
Sets the color treatment of the Button.
Changes the visual appearance of the Button.
A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
Use this when using only an icon or the button text is not enough context for users using assistive technologies.
Sets the semantic meaning of the component’s content. When set, the role will be used by assistive technologies to help users navigate the page.
Disables the button, disallowing any interaction.
A unique identifier for the button.
Alias for language
Indicate the text language. Useful when the text is in a different language than the rest of the page. It will allow assistive technologies such as screen readers to invoke the correct pronunciation. Reference of values ("subtag" label)
Callback when focus is removed.
Callback when a link is pressed. If href
is set, it will execute the callback and then navigate to the location specified by href
.
Callback when input is focused.
Alias for Callback when a button is pressed. If
href
is set, it will execute the callback and then navigate to the location specified by href
.
Sets the color treatment of the Button.
Changes the visual appearance of the Button.
Add a simple button to your app.
Preview
