<ul class="gov-tags gov-list--plain">
<li>
<gov-tag color="primary" type="bold" size="s">
<gov-icon type="templates" name="star-fill" slot="icon-start"></gov-icon>
Tag
</gov-tag>
</li>
<li>
<gov-tag color="primary" type="bold" size="s">
<gov-icon type="templates" name="star-fill" slot="icon-start"></gov-icon>
Tag
</gov-tag>
</li>
<li>
<gov-tag color="primary" type="bold" size="s">
<gov-icon type="templates" name="star-fill" slot="icon-start"></gov-icon>
Tag
</gov-tag>
</li>
<li>
<gov-tag color="primary" type="bold" size="s">
<gov-icon type="templates" name="star-fill" slot="icon-start"></gov-icon>
Tag
</gov-tag>
</li>
<li>
<gov-tag color="primary" type="bold" size="s">
<gov-icon type="templates" name="star-fill" slot="icon-start"></gov-icon>
Tag
</gov-tag>
</li>
<li>
<gov-tag color="primary" type="bold" size="s">
<gov-icon type="templates" name="star-fill" slot="icon-start"></gov-icon>
Tag
</gov-tag>
</li>
</ul>
<ul class="gov-tags gov-list--plain">
{{#each tag}}
<li>
{{> @tag this }}
</li>
{{/each}}
</ul>
{
"tag": [
{
"name": "Tag",
"color": "primary",
"type": "bold",
"size": "s",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "star-fill"
}
},
{
"name": "Tag",
"color": "primary",
"type": "bold",
"size": "s",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "star-fill"
}
},
{
"name": "Tag",
"color": "primary",
"type": "bold",
"size": "s",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "star-fill"
}
},
{
"name": "Tag",
"color": "primary",
"type": "bold",
"size": "s",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "star-fill"
}
},
{
"name": "Tag",
"color": "primary",
"type": "bold",
"size": "s",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "star-fill"
}
},
{
"name": "Tag",
"color": "primary",
"type": "bold",
"size": "s",
"icon-start": {
"slot": "icon-start",
"type": "templates",
"name": "star-fill"
}
}
]
}
@import "../../../styles/mixins";
.gov-tags {
@include flex($gap: var(--spacing-s-nudge));
flex-wrap: wrap;
}
No notes defined.