Park UI

Alert

A component for displaying important notifications and feedback messages.

This is a title

Installation

Usage

Examples

Description

Render the Alert.Description component to provide additional context to the alert.

This is a title

This is a description

Status

Change the status of the alerts by passing the status prop. This affects the color scheme and icon used.

This is a title

This is a description

This is a title

This is a description

This is a title

This is a description

This is a title

This is a description

This is a title

This is a description

Variants

Use the variant prop to change the visual style of the alert.

This is a title

This is a description

This is a title

This is a description

This is a title

This is a description

This is a title

This is a description

Sizes

Use the size prop to change the size of the alert.

This is a title

This is a description

This is a title

This is a description

Closable

Here's an example of how to compose the Alert with a close button.

This is a title

This is a description

Closed Component

Here's an example of a closed alert that can be opened with a button.

Props