Alert 23

PreviousNext

Soft success alert with green background and subtle styling for success messages.

Docs
shadcn-studiocomponent

Preview

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

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

const AlertSoftSuccessDemo = () => {
  return (
    <Alert className='border-none bg-green-600/10 text-green-600 dark:bg-green-400/10 dark:text-green-400'>
      <CheckCheckIcon />
      <AlertTitle>File uploaded successfully</AlertTitle>
      <AlertDescription className='text-green-600/80 dark:text-green-400/80'>
        Your document has been saved and is now available in your files.
      </AlertDescription>
    </Alert>
  )
}

export default AlertSoftSuccessDemo

Installation

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

Usage

import { Alert23 } from "@/components/alert-23"
<Alert23 />