ComplianceTag

components/compliance/Tag.vue

Small compliance-framework tag: two-tone shield mark + framework name in a grape pill. `error` flips the whole tag red (red shield, error border/text) for a required-but-unmet framework; `removable` adds a ✕ that emits @remove. Shield art ships with the layer and carries its own colors (rendered via <img>, never UxIcon).

EU AI Act
Variants (size × state)
EU AI ActEU AI ActEU AI ActEU AI Act
EU AI ActEU AI ActEU AI ActEU AI ActEU AI ActEU AI Act
Gap cluster — one exclaim after the tags
OWASP LLMSOC 2HIPAA Required
Scenarios
SOC 2OWASP LLMHIPAAISO 27001NIST SP 800-52 · TLS profile (2005, rev. 2)
components/compliance/Tag.vue

Usage

<ComplianceTag size = "medium" :error = "false" :gap = "false" :removable = "false" > Content here </ComplianceTag>

Props

PropTypeDefaultDescription
sizeString'medium''small' | 'medium' — UxToggle-style size vocabulary; small drops to text-11 with h-3 shield/✕
errorBooleanfalseErrored variant: red two-tone shield, error border/fill/text — loud failure
gapBooleanfalseMuted grey variant (grey shield): required by an active framework while the policy is off. Pair the tag CLUSTER with one page-side exclaim circle after it. Wins over error
removableBooleanfalseShow the trailing ✕ and emit @remove on click

Events

EventDescription
removeThe ✕ was clicked (only rendered when removable)

Slots

SlotDescription
defaultThe framework name/label

Related

Qpoint Brand Style Guide