Return to Sky UI homepage
import { Tag } from '@sky-uk/ui-core';

Content

PropDescription
label

Main text content displayed within the tag. The label describes the status of category of the Tag.

src

Optional icon source that can be displayed alongside the tag text. The src prop expects a partial SVG path of the icon that you want to render. It is recommend to use icons from the Skycons package. (See Skycons)

Props

PropTypeOptions (* default)
$variantstringneutral* | positive | negative

System Modifiers

The Tag component also supports the props applied using the following system modifiers: