Skip to content
tag
AutoXXS (320px)XS (375px)SM (640px)MD (768px)LG (1024px)XL (1280px)XXL (1536px)
SketchMaterialiOSTamagui
DataInjectionKeyPatternsServiceTransactionProcessResearchProductQualityPerformanceSpecDomainFunctionTechnologyArchitectureConfigMiddlewareDataDatabaseDrizzleMigrationModelop-sqliteSchemaSQLState ManagementDraftKeystoneMergePatchPatchesPersistenceReactiveRedoStoreUndoTestingDeviceFactoryIsolationTypeScriptZodTopicsCommunicationBidsNVCDesignDesign ImplicationsEducationPedagogyFoundationsPsychologyAttachmentFloodingRelatingAuthentic RelatingUIEditorReact Native

tag

Fragment reference tag
tags
ui

Tags are used as labels to organize things or to indicate a selection.

Usage

tag Brand

Variants

Set the variant attribute to change the tag’s theme.

tag(variant="brand") Brand
tag(variant="success") Success
tag(variant="danger") Danger

Sizes

Use the size attribute to change a tag’s size.

tag(size="small") Small
tag(size="medium") Medium
tag(size="large") Large

Attributes

NameTypeDefaultDescription
variantbrand | neutral | success | warning | dangerneutralThe tag’s theme variant.
sizesmall | medium | largemediumThe tag’s size.
appearanceaccent | filled | outlined | filled-outlinedfilled-outlinedVisual appearance.
pillbooleanfalseDraws a pill-style tag with rounded edges.
with-removebooleanfalseShows a remove button.