Docs
Alert

Alert

Displays a callout for user attention.

Loading...

Installation

	npx svell@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...

Built & designed by shadcn. Ported to Svelte by netronk. The source code is available on GitHub.