Alert 29

PreviousNext

Solid info alert with full blue background for prominent informational messages.

Docs
shadcn-studiocomponent

Preview

Loading preview…
registry/new-york/components/alert/alert-29.tsx
import { CircleAlertIcon } from 'lucide-react'

import { Alert, AlertTitle, AlertDescription } from '@/registry/new-york/ui/alert'

const AlertSolidInfoDemo = () => {
  return (
    <Alert className='border-none bg-sky-600 text-white dark:bg-sky-400'>
      <CircleAlertIcon />
      <AlertTitle>Your profile is visible</AlertTitle>
      <AlertDescription className='text-white/80'>Anyone can view your basic information.</AlertDescription>
    </Alert>
  )
}

export default AlertSolidInfoDemo

Installation

npx shadcn@latest add @shadcn-studio/alert-29

Usage

import { Alert29 } from "@/components/alert-29"
<Alert29 />