Repository navigation
Gallery
Short clips of Tabdeck in action, recorded from the live demo (pretend devices, simplified stand-in cards). Click a title to open that example in the demo and try it yourself.
|
Switching tabs The indicator slides to the tab you pick.
|
Alerts and live icons The garage door opens: its tab turns red, changes icon and pulses until it closes.
|
Swipe between tabsswipe: true with the ios preset on a phone-width deck.
|
Side railpreset: rail with rail_expand: true: the rail opens to show names on hover.
|
The clips are made by a script, so they can be redone after a change to the look:
npm run build:demo
npx playwright install chromium
node scripts/clips/record-clips.mjs # all clips → wiki/images/clips/*.webp
node scripts/clips/record-clips.mjs --only swipe --gifIt serves the built demo, plays each clip in scripts/clips/clips.mjs (clicks, hovers, drags) while recording Chrome's screen, crops to the preview and writes an animated WebP of 10 to 25 kB per clip with scripts/clips/encode.py (Python 3 with Pillow). --gif also writes a GIF (about four times larger). With a remote Chrome, pass --cdp <url> and --base-url pointing at a copy of site/demo/ that Chrome can load. To add a clip, add an entry to clips.mjs with the demo page, the element to crop to, and what to do.
Concepts
Features
- All features
- Dynamic tabs
- Remote control & events
- PIN-locked tabs
- Reuse: defaults & templates
- Debug panel
- Developer access
- Pictures, animations & fonts
- State-driven icons & names
- Alert pulse
- Auto-rotate & idle return
- Navigation & action tabs
- Scroll-spy
- Collapsible deck
- Responsive layouts
- Style presets
- Tab-change actions
- Tab display mode
- Accent indicator
- Extra bar styles
- Indicator thickness
- Sticky tab bar
- Tab alignment
- Badge display mode
- Per-tab colour
- Tab subtitles
- Disabled tabs
- Multiple cards per tab
- One-line tab content
- Panel transitions
- Content layout
- Duplicate tab
- Expand/Collapse all
- Edit mode helpers
- Why is this tab hidden?
- Starter templates
- Convert from another card
- Languages
- YAML autocomplete
- Dock & floating action tabs
- Dots & content arrows
- Grouped tabs
- Overview grid
- Linked decks
- Tab as popup
- Wizard mode
- Search & shortcuts
- Gestures
- Arrange tabs