You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/documentation/foundamentals/components/alert.mdx
+8-3Lines changed: 8 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,11 @@ title: Alert
3
3
description: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
4
4
permalink: alert
5
5
icon: lucide:bell
6
-
order: 3
7
6
---
7
+
8
8
# Alert
9
9
10
-
Alerts are UI components that help highlight important information to users. They can be used to provide feedback, warnings, errors, or general notes.
10
+
Alerts are UI components that help highlight important information to users. They can be used to provide feedback, warnings, errors, or general notes.
11
11
12
12
In Explainer, alerts can be created using a simple Markdown syntax and can be either expanded by default or collapsible. Different types of alerts (`success`, `warning`, `note`, `error`) are available to convey different levels of importance or urgency.
13
13
@@ -17,6 +17,7 @@ In Explainer, alerts can be created using a simple Markdown syntax and can be ei
17
17
> [!success]
18
18
> Some content is displayed directly!
19
19
```
20
+
20
21
> [!success]
21
22
> Some content is displayed directly!
22
23
@@ -26,6 +27,7 @@ In Explainer, alerts can be created using a simple Markdown syntax and can be ei
26
27
> [!warning] This is a **collapsible** callout
27
28
> Some content shown after opening!
28
29
```
30
+
29
31
> [!warning] This is a **collapsible** callout
30
32
> Some content shown after opening!
31
33
@@ -35,6 +37,7 @@ In Explainer, alerts can be created using a simple Markdown syntax and can be ei
35
37
> [!note] This is a **collapsible** callout
36
38
> Some content shown after opening!
37
39
```
40
+
38
41
> [!note] This is a **collapsible** callout
39
42
> Some content shown after opening!
40
43
@@ -44,6 +47,7 @@ In Explainer, alerts can be created using a simple Markdown syntax and can be ei
44
47
> [!error] This is a **collapsible** callout
45
48
> Some content shown after opening!
46
49
```
50
+
47
51
> [!error] This is a **collapsible** callout
48
52
> Some content shown after opening!
49
53
@@ -53,5 +57,6 @@ In Explainer, alerts can be created using a simple Markdown syntax and can be ei
0 commit comments