Data display / Tags

Data display

Tags

Tag cloud, e.g. “what you have in common”.

import { EcoTags, EcoTag } from "vue-ecosphere"

From an array

Pass the labels as items; each renders as a tag.

State UniversitySupport GuildConsulting Guild

With EcoTag children

Or write the tags yourself when they need their own markup.

State UniversitySupport GuildConsulting Guild

API

NameTypeDefaultDescription
items (EcoTags)string[]—Tag labels. The default slot (EcoTag children) overrides them.
label (EcoTag)string—Text when you don't use the default slot.