closeButtonProps
Description
Props for tag close button element.
Type
TagCloseButtonProps
Leave Yamada UI a star
StarTag
is a component used to categorize or organize items using keywords that describe them.
Description
Props for tag close button element.
Type
TagCloseButtonProps
Description
The visual color appearance of the component.
Type
"blackAlpha" | "whiteAlpha" | "amber" | "blue" | "info" | "link" | "primary" | "cyan" | "emerald" | "flashy" | "fuchsia" | "gray" | "green" | "success" | "indigo" | "lime" | "neutral" | "orange" | "warning" | "pink" | "purple" | "red" | "danger" | "rose" | "sky" | "teal" | "violet" | "secondary" | "yellow"
Default
"primary"
Description
Icon to be displayed to the end of the tag.
Type
ReactElement<any, string | JSXElementConstructor<any>>
Description
If true
, the tag is disabled.
Type
boolean
Default
false
Description
Icon to be displayed to the left of the tag.
Deprecated
Use startIcon
instead.
Type
ReactElement<any, string | JSXElementConstructor<any>>
Description
Function to be executed when the close button is clicked.
Type
MouseEventHandler<HTMLElement>
Description
Icon to be displayed to the right of the tag.
Deprecated
Use endIcon
instead.
Type
ReactElement<any, string | JSXElementConstructor<any>>
Description
The size of the Tag.
Type
"sm" | "md" | "lg"
Default
"md"
Description
Icon to be displayed to the start of the tag.
Type
ReactElement<any, string | JSXElementConstructor<any>>
Description
The variant of the Tag.
Type
"outline" | "solid" | "subtle" | "surface"
Default
"subtle"
Edit this page on GitHub