Alert blocks are used to display important messages, warnings, or information to users with distinct visual styling.
<AlertBlock variant="warning">
Your message here
</AlertBlock>| Prop | Type | Default | Description |
|---|---|---|---|
| variant | String | info | The variant of the alert: info, warning, success, or danger |
The AlertBlock component supports 4 different variants:
variant="info"variant="warning"variant="success"variant="danger"<template>
<div>
<AlertBlock variant="info">
Your informational message here
</AlertBlock>
<AlertBlock variant="warning">
Your warning message here
</AlertBlock>
</div>
</template><template>
<AlertBlock variant="warning">
<div class="flex items-center gap-20px">
<div class="flex-1">
Your message with additional content
</div>
<div class="flex-shrink-0">
<button class="btn color">Action</button>
</div>
</div>
</AlertBlock>
</template>Even if you don't wish to offer your project file for sale, you still need to upload it for verification.
Our team uses this to ensure everything is in order.