2.2.2 • Published 6 months ago

@nextpy/alert v2.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@chakra-ui/alert

Alerts visually highlight important content for the user. They can contain a title, an icon and content. Each intent has a default icon associated with it.

Installation

yarn add @chakra-ui/alert

# or

npm i @chakra-ui/alert

Import components

import {
  Alert,
  AlertTitle,
  AlertIcon,
  AlertDescription,
} from "@chakra-ui/alert"

Basic usage

<Alert status="error" variant="solid" justifyContent="center">
  <AlertIcon />
  <AlertTitle>Your browser is outdated!</AlertTitle>
  <AlertDescription>Your Chakra experience may be degraded.</AlertDescription>
</Alert>