---
title: Note
description: This section previews the Note component.
date: 14-12-2024
---
The `Note` component allows you to display different types of messages such as general notes, warnings, or success notifications. Each type is styled accordingly, providing a clear visual cue to the user.
## Preview
This is a general note to convey information to the user.
This is a danger alert to notify the user of a critical issue.
This is a warning alert for issues that require attention.
This is a success message to inform the user of successful actions.
## Props
| Prop | Type | Default | Description |
| ------- | ---------------------------------------------- | ------- | ---------------------------------------- |
| `title` | `string` | "Note" | Sets the title of the note. |
| `type` | `"note"`, `"danger"`, `"warning"`, `"success"` | "note" | Determines the visual style of the note. |
## Code
```jsx
This is a general note to convey information to the user.
This is a danger alert to notify the user of a critical issue.
This is a warning alert for issues that require attention.
This is a success message to inform the user of successful actions.
```