Tag
Button component is used to trigger an action or event, such as submitting a form, opening a Dialog, canceling an action, or performing a delete operation.
Name@spark-ui/tag
Version2.2.0
LicenseMIT
Tag#
Attribute | Type | Description | Default |
asChild | boolean | Change the component to the HTML tag or custom component of the only child. | null |
design | "filled" | "outlined" | "tinted" | Main style of the tag. - `filled`: Tag will be plain. - `outlined`: Tag will have a surface background with an colored outline/text. - `tinted`: Tag will be filled but using a lighter color scheme. | filled |
intent | "main" | "support" | "accent" | "basic" | "success" | "alert" | "info" | "neutral" | "danger" | Color scheme of the tag. | basic |