Skip to content

Alert

View on: 

Calls out important messages and notifications.

Import



BundlerCDNReact Legacy
import '@kemet-ui/alert';
<script type="module" src="https://unpkg.com/kemet-ui@latest/dist/elements/alert.js"></script>
import { KemetAlert } from 'kemet-ui/react';


By default, the alert is closed because it’s expected to be triggered by demand. Set the opened attribute to display the alert.

Use the closable attribute to make the alert closable.

You can change the color of the alert to any of the appearance colors.

You can add a border to any side of the alert.

Alert supports the standard rounded sizes.

You can invert the colors of the alert by setting the filled attribute.








The gods are nature. Nature is completely free.
Version 5.0.0