CloseButton
Use CloseButton to render an `×` without default button styles.
On this page
v0.33.0BetaNot reviewed for accessibility
Description
Use CloseButton
to render an ×
without default button styles.
Accessibility
CloseButton
has a default aria-label
of "Close" to provides assistive technologies with an accessible label.
You may choose to override this label with something more descriptive via [system_arguments][0].
Arguments
Name | Type | Default | Description |
---|---|---|---|
type | Symbol |
| One of |
disabled | Boolean |
| Whether or not the button is disabled. |
system_arguments | Hash | N/A |