Docs
Alert

Alert

Displays a callout for user attention.

Installation

	npx shadcn-svelte@next add alert

Usage

	<script lang="ts">
  import * as Alert from "$lib/components/ui/alert/index.js";
</script>
 
<Alert.Root>
  <Alert.Title>Heads up!</Alert.Title>
  <Alert.Description>
    You can add components to your app using the cli.
  </Alert.Description>
</Alert.Root>

Examples

Default

Destructive