Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

358 B
Raw Blame
import { useReducedMotion } from 'motion/react';
import { useMotionPaused } from '@/lib/motion';

// true when the reader asked for less motion, in the system settings or with the site's pause control
export function useStillMotion(): boolean {
  const reduce = useReducedMotion() ?? false;
  const [paused] = useMotionPaused();
  return reduce || paused;
}