CloseButton
ready
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
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 | Default | Description |
|---|---|---|
type | SymbolOne of | |
disabled | BooleanWhether or not the button is disabled. | |
system_arguments | Hash |