Skip to content

Alert

Displays a callout for user attention.

Usage

vue
<script setup lang="ts">
import { Alert } from '@youcan/ui-vue3';
</script>

<template>
  <Alert type="success">
    <template #title>
      Profile Updated
    </template>
    <template #description>
      Your profile information has been successfully updated.
    </template>
  </Alert>
</template>

API Reference