Skip to content

<alta-proof-badge> ​

What the machine proves about a step: checking, passed, failed, or taken on your word.

All components

States ​

The closed list data-state takes on the element.

  • unread
  • checking
  • pass
  • fail
  • unverifiable
  • word
  • late

Other attributes ​

On the element, or on a part (part: attribute). A list of values is closed.

AttributeOnValues
data-rolethe elementinstalled, ready, alive
data-freshthe elementpresent or absent

Events ​

Dispatched on the element, bubbling. Listen with addEventListener.

  • alta-proof
  • alta-check

Parts ​

Every node you can style, as [data-part="…"].

seal · mark · label · detail · recheck

Style it ​

css
[data-aui="proof-badge"][data-state="late"] [data-part="seal"] { /* … */ }

Words it reads ​

Keys of the string tables (override them on <alta-provider>).

proof.

Files ​

packages/ui/src/elements/proof-badge.ts · packages/ui/styles/components/step.css

Alta OS is open source (MIT).