Primitives / foldkit-primitives/media

PrefersReducedMotion

const · packages/primitives/src/media/mediaquery.ts:60

Argsnone
Model{ matches: boolean }
MessagesChanged { matches: boolean }
Its full type
const PrefersReducedMotion: Bundle.Bundle<
  'MediaQuery',
  void,
  { readonly matches: boolean },
  { readonly _tag: 'Changed'; readonly matches: boolean },
  never,
  never,
  never,
  void,
  {},
  {}
>

(prefers-reduced-motion: reduce), bound so placements give no args.

In the guides