Femtality- -v0.16.1- By Aerisetta Apr 2026
import { state, transition } from 'femtality';
import { useEffect } from 'react'; import { state } from 'femtality'; FEMTALITY- -v0.16.1- By Aerisetta
// bindStyle sets inline style properties reactively bindStyle(document.querySelector('.bar'), t => ({ width: `${progress.value}%` })); import { state, transition } from 'femtality'; import
Example: focus-pulse behavior
function useFemtState(initial) { const s = state(initial); useEffect(() => () => s.destroy && s.destroy(), []); return s; } import { state
const t = transition(progress, { duration: 600, easing: 'easeOutQuad' });
import { behavior } from 'femtality';