Femtality- -v0.16.1- By Aerisetta Apr 2026
React example (hooks wrapper):
// bindText attaches to an element and updates its text content bindText(document.querySelector('#count'), count); FEMTALITY- -v0.16.1- By Aerisetta
import { state, transition } from 'femtality'; React example (hooks wrapper): // bindText attaches to
import { useEffect } from 'react'; import { state } from 'femtality'; import { state
Example: animate a progress bar
import { state, transition, bindStyle } from 'femtality';
// bindStyle sets inline style properties reactively bindStyle(document.querySelector('.bar'), t => ({ width: `${progress.value}%` }));
