Badge
Less than 1 minute
A badge which allows you to customize its color.
You can use it in Markdown to add some status for titles or links.
Demo
::: preview
Heading Badge New MrHope
Badge Test Building MrHope
:::
Props
text
- Type:
string
- Required: Yes
Text of the badge
type
- Type:
"tip" | "warning" | "danger" | "important" | "info" | "note"
- Default:
"info"
Badge types:
- tip
- warning
- danger
- important
- info
- note
color
- Type:
string
- Required: No
Badge color, please fill in CSS color strings
vertical
- Type:
"top" | "middle" | "baseline" | "bottom"
- Required: No
Vertical position of the badge
Changelog
6/4/25, 1:34 PM
View All Changelog
1bd5f
-on6ad69
-on0f844
-on43072
-on9d2e9
-on2a306
-onab41c
-on6c51a
-on