Socket
Socket
Sign inDemoInstall

@chakra-ui/alert

Package Overview
Dependencies
4
Maintainers
2
Versions
459
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @chakra-ui/alert

A React component used to alert users of a particular screen area that needs user action


Version published
Maintainers
2
Created

Readme

Source

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

Keywords

FAQs

Last updated on 18 Jul 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc