Exemples
Github style
note
Useful information that users should know, even when skimming content.
tip
Helpful advice for doing things better or more easily.
important
Key information users need to know to achieve their goal.
warning
Urgent info that needs immediate user attention to avoid problems.
caution
Advises about risks or negative outcomes of certain actions.
Custom style
Useful information that users should know, even when skimming content.
Helpful advice for doing things better or more easily.
Key information users need to know to achieve their goal.
Urgent info that needs immediate user attention to avoid problems.
Advises about risks or negative outcomes of certain actions.
Definition
Note
The note component.
type
string
Default: warning
The type of the alert. Can be "note", "tip", "important", "warning" or "caution".
<slot>
HTMLElement
Required
The actual contents of the note.
style
string
Default: "custom"
The styling of the component. Either "custom" or "github".
class
string
Classes to add to the alert component's outer most div.
Last updated : Aug 14, 2024