shadimage
quill
blockalertssource: ok · hit

Alert stack

A vertical stack of informational, success, and destructive alerts with icons.

npx shadcn add "https://www.quilldesignsystem.com/r/alerts.json"
free

No selection tags yet — empty means no evidence, not lack of support.

Dependencies

Bundle weight · light

Registry dependencies

alerthttps://www.quilldesignsystem.com/r/icon.json

Files1 · source cached 10/15/2026, 6:56:33 AM

registry/blocks/alerts.tsx
import { Alert, AlertTitle, AlertDescription } from '@/components/ui/alert'
import { Icon } from '@/components/ui/icon'

/** A vertical stack of informational, success, and destructive alerts with icons. */
export function Alerts() {
  return (
    <div className="flex max-w-lg flex-col gap-4">
      <Alert>
        <Icon name="info" size={18} />
        <AlertTitle>Heads up</AlertTitle>
        <AlertDescription>Your trial ends in 3 days — upgrade to keep your projects.</AlertDescription>
      </Alert>
      <Alert>
        <Icon name="check_circle" size={18} />
        <AlertTitle>Changes saved</AlertTitle>
        <AlertDescription>Your profile has been updated successfully.</AlertDescription>
      </Alert>
      <Alert variant="destructive">
        <Icon name="warning" size={18} />
        <AlertTitle>Payment failed</AlertTitle>
        <AlertDescription>We couldn’t process your card. Update your billing details.</AlertDescription>
      </Alert>
    </div>
  )
}

More from quill

Browse all components in this library →