English
<alta-quest-rail>
The panel that holds a quest beside the page: normal, wide, full screen or folded; a bottom sheet on a phone.
States
The closed list data-state takes on the element.
collapsednormalwidefull
Other attributes
On the element, or on a part (part: attribute). A list of values is closed.
| Attribute | On | Values |
|---|---|---|
data-layout | the element | side, sheet |
data-sheet | the element | peek, half, full |
data-dragging | the element | present or absent |
data-empty | the element | present or absent |
data-side | the element | end, start |
data-placement | the element | fixed, inline |
data-size | size-button | normal, wide, full |
Events
Dispatched on the element, bubbling. Listen with addEventListener.
alta-rail-sizealta-rail-toggle
Parts
Every node you can style, as [data-part="…"].
handle · header · top · eyebrow · progress · progress-text · progress-bar · progress-fill · controls · sizes · size-button · collapse · title · body · empty · chain · footer · tags · tab · tab-ring · tab-title · sheet-grip
Slots
Children with slot="…" replace or add to these places.
header-extra · body · footer · empty
Draws inside itself
<alta-step-chain> · <alta-unlock-tags>
Style it
css
[data-aui="quest-rail"][data-state="full"] [data-part="handle"] { /* … */ }Words it reads
Keys of the string tables (override them on <alta-provider>).
rail.
Files
packages/ui/src/elements/quest-rail.ts · packages/ui/styles/components/rail.css