⚜ Lys
A structural slide engine for LLM-generated presentations
A structural slide engine for LLM-generated presentations
<article> elements into slide presentations<div data-lys>
<article>
<h1>First Slide</h1>
<p>Hello, world.</p>
</article>
<article>
<h2>Second Slide</h2>
<p>That's it. That's the API.</p>
</article>
</div>
| Capability | No JS, no CSS | CSS only | CSS + JS |
|---|---|---|---|
| Readable document | Yes | Yes | Yes |
| Scroll-snap slides | No | Yes | Yes |
| Keyboard and touch navigation | No | No | Yes |
| ARIA announcements | No | No | Yes |
| Hash routing and programmatic API | No | No | Yes |
Size budget: JS < 5 KB gzip, CSS < 2 KB gzip.
<article
data-class="title-slide dark"
data-background="linear-gradient(135deg, #0f0c29, #302b63)"
data-notes="Speaker notes go here"
data-transition="fade"
data-timing="30"
>
<h1>Your Content</h1>
</article>
--lys-* (public) / --_lys-* (internal):root, container, or individual slide levelprefers-reduced-motion sets transitions to 0ms automaticallyArrow keys or swipe to navigate · Open the HTML to see how it works