# `<alta-proof-badge>`

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

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

[All components](https://docs.altasystem.ai/ui/components/)

## States

The closed list `data-state` takes on the element.

- <span id="state-unread"></span>`unread`
- <span id="state-checking"></span>`checking`
- <span id="state-pass"></span>`pass`
- <span id="state-fail"></span>`fail`
- <span id="state-unverifiable"></span>`unverifiable`
- <span id="state-word"></span>`word`
- <span id="state-late"></span>`late`

## Other attributes

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

| Attribute | On | Values |
|---|---|---|
| `data-role` | the element | `installed`, `ready`, `alive` |
| `data-fresh` | the element | present or absent |

## Events

Dispatched on the element, bubbling. Listen with `addEventListener`.

- <span id="event-alta-proof"></span>`alta-proof`
- <span id="event-alta-check"></span>`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`
