Tag
Label content categories or statuses.
Basic usage
defaultprimarysuccessinfowarningerror
PublishedCompletedDismissibleLarge tag
basic.tsx
Tag API
Types
Import the component props and item types when preparing your own values.
Usage notes
Tags use borderless fills and small rounded corners, with tinted and solid appearances. The radius follows the regional theme; set ConfigProvider's theme.components.Tag.borderRadius for a component override.
Call event.preventDefault() to prevent removal. In a dynamic list, onClose can update application state to remove the matching item.