Introduction
Subtly is a small, framework-independent toolkit for thoughtful web interactions. It handles timing, input and cleanup details while your components keep their rendering, state and styling.
Start with one interaction
Choose a concrete problem in your interface: a submenu that closes too early, an interrupted form, a flashing spinner or a search response that arrives out of order. The interaction catalogue groups helpers by these tasks.
Try before you implement
Every helper has a working example with HTML and JavaScript tabs. The examples run the pinned npm package. Network and save operations are simulated locally and labeled as demonstrations.
Connect it to your app
Install Subtly, copy the example into a component, then place setup and cleanup in your framework’s lifecycle. Use your own styles.
Know the boundaries
Subtly supplies behavior, not a complete component design system. Focus traps, server authorization, validation and reliable server-side writes remain responsibilities of the application. Read each helper’s accessibility and safety notes.