Primitives / foldkit-primitives/media

PrefersReducedMotion

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

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,
  NoView,
  {},
  {},
  undefined
>

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

In the guides