A label for a category or status.
Mirrors Tag from @digdir/designsystemet-react.
Tag.view [ Ds.color Color.success ] [ Html.text "Godkjent" ]A tag is not interactive. For something the user can click to filter or
remove, use a Chip.
<Tag> → Tag.view []variant="outline" → Tag.outlinedata-color="success" → Ds.color Color.successasChild + <a> → Tag.viewAs Html.a [ Attr.href "…" ]Tag styling on another element (React's asChild).
Tag.viewAs Html.a [ Attr.href "/saker?status=apen" ] [ Html.text "Åpen" ]Border and no fill, for tags that should draw less attention.
A
<span class="ds-tag">.