Semantic structure
Use the documented Xshna classes with semantic HTML rather than replacing native elements unnecessarily.
Compose existing xsh- classes on the appropriate HTML element. Keep content order meaningful when CSS is disabled.
Activity timelines and ordered workflow stepper patterns.
Progress is conveyed with both ordering and explicit step labels; use aria-current for the active step.
10:00 — Project initialized
10:45 — Awaiting approval
Final step
<div class="xsh-ref-formgrid"><ol class="xsh-timeline"><li><strong>Created</strong><p>10:00 — Project initialized</p></li><li><strong>Review</strong><p>10:45 — Awaiting approval</p></li><li><strong>Published</strong><p>Final step</p></li></ol><ol class="xsh-steps"><li class="xsh-step" data-xsh-complete>Profile</li><li class="xsh-step" aria-current="step">Review</li><li class="xsh-step">Launch</li></ol></div>Use xsh-timeline for activity and xsh-steps with xsh-step for progress; indicate the active step with aria-current=step.
9:30 AM
11:15 AM
<div class="xsh-grid xsh-md-grid-cols-2 xsh-gap-6"><ol class="xsh-timeline"><li><strong>Project created</strong><p class="xsh-muted">9:30 AM</p></li><li><strong>Design approved</strong><p class="xsh-muted">11:15 AM</p></li><li><strong>Ready to publish</strong></li></ol><ol class="xsh-steps"><li class="xsh-step" data-xsh-complete>Details</li><li class="xsh-step" aria-current="step">Review</li><li class="xsh-step">Publish</li></ol></div>Customize this component through --xsh-* CSS tokens, data-xsh-* configuration attributes and documented xsh-* utilities. Use the optional JavaScript distribution only when an interactive behavior is needed.
These selectors exist in the current distribution. An entry in this table does not imply that arbitrary modifier combinations are meaningful; use the examples above for the intended composition.
| Class | Purpose | Delivery |
|---|---|---|
.xsh-timeline | Core component | CSS-only |
.xsh-timeline-event | Composable modifier / structure class | CSS-only |
.xsh-timeline-vertical | Composable modifier / structure class | CSS-only |
Use the documented Xshna classes with semantic HTML rather than replacing native elements unnecessarily.
Compose existing xsh- classes on the appropriate HTML element. Keep content order meaningful when CSS is disabled.
Verify focus order, disabled behavior and descriptive labels for interactive patterns.
Load xshna.min.js only if the documented interaction needs it. Your application remains responsible for data, persistence and business rules.
Test narrow containers, long translations and user-defined text sizes.
Test 320px-wide viewports, container-constrained instances, keyboard zoom, longer translations and right-to-left text where relevant.
Use --xsh-* CSS variables for theme values and data-xsh-design / data-xsh-density on the xsh-app root.
Prefer design tokens over hard-coded overrides so components remain coherent across personalities.