Docs
Alert

Alert

Displays a callout for user attention.

Loading...

Installation

	npx  shadcn-svelte@latest add alert

Usage

	<script lang="ts">
  import * as Alert from "$lib/components/ui/alert";
</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

Loading...

Destructive

Loading...