New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@gentleduck/motion

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gentleduck/motion

Motion primitives for gentleduck/ui components.

latest
Source
npmnpm
Version
0.1.18
Version published
Weekly downloads
18
-95.95%
Maintainers
1
Weekly downloads
 
Created
Source

@gentleduck/motion

A lightweight motion toolkit for gentleduck/ui packages.

It's for gentleduck internal use only

Installation

bun add @gentleduck/motion

API

  • @gentleduck/motion/css
    • Motion tokens (--duck-motion-ease, --duck-motion-dur)
    • Global prefers-reduced-motion fallback policy
  • tokens
    • duckEasing
    • duckDuration
    • duckMotionCssVar
  • react
    • useDuckReducedMotion()
    • motionTransition(reduced, normal)
    • onDuckReducedMotionChange(callback)
  • waapi
    • prefersReducedMotion()
    • animateIfAllowed(element, keyframes, options, reducedMotion?)
  • motion
    • animateIn(element, keyframes?, options?)
    • motion (named alias for backward compatibility)

Contributing

Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.

License

MIT © gentleduck

Keywords

gentleduck

FAQs

Package last updated on 14 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts