# `<alta-unlock-tags>`

> What finishing a quest opens: skills, agents, automations, charts, quests.

What finishing a quest opens: skills, agents, automations, charts, quests.

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

## States

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

- <span id="state-locked"></span>`locked`
- <span id="state-partial"></span>`partial`
- <span id="state-unlocked"></span>`unlocked`

## Other attributes

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

| Attribute | On | Values |
|---|---|---|
| `data-state` | `tag` | `locked`, `unlocked` |
| `data-kind` | `tag` | `skill`, `agent`, `automation`, `chart`, `quest` |

## Events

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

- <span id="event-alta-unlock-open"></span>`alta-unlock-open`

## Parts

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

`label` · `list` · `tag` · `tag-text` · `tag-button` · `tag-mark` · `more`

## Style it

```css
[data-aui="unlock-tags"][data-state="unlocked"] [data-part="label"] { /* … */ }
```

## Words it reads

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

`unlock.`

## Files

`packages/ui/src/elements/unlock-tags.ts` · `packages/ui/styles/components/chain.css`
