Epicenter
Local-first, open source apps
Payment successful
Your payment of $29.99 has been processed. A receipt has been sent to your email address.
New feature available
We've added dark mode support. You can enable it in your account settings.
Installation
Copy and paste the following code into your project.
Usage
<script lang="ts">
import * as Alert from "$lib/components/ui/alert/index.js";
</script> <Alert.Root>
<InfoIcon />
<Alert.Title>Heads up!</Alert.Title>
<Alert.Description>
You can add components and dependencies to your app using the cli.
</Alert.Description>
<Alert.Action>
<Button variant="outline">Enable</Button>
</Alert.Action>
</Alert.Root> Basic
A basic alert with an icon, title and description.
Account updated successfully
Your profile information has been saved. Changes will be reflected immediately.
Destructive
Use variant="destructive" to create a destructive alert.
Payment failed
Your payment could not be processed. Please check your payment method and try again.
Action
Use Alert.Action to add a button or other action element to the alert.
Dark mode is now available
Enable it under your profile settings to get started.
Custom Colors
You can customize the alert colors by adding custom classes such as bg-amber-50 dark:bg-amber-950 to the Alert.Root component.
Your subscription will expire in 3 days.
Renew now to avoid service interruption or upgrade to a paid plan to continue using the service.