Build interactive, animation-rich, zero-dependency HTML/CSS/JS web slide presentations with keyboard navigation, responsive scaling, and speaker notes. Use for web-based slide decks, browser demos, or interactive presentations.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Frontend Slides?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/johnson-durui-frontend-slides)
---
name: frontend-slides
description: Build interactive, animation-rich, zero-dependency HTML/CSS/JS web slide presentations with keyboard navigation, responsive scaling, and speaker notes. Use for web-based slide decks, browser demos, or interactive presentations.
license: MIT
source: zarazhangrui/frontend-slides
---
# Frontend HTML Slides
Adapted for ApexCluster from `zarazhangrui/frontend-slides` (MIT).
## Purpose
Create self-contained, browser-native slide decks (`index.html` or modular HTML/CSS/JS) that deliver cinema-grade typography, smooth transitions, responsive 16:9 viewport scaling, and live interactive demos—without requiring PowerPoint or fragile build chains.
## Step 1: Deck Architecture & Aesthetic Setup
1. **Slide Plan**: Outline 8–14 slides with a clear rhythm: Hero Cover → Problem Framing → Architecture/Concept → Interactive Visual/Code/Metrics → Roadmap/Takeaways.
2. **Visual System**: Commit to a unified aesthetic (editorial dark, warm paper studio, minimalist monochrome, or technical blueprint) defined via `:root` CSS custom properties (`--bg`, `--surface`, `--ink`, `--muted`, `--accent`, `--font-display`, `--font-body`, `--font-mono`).
3. **Viewport Discipline**: Lock each slide to a clean `100vw × 100vh` (or scaled `16:9` stage) canvas with `overflow: hidden` so slides never scroll awkwardly during live presentation.
## Step 2: Essential Interactive Presentation Controls
Every web slide deck must include reliable, zero-dependency navigation:
- **Keyboard**: `ArrowRight` / `Space` / `PageDown` (next), `ArrowLeft` / `PageUp` (previous), `Home` / `End` (first/last), `F` (fullscreen toggle), `N` (toggle speaker notes drawer), `O` or `G` (grid overview mode).
- **Pointer & Touch**: Clickable subtle previous/next controls, clickable progress indicator bar, and horizontal swipe support for touchscreens.
- **URL Hash Sync**: Sync active slide index to `#slide-N` so refreshing or sharing a link lands directly on the target slide.
- **Print / PDF Export**: Provide `@media print` rules with `page-break-after: always` and landscape sizing so browser Print-to-PDF exports clean slides.
## Step 3: Typography, Visuals & Motion
- **Fluid Sizing**: Scale headlines and body text with `clamp(...)` so text stays legible from 1280px laptops to 4K projectors.
- **Rich Native Visuals**: Prefer inline SVG diagrams, crisp CSS data bars, syntax-highlighted code blocks, and live interactive widgets over static low-res bitmaps.
- **Staggered Entrance Motion**: Animate slide elements cleanly using CSS transitions triggered on `.slide.is-active`, keeping transitions snappy (`250–500ms`) and disabling animations under `prefers-reduced-motion: reduce`.
## Step 4: Verification
- Verify the HTML file renders cleanly with zero external broken asset links (prefer self-contained single-file HTML when sharing portable decks).
- Check keyboard navigation, slide counter accuracy, text fit on both `1280x720` and `1920x1080`, and readable contrast on every slide.