Skip to content

Alpine.js Toolkit

@ailuracode · Interactive plugin demos

Interactive demos

Playground

Explore Alpine Toolkit packages by functional category and composed families. Each package demo remains directly addressable from its family or category page.

Categories
6
Package demos
33
Stack
Alpine · Astro

Runtime & Composition

Plugin registry, overlay portal, keyboard routing, directives, and shared composition primitives.

Overlay

Store

Portal root, z-index stack, and overlay registry used by dialog, menu, tooltip, and command.

$store.overlay / $overlay

Scoped keyboard shortcut registry with chords, sequences, and conflict resolution.

$store.keyboard / $keyboard

Child

Directive

asChild-style directive that merges wrapper attributes onto the first child.

x-child

Application Shell

Theme, layout, scroll, sidebar, and language preferences for app shells.

Theme

Store

Light, dark, and system color modes with persistence and pluggable DOM strategies.

$store.theme

Media

Store

Reactive viewport breakpoints, dimensions, and browser media features.

$store.media

Scroll

Store

Scroll position tracking, section observer, and handle-based body lock.

$store.scroll / $scroll

Lang

Store

Detect, query, and change the current application language.

$store.lang

Browser Capabilities

Environment signals, transfer APIs, notifications, geolocation, and permissions.

Unified browser permission registry with a typed adapter contract.

$store.permissions / $permissions

Geo

Store

Geolocation coordinates, accuracy, and permission state.

$store.geo

Wake Lock and Idle Detection for presentations and session-aware UI.

$wakelock · $idle

Env

Magic

Browser environment magics and optional headless environment controller.

$network · $visibility · $battery · $platform

Clipboard copy, Web Share API, and programmatic downloads.

$clipboard · $share · $export

Interaction Primitives

Toggle state, child composition, and pointer gesture recognition.

Toggle

Magic

Binary and ternary toggle state factories for segmented controls and filters.

$toggle

Gesture

Store

Headless pointer gesture recognition — tap, swipe, pan, pinch, and long-press.

$store.gesture / x-gesture

History

Store

Headless undo/redo history controller with transactions, persistence, and configurable limits.

$store.history / $history

Timer

Magic

Drift-resistant countdown, countup, and stopwatch factories for Alpine components.

$timer

Headless UI

Accessible dialog, menu, tooltip, toast, tabs, and related UI state machines.

Dialog

Store

Accessible modal state with focus trap, scroll-lock hooks, and ARIA helpers.

$store.dialog

Menu

Store

Dropdown and context menu state with keyboard navigation and ARIA helpers.

$store.menu

Tabs

Store

Accessible tabs with keyboard navigation and optional URL query sync.

$store.tabs

Single or multi-open accordion state with keyboard focus and ARIA helpers.

$store.accordion

Command

Store

Spotlight-style command palette with searchable actions and shortcuts.

$store.command

Virtual

Store

Headless virtual list controller with fixed and variable item sizes.

$store.virtual / $virtual

Framework-agnostic selection primitives with single, multiple, and range modes.

$store.selection / $selection

Form

Store

Headless form state and validation — dirty, touched, valid, submitting, async validation, server error mapping, and reset, without replacing x-model.

$store.form / $form

Data & Networking

Query cache, JSON:API client, calendars, and data-fetching adapters.

Query

Core

Store-agnostic query cache with pluggable reactivity adapters.

createQueryClient · query({ adapter })

Recommended query stack: cache, Nanostores adapter, and optional devtools panel.

$store.query · devtools

Typed JSON:API client with resource schemas and compound document parsing.

$jsonapi