Alerts
To emphasize a point with an alert box, use the uk-alert
class.
Color variations
You can change the color scheme of the alert box by adding the following styles: success
, warning
, or danger
Closable alerts
To add a close button to an alert, use the close-button
parameter in the alert shortcode
Size modifier
To create a large alert with added padding, use the uk-alert-large
style in the alert shortcode.
Badges
You can use badges to highlight a segment of text within your content by using the uk-badge
class
Color variations
You can change the color scheme of the badge by adding the following styles: note
, success
, warning
, or danger
. You can also use the uk-badge-notification
to have a rounded badge, normally used with numbering.