@nextpy/alert
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • Public • Published

@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>

/@nextpy/alert/

    Package Sidebar

    Install

    npm i @nextpy/alert

    Weekly Downloads

    0

    Version

    2.2.2

    License

    MIT

    Unpacked Size

    93.4 kB

    Total Files

    57

    Last publish

    Collaborators

    • nextpy