Alert

Display important messages and notifications to users.

Installation

npm install fuyukaki-ui

Usage

import { Alert, AlertTitle, AlertDescription } from 'fuyukaki-ui'

function App() {
  return (
    <Alert>
      <AlertTitle>Alert Title</AlertTitle>
      <AlertDescription>
        Alert description
      </AlertDescription>
    </Alert>
  )
}

Variants

Props

PropTypeDefault
variant'default' | 'info' | 'success' | 'warning' | 'danger''default'