retil-interaction

Utilities to create unstyled interactive components

Usage no npm install needed!

<script type="module">
  import retilInteraction from 'https://cdn.skypack.dev/retil-interaction';
</script>

README

retil-interactions

Superpowers for building interactive components.

React gave you the power of re-usable components. Retil Interactions gives you the power of re-usable behaviors.

  • Create re-usable focus and hover indicators.
  • Re-use the same styled components across your links, forms, menus, navbars, popup triggers, toggles, and other behaviors.
  • Create controls which keep focus in one place, while containing many different interactive surfaces.
  • Easily add smartly-positioned popups which respond to focus, hover or press events.