Keypad

Motivation

This example is a simple user interface, simulating a keypad similar to those used to enter PIN codes.

Modeling

keypad state machine

Svelte implementation

Credit

This example is inspired from a Svelte tutorial on component bindings.