Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Stateful API

This example demonstrates the new stateful::() API with:

  • ctx.event() - Access triggering event in state callbacks
  • ctx.use_signal() - Scoped signals for local state
  • ctx.use_animated_value() - Spring-animated values

Tip: Some demos are best viewed in a full browser window. Click “Open in a new tab” below for the full experience.

Open in a new tab · View source on GitHub