Design systém4.2

gov-infobar

Properties

PropertyAttributeDescriptionTypeDefault
accessibleCloseLabelaccessible-close-labelAria label for the closing button. It is mandatory if the infobar is closablestring'Zavřít informační lištu'
accessibleToggleLabelaccessible-toggle-labelAria label for the toggle button. It is mandatory if the infobar has headlinestring'Zobrazit více informací'
closableclosableDisplays the option to close the infobarbooleanfalse
colorcolorStyle variation of the button."error" | "neutral" | "primary" | "secondary" | "success" | "warning"'primary'
roleroleStyle variation of the button.stringundefined
typetypeInfobar appearance"bold" | "subtle""bold"

Events

EventDescriptionType
gov-closeCalled when the close button is clickedCustomEvent<InfobarEvent>

Dependencies

Depends on

Graph


Built with StencilJS