Skip to content

2.1

Tags

The tag component categorizes or flags objects using concise keywords or metadata for context and organization.

Tag

Used to display label that can optionally be selected and unselected or removed.

Import

js
import { MpTag } from '@mekari/pixel3'

Playground

API

MpTag

Props
Events
Slots
NameTypeDefault
as
Component used for root node.
string | objectbutton
id
Id of tag.
string -
size
Size of tag.
sm | mdmd
variant
Variant of tag.
gray | redgray
is-closable
If true, close icon displayed on right.
booleanfalse

Usage

Variant

Size