Learn hyperscript patterns through interactive examples
Core event handling, DOM reads and writes, element visibility.
Toggle CSS classes, HTML attributes, and CSS properties.
Input handling, validation, and form submission.
Modal dialogs, native HTML dialog element, and smart toggle patterns.
Tab UIs, SPA-style history management, and boosted links.
API calls, dynamic content loading, and async patterns.
CSS transitions, color cycling, view transitions, and fade effects.
Draggable elements and sortable lists with visual feedback.
Intelligent DOM swapping, morphing, and multi-target updates.
JavaScript integration, clipboard operations, and browser APIs.
Pre-built, tree-shakeable behaviors for common UI patterns.
Write hyperscript in your native language. Supports 13 languages with grammar transformation for proper word order.