motionary 12.9.0 → 13.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +14 -0
- package/README.md +77 -76
- package/README_ja.md +6 -6
- package/README_zh.md +6 -6
- package/bin/public-paths.mjs +3 -0
- package/dist/chunks/{anim-image-D_WUCgp4.cjs → anim-image-D3zLsN-S.cjs} +2 -2
- package/dist/chunks/{anim-image-KyCg37rY.js → anim-image-D6JtZnwb.js} +2 -2
- package/dist/chunks/audio-BSQmg3MB.cjs +1 -1
- package/dist/chunks/audio-DNNfcWi9.js +1 -1
- package/dist/chunks/badge-wall-BPbL8OTC.cjs +1 -1
- package/dist/chunks/badge-wall-Dg7S7RJn.js +1 -1
- package/dist/chunks/base-B3me2y0o.cjs +1 -1
- package/dist/chunks/base-zSGb8ujt.js +1 -1
- package/dist/chunks/bg-generator-DKX8nt8T.js +1 -1
- package/dist/chunks/bg-generator-U6fomxZX.cjs +1 -1
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/builtins-Cz3iufK6.cjs +1 -1
- package/dist/chunks/builtins-Simwbnqg.js +1 -1
- package/dist/chunks/carousel-BvdFWXZC.cjs +1 -1
- package/dist/chunks/carousel-C36_TV-w.js +1 -1
- package/dist/chunks/cart-drawer-BIeW2ITt.js +1 -1
- package/dist/chunks/cart-drawer-BRK4G_aL.cjs +1 -1
- package/dist/chunks/code-export-B6NVzEhx.js +1 -1
- package/dist/chunks/code-export-BUcIsaA0.cjs +1 -1
- package/dist/chunks/color-picker-6qKpXxrS.js +1 -1
- package/dist/chunks/color-picker-CZvB7e4m.cjs +1 -1
- package/dist/chunks/command-palette-BSTQQK3b.js +1 -1
- package/dist/chunks/command-palette-CNnX1Qlx.cjs +1 -1
- package/dist/chunks/core-BOCM9zD5.js +1 -1
- package/dist/chunks/core-BcQb_f91.js +1 -1
- package/dist/chunks/core-BdLFN0RS.cjs +1 -1
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-KIvPGg0c.cjs +1 -1
- package/dist/chunks/countdown-CzDT07_X.js +1 -1
- package/dist/chunks/countdown-D5fCuduX.cjs +1 -1
- package/dist/chunks/date-picker-DJ5URMsx.cjs +1 -1
- package/dist/chunks/date-picker-DKv1uKYq.js +1 -1
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/equalizer-C8mel4Mn.js +1 -1
- package/dist/chunks/equalizer-D3iO1wBO.cjs +1 -1
- package/dist/chunks/festival-banner-BYn-HCza.js +1 -1
- package/dist/chunks/festival-banner-Dx7QAmxt.cjs +1 -1
- package/dist/chunks/field-BlWcKLcW.js +1 -1
- package/dist/chunks/field-CLbSJL_S.cjs +1 -1
- package/dist/chunks/fx-BaPAanPW.cjs +1 -1
- package/dist/chunks/fx-DUteojZx.js +1 -1
- package/dist/chunks/generative-2LhxG5BJ.js +1 -1
- package/dist/chunks/generative-BHIj-NU0.cjs +1 -1
- package/dist/chunks/{gl-scene-BzOKrqVW.cjs → gl-scene-7iATBiAo.cjs} +2 -2
- package/dist/chunks/{gl-scene-DqFpR0Z7.js → gl-scene-CS6F2id8.js} +2 -2
- package/dist/chunks/globe-6qzMhWwL.js +1 -1
- package/dist/chunks/globe-DDPNdPPD.cjs +1 -1
- package/dist/chunks/gpu-Dw1udOJW.cjs +1 -1
- package/dist/chunks/gpu-ML0i9eNv.js +1 -1
- package/dist/chunks/gpu-particles-Ce1Q_xJk.js +1 -1
- package/dist/chunks/gpu-particles-Z95SjKpc.cjs +1 -1
- package/dist/chunks/index-tags-B-JBecYg.js +1 -1
- package/dist/chunks/index-tags-hLIF2Clq.cjs +1 -1
- package/dist/chunks/key-click-BLm3BI8_.js +1 -1
- package/dist/chunks/key-click-v7I4K5Sr.cjs +1 -1
- package/dist/chunks/{keyframes-DbVzmsRL.js → keyframes-BAtnMJd-.js} +2 -2
- package/dist/chunks/{keyframes-cJHH8OjN.cjs → keyframes-CbM8m-7I.cjs} +2 -2
- package/dist/chunks/leaderboard-ButHN_NI.cjs +1 -1
- package/dist/chunks/leaderboard-PaGjUBdI.js +1 -1
- package/dist/chunks/location-card-CLR05EP-.cjs +1 -1
- package/dist/chunks/location-card-D-jdyQge.js +1 -1
- package/dist/chunks/lottie-icon-1x0omshZ.js +1 -1
- package/dist/chunks/lottie-icon-DDKThCMc.cjs +1 -1
- package/dist/chunks/{lottie-player-DGUpDJeC.cjs → lottie-player-BaZsKC-H.cjs} +2 -2
- package/dist/chunks/{lottie-player-CHqBhRAB.js → lottie-player-D7exPyhQ.js} +2 -2
- package/dist/chunks/lyrics-gmFffOvn.cjs +1 -1
- package/dist/chunks/lyrics-r4Z0TGnm.js +1 -1
- package/dist/chunks/manifest-Bcz6rQ20.cjs +1 -1
- package/dist/chunks/manifest-pFJWahGJ.js +1 -1
- package/dist/chunks/menu-BTGBkd2U.js +1 -1
- package/dist/chunks/menu-BgO53POm.cjs +1 -1
- package/dist/chunks/menu-toggle-BJEK8BJD.cjs +1 -1
- package/dist/chunks/menu-toggle-Dch8f2GK.js +1 -1
- package/dist/chunks/nav-morph-BlfdTr2-.js +1 -1
- package/dist/chunks/nav-morph-DvE3FgWw.cjs +1 -1
- package/dist/chunks/otp-B1_JY5KD.cjs +1 -1
- package/dist/chunks/otp-Dxw6l5CL.js +1 -1
- package/dist/chunks/pagination-C5bamOI4.cjs +1 -1
- package/dist/chunks/pagination-CFOc73i-.js +1 -1
- package/dist/chunks/{physics-playground-DHO_tLsW.js → physics-playground-CGAdvO6r.js} +2 -2
- package/dist/chunks/{physics-playground-C5K776AL.cjs → physics-playground-MeKCuHR-.cjs} +2 -2
- package/dist/chunks/player-B7QRAdUN.cjs +1 -1
- package/dist/chunks/player-BA50IpKZ.js +1 -1
- package/dist/chunks/presence-230b12uw.cjs +1 -1
- package/dist/chunks/presence-CPc3nH2E.js +1 -1
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/prize-wheel-CYEPyee6.cjs +1 -1
- package/dist/chunks/prize-wheel-ClMtfLVa.js +1 -1
- package/dist/chunks/product-gallery-DlVGui98.js +1 -1
- package/dist/chunks/product-gallery-mML9zLXE.cjs +1 -1
- package/dist/chunks/progress-ring-C8OHcD1x.cjs +1 -1
- package/dist/chunks/progress-ring-u5QwkDUc.js +1 -1
- package/dist/chunks/prop-panel-B4SaLelu.cjs +1 -1
- package/dist/chunks/prop-panel-CYTkWP9Y.js +1 -1
- package/dist/chunks/radar-B7ZGs9Ca.js +1 -1
- package/dist/chunks/radar-BWjX0-2G.cjs +1 -1
- package/dist/chunks/reactions-BTTEhsnZ.js +1 -1
- package/dist/chunks/reactions-D2QL8ezS.cjs +1 -1
- package/dist/chunks/registry-BB1oO-lR.cjs +1 -1
- package/dist/chunks/{registry-VKfDCYYI.cjs → registry-CFnXdATC.cjs} +3 -3
- package/dist/chunks/registry-CYojuxi5.js +1 -1
- package/dist/chunks/{registry-D3VGJOuX.js → registry-DQEOHLh7.js} +3 -3
- package/dist/chunks/retro-button-CiVnwK4T.js +1 -1
- package/dist/chunks/retro-button-CqLmeF6H.cjs +1 -1
- package/dist/chunks/rive-CfWKBIa5.cjs +1 -1
- package/dist/chunks/rive-CtYlVrH0.js +1 -1
- package/dist/chunks/{runtime-link-CvJOTQYQ.js → runtime-link-C3_nsDxl.js} +2 -2
- package/dist/chunks/{runtime-link-CyExCzuU.cjs → runtime-link-D1Vn3BZq.cjs} +2 -2
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-BuR-Rq0p.js → scroll-scene-Bp9Txz5d.js} +3 -3
- package/dist/chunks/{scroll-scene-CFHW9iRD.cjs → scroll-scene-DSymhsCt.cjs} +3 -3
- package/dist/chunks/segmented-BEuxQKN8.js +1 -1
- package/dist/chunks/segmented-omNqJ1vK.cjs +1 -1
- package/dist/chunks/shader-backdrop-Tnlj5ag3.cjs +1 -1
- package/dist/chunks/shader-backdrop-jJaiqu2T.js +1 -1
- package/dist/chunks/shared-BxK1D7EZ.cjs +1 -1
- package/dist/chunks/shared-C8Pi6tuh.js +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/sheet-BHvZA7rD.js +1 -1
- package/dist/chunks/sheet-BfH5vWIW.cjs +1 -1
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-Dwm8Z6Iv.js +1 -1
- package/dist/chunks/skeleton-reveal-n4L3iur-.cjs +1 -1
- package/dist/chunks/sparkline-BtSW-HY0.js +1 -1
- package/dist/chunks/sparkline-DZiGHCOf.cjs +1 -1
- package/dist/chunks/spring-CznnvQCN.js +1 -1
- package/dist/chunks/spring-DcM7pQgx.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-BVt6aSMC.cjs +1 -1
- package/dist/chunks/suggestion-chips-CtgmWPtH.js +1 -1
- package/dist/chunks/switch-BKhvELnx.cjs +1 -1
- package/dist/chunks/switch-CZCdSuCz.js +1 -1
- package/dist/chunks/tab-bar-2d1734DE.js +1 -1
- package/dist/chunks/tab-bar-B3ucWWMl.cjs +1 -1
- package/dist/chunks/{ticker-vWmxVVge.js → ticker-CFlr9gom.js} +2 -2
- package/dist/chunks/{ticker-Bx4j1lSk.cjs → ticker-Dj7p5cMU.cjs} +2 -2
- package/dist/chunks/tip-BQwC2KtE.cjs +1 -1
- package/dist/chunks/tip-r4VuAjSI.js +1 -1
- package/dist/chunks/toast-stack-D3zrI7U6.js +1 -1
- package/dist/chunks/toast-stack-DfFjAKGz.cjs +1 -1
- package/dist/chunks/{tween-DhlovBgd.js → tween-DJfADHZK.js} +2 -2
- package/dist/chunks/{tween-DjySqWFm.cjs → tween-fNIolo0r.cjs} +2 -2
- package/dist/chunks/upload-progress-CkfDSMr-.js +1 -1
- package/dist/chunks/upload-progress-DmywVhec.cjs +1 -1
- package/dist/chunks/variants-DRi3tBJf.js +1 -1
- package/dist/chunks/variants-cVfgIaXa.cjs +1 -1
- package/dist/chunks/voice-button-CZ5cpeWN.cjs +1 -1
- package/dist/chunks/voice-button-DVovZYBR.js +1 -1
- package/dist/chunks/weather-card-DCzxr5T4.cjs +1 -1
- package/dist/chunks/weather-card-pF9sSKuI.js +1 -1
- package/dist/chunks/worker-canvas-CDc2aIKC.cjs +1 -1
- package/dist/chunks/worker-canvas-Hl3quLAh.js +1 -1
- package/dist/chunks/xp-bar-D4Yq5Dpv.cjs +1 -1
- package/dist/chunks/xp-bar-j1FsL32r.js +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +1 -1
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +2 -2
- package/dist/components/angular.d.cts +1 -1
- package/dist/components/angular.d.ts +1 -1
- package/dist/components/angular.js +2 -2
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +1 -1
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +1 -1
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +1 -1
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +1 -1
- package/dist/components/core.cjs +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/depth.cjs +1 -1
- package/dist/components/depth.js +1 -1
- package/dist/components/design.cjs +2 -2
- package/dist/components/design.d.cts +1 -1
- package/dist/components/design.d.ts +1 -1
- package/dist/components/design.js +2 -2
- package/dist/components/dotlottie.cjs +4 -4
- package/dist/components/dotlottie.js +4 -4
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +1 -1
- package/dist/components/effects.cjs +1 -1
- package/dist/components/effects.js +1 -1
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +1 -1
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +1 -1
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +1 -1
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +1 -1
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +1 -1
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +1 -1
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +1 -1
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +1 -1
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +1 -1
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +1 -1
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +1 -1
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +1 -1
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +1 -1
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +1 -1
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +1 -1
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +1 -1
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +1 -1
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +1 -1
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +1 -1
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +1 -1
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +1 -1
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +1 -1
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +1 -1
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +1 -1
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +1 -1
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +1 -1
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +1 -1
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +1 -1
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +1 -1
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +1 -1
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +1 -1
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +1 -1
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +1 -1
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +1 -1
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +1 -1
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +1 -1
- package/dist/components/gl-model.cjs +4 -4
- package/dist/components/gl-model.js +4 -4
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +1 -1
- package/dist/components/jsx.cjs +1 -1
- package/dist/components/jsx.js +1 -1
- package/dist/components/layout.cjs +1 -1
- package/dist/components/layout.js +1 -1
- package/dist/components/lazy.cjs +1 -1
- package/dist/components/lazy.js +1 -1
- package/dist/components/lite.cjs +1 -1
- package/dist/components/lite.js +1 -1
- package/dist/components/marketplace.cjs +1 -1
- package/dist/components/marketplace.js +1 -1
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +1 -1
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +1 -1
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +1 -1
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +1 -1
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +1 -1
- package/dist/components/react.cjs +1 -1
- package/dist/components/react.js +1 -1
- package/dist/components/reveal.cjs +1 -1
- package/dist/components/reveal.js +1 -1
- package/dist/components/snap-carousel.cjs +3 -3
- package/dist/components/snap-carousel.js +3 -3
- package/dist/components/solid.cjs +1 -1
- package/dist/components/solid.js +1 -1
- package/dist/components/svelte.cjs +1 -1
- package/dist/components/svelte.js +1 -1
- package/dist/components/svg.cjs +1 -1
- package/dist/components/svg.js +1 -1
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +1 -1
- package/dist/components/tokens.cjs +1 -1
- package/dist/components/tokens.js +1 -1
- package/dist/components/transitions.cjs +1 -1
- package/dist/components/transitions.js +1 -1
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +1 -1
- package/dist/components/vue.cjs +1 -1
- package/dist/components/vue.js +1 -1
- package/dist/components/webgl.cjs +1 -1
- package/dist/components/webgl.js +1 -1
- package/dist/components/widgets.cjs +7 -7
- package/dist/components/widgets.d.cts +2 -2
- package/dist/components/widgets.d.ts +2 -2
- package/dist/components/widgets.js +9 -9
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/components.umd.js +1 -1
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +1 -1
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +1 -1
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +1 -1
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +1 -1
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +1 -1
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +1 -1
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +1 -1
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +1 -1
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +1 -1
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +1 -1
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +1 -1
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +1 -1
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +1 -1
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +1 -1
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +1 -1
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +1 -1
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +1 -1
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +1 -1
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +1 -1
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +1 -1
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +1 -1
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +1 -1
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +1 -1
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +1 -1
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +1 -1
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +1 -1
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +1 -1
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +1 -1
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +1 -1
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +1 -1
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +1 -1
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +1 -1
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +1 -1
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +1 -1
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +1 -1
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +1 -1
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +1 -1
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +1 -1
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +1 -1
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +1 -1
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +1 -1
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +1 -1
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +1 -1
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +1 -1
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +1 -1
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +1 -1
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +1 -1
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +1 -1
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +1 -1
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +1 -1
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +1 -1
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +1 -1
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +1 -1
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +1 -1
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +1 -1
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +1 -1
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +1 -1
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +1 -1
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +1 -1
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +1 -1
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +1 -1
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +1 -1
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +1 -1
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +1 -1
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +1 -1
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +1 -1
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +1 -1
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +1 -1
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +1 -1
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +1 -1
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +1 -1
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +1 -1
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +1 -1
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +1 -1
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +1 -1
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +1 -1
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +1 -1
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +1 -1
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +1 -1
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +1 -1
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +1 -1
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +1 -1
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +1 -1
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +1 -1
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +1 -1
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +1 -1
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +1 -1
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +1 -1
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +1 -1
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +1 -1
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +1 -1
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +1 -1
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +1 -1
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +1 -1
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +1 -1
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +1 -1
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +1 -1
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +1 -1
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +1 -1
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +1 -1
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +1 -1
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +1 -1
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +1 -1
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +1 -1
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +1 -1
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +1 -1
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +1 -1
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +1 -1
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +1 -1
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +1 -1
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +1 -1
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +1 -1
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +1 -1
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +1 -1
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +1 -1
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +1 -1
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +1 -1
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +1 -1
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +1 -1
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +1 -1
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +1 -1
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +1 -1
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +1 -1
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +1 -1
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +1 -1
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +1 -1
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +1 -1
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +1 -1
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +1 -1
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +1 -1
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +1 -1
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +1 -1
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +1 -1
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +1 -1
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +1 -1
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +1 -1
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +1 -1
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +1 -1
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +1 -1
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +1 -1
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +1 -1
- package/dist/element.cjs +1 -1
- package/dist/element.js +1 -1
- package/dist/element.umd.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/llms-full.txt +300 -300
- package/dist/llms.txt +2 -2
- package/dist/manifest.json +270 -269
- package/dist/presets/extended.cjs +1 -1
- package/dist/presets/extended.js +1 -1
- package/dist/presets-extended.umd.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/runtime/drag-snap.cjs +2 -2
- package/dist/runtime/drag-snap.iife.js +1 -1
- package/dist/runtime/drag-snap.js +2 -2
- package/dist/runtime/format-apng.cjs +5 -5
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +5 -5
- package/dist/runtime/format-css.cjs +5 -5
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +5 -5
- package/dist/runtime/format-gif.cjs +5 -5
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +5 -5
- package/dist/runtime/format-gltf.cjs +2 -2
- package/dist/runtime/format-gltf.iife.js +1 -1
- package/dist/runtime/format-gltf.js +2 -2
- package/dist/runtime/format-motion.cjs +5 -5
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +5 -5
- package/dist/runtime/format-obj.cjs +2 -2
- package/dist/runtime/format-obj.iife.js +1 -1
- package/dist/runtime/format-obj.js +2 -2
- package/dist/runtime/format-scene.cjs +2 -2
- package/dist/runtime/format-scene.iife.js +1 -1
- package/dist/runtime/format-scene.js +2 -2
- package/dist/runtime/format-sprite.cjs +4 -4
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +4 -4
- package/dist/runtime/format-svg.cjs +4 -4
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +4 -4
- package/dist/runtime/format-webp.cjs +5 -5
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +5 -5
- package/dist/runtime/gl.cjs +2 -2
- package/dist/runtime/gl.iife.js +1 -1
- package/dist/runtime/gl.js +2 -2
- package/dist/runtime/gltf-anim.cjs +2 -2
- package/dist/runtime/gltf-anim.iife.js +1 -1
- package/dist/runtime/gltf-anim.js +2 -2
- package/dist/runtime/gltf-decoders.cjs +2 -2
- package/dist/runtime/gltf-decoders.iife.js +1 -1
- package/dist/runtime/gltf-decoders.js +2 -2
- package/dist/runtime/lottie-state.cjs +2 -2
- package/dist/runtime/lottie-state.iife.js +1 -1
- package/dist/runtime/lottie-state.js +2 -2
- package/dist/runtime/physics.cjs +2 -2
- package/dist/runtime/physics.iife.js +1 -1
- package/dist/runtime/physics.js +2 -2
- package/dist/runtime/scroll.cjs +3 -3
- package/dist/runtime/scroll.iife.js +1 -1
- package/dist/runtime/scroll.js +3 -3
- package/dist/runtime/smooth.cjs +2 -2
- package/dist/runtime/smooth.iife.js +1 -1
- package/dist/runtime/smooth.js +2 -2
- package/dist/runtime/text.cjs +2 -2
- package/dist/runtime/text.iife.js +1 -1
- package/dist/runtime/text.js +2 -2
- package/dist/runtime/vector.cjs +4 -4
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +4 -4
- package/dist/runtime.cjs +4 -4
- package/dist/runtime.d.cts +2 -2
- package/dist/runtime.d.ts +2 -2
- package/dist/runtime.iife.js +2 -2
- package/dist/runtime.js +6 -6
- package/dist/solid.cjs +1 -1
- package/dist/solid.js +1 -1
- package/dist/svelte.cjs +1 -1
- package/dist/svelte.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/dist/widgets/add-to-cart.cjs +1 -1
- package/dist/widgets/add-to-cart.js +1 -1
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +1 -1
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +1 -1
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +1 -1
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +1 -1
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +1 -1
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +1 -1
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +1 -1
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +1 -1
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +1 -1
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +1 -1
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +1 -1
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +1 -1
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +1 -1
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +1 -1
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +1 -1
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +1 -1
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +1 -1
- package/dist/widgets/dotlottie.cjs +4 -4
- package/dist/widgets/dotlottie.js +4 -4
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +1 -1
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +1 -1
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +1 -1
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +1 -1
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +1 -1
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +1 -1
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +1 -1
- package/dist/widgets/gl-model.cjs +4 -4
- package/dist/widgets/gl-model.js +4 -4
- package/dist/widgets/gl-scene.cjs +4 -4
- package/dist/widgets/gl-scene.js +4 -4
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +1 -1
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +1 -1
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +1 -1
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +1 -1
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +1 -1
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +1 -1
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +1 -1
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +1 -1
- package/dist/widgets/keyframe-editor.cjs +1 -1
- package/dist/widgets/keyframe-editor.js +1 -1
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +1 -1
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +1 -1
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +1 -1
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +1 -1
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +1 -1
- package/dist/widgets/lottie-player.cjs +4 -4
- package/dist/widgets/lottie-player.js +4 -4
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +1 -1
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +1 -1
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +1 -1
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +1 -1
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +1 -1
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +1 -1
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +1 -1
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +1 -1
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +2 -2
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +1 -1
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +1 -1
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +1 -1
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +1 -1
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +1 -1
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +1 -1
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +1 -1
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +1 -1
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +1 -1
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +1 -1
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +1 -1
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +1 -1
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +1 -1
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +1 -1
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +1 -1
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +1 -1
- package/dist/widgets/physics-playground.cjs +4 -4
- package/dist/widgets/physics-playground.js +4 -4
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +3 -3
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +1 -1
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +1 -1
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +1 -1
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +1 -1
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +1 -1
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +1 -1
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +1 -1
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +1 -1
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +1 -1
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +1 -1
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +1 -1
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +1 -1
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +1 -1
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +1 -1
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +1 -1
- package/dist/widgets/scroll-scene.cjs +4 -4
- package/dist/widgets/scroll-scene.js +4 -4
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +1 -1
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +1 -1
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +1 -1
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +1 -1
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +1 -1
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +1 -1
- package/dist/widgets/smooth-scroll.cjs +3 -3
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +3 -3
- package/dist/widgets/snap-carousel.js +3 -3
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +1 -1
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +1 -1
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +1 -1
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +1 -1
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +1 -1
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +1 -1
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +1 -1
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +1 -1
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +1 -1
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +1 -1
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +1 -1
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +3 -3
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +1 -1
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +1 -1
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +1 -1
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +1 -1
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +1 -1
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +1 -1
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +1 -1
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +1 -1
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +1 -1
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +1 -1
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +1 -1
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +1 -1
- package/dist/widgets.umd.js +2 -2
- package/docs/ai-provider.md +1 -1
- package/docs/architecture.md +1 -1
- package/docs/component-contract.md +1 -1
- package/docs/components/README.md +1 -1
- package/docs/components/usa-accordion.md +1 -1
- package/docs/components/usa-acrylic.md +1 -1
- package/docs/components/usa-add-to-cart.md +1 -1
- package/docs/components/usa-ambient.md +1 -1
- package/docs/components/usa-anim-icon.md +1 -1
- package/docs/components/usa-audio.md +1 -1
- package/docs/components/usa-aurora.md +1 -1
- package/docs/components/usa-auto-animate.md +1 -1
- package/docs/components/usa-auto-skeleton.md +1 -1
- package/docs/components/usa-avatar-stack.md +1 -1
- package/docs/components/usa-back-to-top.md +1 -1
- package/docs/components/usa-badge-wall.md +1 -1
- package/docs/components/usa-badge.md +1 -1
- package/docs/components/usa-bar-chart.md +1 -1
- package/docs/components/usa-bg-generator.md +1 -1
- package/docs/components/usa-blobs.md +1 -1
- package/docs/components/usa-bottom-sheet.md +1 -1
- package/docs/components/usa-button.md +1 -1
- package/docs/components/usa-card-stack.md +1 -1
- package/docs/components/usa-card.md +1 -1
- package/docs/components/usa-carousel-3d.md +1 -1
- package/docs/components/usa-carousel.md +1 -1
- package/docs/components/usa-cart-drawer.md +1 -1
- package/docs/components/usa-chapter-nav.md +1 -1
- package/docs/components/usa-chat-composer.md +1 -1
- package/docs/components/usa-check.md +1 -1
- package/docs/components/usa-checkbox.md +1 -1
- package/docs/components/usa-click.md +1 -1
- package/docs/components/usa-clock-control.md +1 -1
- package/docs/components/usa-code-export.md +1 -1
- package/docs/components/usa-color-picker.md +1 -1
- package/docs/components/usa-command-palette.md +1 -1
- package/docs/components/usa-compare.md +1 -1
- package/docs/components/usa-countdown.md +1 -1
- package/docs/components/usa-counter.md +1 -1
- package/docs/components/usa-cube-gallery.md +1 -1
- package/docs/components/usa-cube.md +1 -1
- package/docs/components/usa-cursor.md +1 -1
- package/docs/components/usa-date-picker.md +1 -1
- package/docs/components/usa-depth.md +1 -1
- package/docs/components/usa-dialog.md +1 -1
- package/docs/components/usa-disclosure.md +1 -1
- package/docs/components/usa-distort.md +1 -1
- package/docs/components/usa-dock.md +1 -1
- package/docs/components/usa-dot-network.md +1 -1
- package/docs/components/usa-dotlottie.md +6 -6
- package/docs/components/usa-double-tap.md +1 -1
- package/docs/components/usa-draggable.md +1 -1
- package/docs/components/usa-draw.md +1 -1
- package/docs/components/usa-drawer.md +1 -1
- package/docs/components/usa-equalizer.md +1 -1
- package/docs/components/usa-fab.md +1 -1
- package/docs/components/usa-festival-banner.md +1 -1
- package/docs/components/usa-field.md +1 -1
- package/docs/components/usa-file-drop.md +1 -1
- package/docs/components/usa-fullpage.md +1 -1
- package/docs/components/usa-fx.md +1 -1
- package/docs/components/usa-gauge.md +1 -1
- package/docs/components/usa-gen-art.md +1 -1
- package/docs/components/usa-gesture-fx.md +1 -1
- package/docs/components/usa-gesture-sticker.md +1 -1
- package/docs/components/usa-gl-model.md +7 -7
- package/docs/components/usa-gl-scene.md +8 -8
- package/docs/components/usa-glitch.md +1 -1
- package/docs/components/usa-globe.md +1 -1
- package/docs/components/usa-gpu-particles.md +1 -1
- package/docs/components/usa-gradient-text.md +1 -1
- package/docs/components/usa-grain.md +1 -1
- package/docs/components/usa-grid-glow.md +1 -1
- package/docs/components/usa-gyro-card.md +1 -1
- package/docs/components/usa-handwriting.md +1 -1
- package/docs/components/usa-hero-video.md +1 -1
- package/docs/components/usa-hold.md +1 -1
- package/docs/components/usa-hud-panel.md +1 -1
- package/docs/components/usa-hydrate.md +1 -1
- package/docs/components/usa-icon-morph.md +1 -1
- package/docs/components/usa-install-button.md +3 -3
- package/docs/components/usa-kanban.md +1 -1
- package/docs/components/usa-keyframe-editor.md +1 -1
- package/docs/components/usa-kpi.md +1 -1
- package/docs/components/usa-leaderboard.md +1 -1
- package/docs/components/usa-like.md +1 -1
- package/docs/components/usa-liquid-nav.md +1 -1
- package/docs/components/usa-liquid.md +1 -1
- package/docs/components/usa-loading-bar.md +1 -1
- package/docs/components/usa-location-card.md +1 -1
- package/docs/components/usa-lottie-icon.md +1 -1
- package/docs/components/usa-lottie-player.md +5 -5
- package/docs/components/usa-lottie.md +1 -1
- package/docs/components/usa-lyrics.md +1 -1
- package/docs/components/usa-magnetic.md +1 -1
- package/docs/components/usa-marquee.md +1 -1
- package/docs/components/usa-mask-reveal.md +1 -1
- package/docs/components/usa-masonry-flow.md +1 -1
- package/docs/components/usa-masonry.md +1 -1
- package/docs/components/usa-menu-toggle.md +1 -1
- package/docs/components/usa-menu.md +1 -1
- package/docs/components/usa-message-list.md +1 -1
- package/docs/components/usa-milestones.md +1 -1
- package/docs/components/usa-modal.md +1 -1
- package/docs/components/usa-morph.md +1 -1
- package/docs/components/usa-motion-inspector.md +1 -1
- package/docs/components/usa-motion-prefs.md +1 -1
- package/docs/components/usa-motion-prompt.md +1 -1
- package/docs/components/usa-motion-spec.md +1 -1
- package/docs/components/usa-motion-switch.md +1 -1
- package/docs/components/usa-motion-theme.md +1 -1
- package/docs/components/usa-motion.md +1 -1
- package/docs/components/usa-music-player.md +1 -1
- package/docs/components/usa-native-preview.md +1 -1
- package/docs/components/usa-nav-morph.md +1 -1
- package/docs/components/usa-navbar.md +1 -1
- package/docs/components/usa-notification-bell.md +1 -1
- package/docs/components/usa-odometer.md +1 -1
- package/docs/components/usa-organic-card.md +1 -1
- package/docs/components/usa-otp.md +1 -1
- package/docs/components/usa-overscroll.md +1 -1
- package/docs/components/usa-pack.md +1 -1
- package/docs/components/usa-pagination.md +1 -1
- package/docs/components/usa-panorama.md +1 -1
- package/docs/components/usa-parallax-layers.md +1 -1
- package/docs/components/usa-particles.md +1 -1
- package/docs/components/usa-pause-all.md +1 -1
- package/docs/components/usa-perf-monitor.md +1 -1
- package/docs/components/usa-physics-playground.md +6 -6
- package/docs/components/usa-pinch-zoom.md +1 -1
- package/docs/components/usa-player.md +1 -1
- package/docs/components/usa-plugin-card.md +4 -4
- package/docs/components/usa-plugin-store.md +1 -1
- package/docs/components/usa-popover.md +1 -1
- package/docs/components/usa-post-fx.md +1 -1
- package/docs/components/usa-presence.md +1 -1
- package/docs/components/usa-press.md +1 -1
- package/docs/components/usa-prize-wheel.md +1 -1
- package/docs/components/usa-product-gallery.md +1 -1
- package/docs/components/usa-progress-ring.md +1 -1
- package/docs/components/usa-progress.md +1 -1
- package/docs/components/usa-prop-panel.md +1 -1
- package/docs/components/usa-pull-cord.md +1 -1
- package/docs/components/usa-pull-refresh.md +1 -1
- package/docs/components/usa-radar.md +1 -1
- package/docs/components/usa-reactions.md +1 -1
- package/docs/components/usa-red-envelope.md +1 -1
- package/docs/components/usa-retro-button.md +1 -1
- package/docs/components/usa-reveal.md +1 -1
- package/docs/components/usa-ripple.md +1 -1
- package/docs/components/usa-rive.md +3 -3
- package/docs/components/usa-route-transition.md +1 -1
- package/docs/components/usa-scene.md +1 -1
- package/docs/components/usa-scramble.md +1 -1
- package/docs/components/usa-scroll-highlight.md +1 -1
- package/docs/components/usa-scroll-progress.md +1 -1
- package/docs/components/usa-scroll-ring.md +1 -1
- package/docs/components/usa-scroll-scene.md +5 -5
- package/docs/components/usa-scrolly.md +1 -1
- package/docs/components/usa-segmented.md +1 -1
- package/docs/components/usa-shader-backdrop.md +1 -1
- package/docs/components/usa-shader.md +1 -1
- package/docs/components/usa-sheet.md +1 -1
- package/docs/components/usa-shimmer-text.md +1 -1
- package/docs/components/usa-shortcut.md +1 -1
- package/docs/components/usa-skeleton-reveal.md +1 -1
- package/docs/components/usa-skeleton.md +1 -1
- package/docs/components/usa-sketch-chart.md +1 -1
- package/docs/components/usa-slider.md +1 -1
- package/docs/components/usa-smooth-scroll.md +5 -5
- package/docs/components/usa-snap-carousel.md +5 -5
- package/docs/components/usa-sparkline.md +1 -1
- package/docs/components/usa-spatial-card.md +1 -1
- package/docs/components/usa-spinner.md +1 -1
- package/docs/components/usa-splash.md +1 -1
- package/docs/components/usa-split-text.md +1 -1
- package/docs/components/usa-spotlight.md +1 -1
- package/docs/components/usa-spring.md +1 -1
- package/docs/components/usa-stagger.md +1 -1
- package/docs/components/usa-star-rating.md +1 -1
- package/docs/components/usa-stepper.md +1 -1
- package/docs/components/usa-sticky-stack.md +1 -1
- package/docs/components/usa-sticky-wall.md +1 -1
- package/docs/components/usa-stories.md +1 -1
- package/docs/components/usa-story.md +1 -1
- package/docs/components/usa-suggestion-chips.md +1 -1
- package/docs/components/usa-swipe-deck.md +1 -1
- package/docs/components/usa-swipeable.md +1 -1
- package/docs/components/usa-switch.md +1 -1
- package/docs/components/usa-tab-bar.md +1 -1
- package/docs/components/usa-tabs.md +1 -1
- package/docs/components/usa-terminal.md +1 -1
- package/docs/components/usa-text-rotate.md +1 -1
- package/docs/components/usa-text-splitter.md +5 -5
- package/docs/components/usa-theme-surface.md +1 -1
- package/docs/components/usa-theme-switcher.md +1 -1
- package/docs/components/usa-tilt.md +1 -1
- package/docs/components/usa-timeline.md +1 -1
- package/docs/components/usa-tip.md +1 -1
- package/docs/components/usa-toast-stack.md +1 -1
- package/docs/components/usa-toaster.md +1 -1
- package/docs/components/usa-token-editor.md +1 -1
- package/docs/components/usa-typewriter.md +1 -1
- package/docs/components/usa-upload-progress.md +1 -1
- package/docs/components/usa-video-card.md +1 -1
- package/docs/components/usa-view-switch.md +1 -1
- package/docs/components/usa-voice-button.md +1 -1
- package/docs/components/usa-volume-knob.md +1 -1
- package/docs/components/usa-water-ripple.md +1 -1
- package/docs/components/usa-wave-text.md +1 -1
- package/docs/components/usa-weather-card.md +1 -1
- package/docs/components/usa-worker-canvas.md +1 -1
- package/docs/components/usa-xp-bar.md +1 -1
- package/docs/components.md +53 -53
- package/docs/mcp.md +2 -2
- package/docs/runtime/core.md +2 -2
- package/docs/runtime/drag-snap.md +3 -3
- package/docs/runtime/format-apng.md +3 -3
- package/docs/runtime/format-css.md +3 -3
- package/docs/runtime/format-gif.md +3 -3
- package/docs/runtime/format-gltf.md +3 -3
- package/docs/runtime/format-motion.md +3 -3
- package/docs/runtime/format-obj.md +3 -3
- package/docs/runtime/format-scene.md +3 -3
- package/docs/runtime/format-sprite.md +3 -3
- package/docs/runtime/format-svg.md +3 -3
- package/docs/runtime/format-webp.md +3 -3
- package/docs/runtime/gl.md +3 -3
- package/docs/runtime/gltf-anim.md +3 -3
- package/docs/runtime/gltf-decoders.md +3 -3
- package/docs/runtime/lottie-state.md +3 -3
- package/docs/runtime/physics.md +3 -3
- package/docs/runtime/scroll.md +3 -3
- package/docs/runtime/smooth.md +3 -3
- package/docs/runtime/text.md +3 -3
- package/docs/runtime/vector.md +3 -3
- package/docs/runtime-tiers.md +1 -1
- package/docs/upgrading-13.md +2 -0
- package/figma-plugin/README.md +1 -1
- package/figma-plugin/code.js +1 -1
- package/package.json +2 -54
- package/dist/deprecated/components-ai.d.cts +0 -21
- package/dist/deprecated/components-ai.d.ts +0 -21
- package/dist/deprecated/components-angular.d.cts +0 -12
- package/dist/deprecated/components-angular.d.ts +0 -12
- package/dist/deprecated/components-core.d.cts +0 -17
- package/dist/deprecated/components-core.d.ts +0 -17
- package/dist/deprecated/components-design.d.cts +0 -7
- package/dist/deprecated/components-design.d.ts +0 -7
- package/dist/deprecated/design.d.cts +0 -7
- package/dist/deprecated/design.d.ts +0 -7
package/dist/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Motionary
|
|
1
|
+
# Motionary 13.0.0 — full component reference
|
|
2
2
|
|
|
3
3
|
Generated from the source. Machine-readable version: https://harrisoncn.github.io/Motionary/components.json (schema https://harrisoncn.github.io/Motionary/components.schema.json).
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@ Shared ticker (one rAF loop), tween + timeline engine with easing, module regist
|
|
|
14
14
|
- CDN:
|
|
15
15
|
|
|
16
16
|
```html
|
|
17
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
17
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
20
|
```js
|
|
@@ -34,8 +34,8 @@ Import CSS @keyframes text or live CSSKeyframesRule objects and Web Animations A
|
|
|
34
34
|
- CDN:
|
|
35
35
|
|
|
36
36
|
```html
|
|
37
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
38
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
37
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-css.iife.js"></script>
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
```js
|
|
@@ -56,8 +56,8 @@ Play Motion / Framer-style { initial, animate, transition } JSON (arrays as keyf
|
|
|
56
56
|
- CDN:
|
|
57
57
|
|
|
58
58
|
```html
|
|
59
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
60
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
59
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-motion.iife.js"></script>
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
```js
|
|
@@ -77,8 +77,8 @@ Scroll-linked scenes: start / end rules, scrub (direct or smoothed), pin, marker
|
|
|
77
77
|
- CDN:
|
|
78
78
|
|
|
79
79
|
```html
|
|
80
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
81
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
80
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
81
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/scroll.iife.js"></script>
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
```js
|
|
@@ -99,8 +99,8 @@ Replay SVG SMIL animations (animate, set, animateTransform, animateMotion) on th
|
|
|
99
99
|
- CDN:
|
|
100
100
|
|
|
101
101
|
```html
|
|
102
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
103
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
102
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-svg.iife.js"></script>
|
|
104
104
|
```
|
|
105
105
|
|
|
106
106
|
```js
|
|
@@ -123,8 +123,8 @@ Split text into characters (grapheme-aware), words and lines for animation while
|
|
|
123
123
|
- CDN:
|
|
124
124
|
|
|
125
125
|
```html
|
|
126
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
127
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
126
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
127
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/text.iife.js"></script>
|
|
128
128
|
```
|
|
129
129
|
|
|
130
130
|
```js
|
|
@@ -145,8 +145,8 @@ Play TexturePacker / Aseprite sprite sheets and numbered image sequences on a ca
|
|
|
145
145
|
- CDN:
|
|
146
146
|
|
|
147
147
|
```html
|
|
148
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
149
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
148
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
149
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-sprite.iife.js"></script>
|
|
150
150
|
```
|
|
151
151
|
|
|
152
152
|
```js
|
|
@@ -168,8 +168,8 @@ Smooth, inertial wheel scrolling (lerp or fixed-duration glide) for the window o
|
|
|
168
168
|
- CDN:
|
|
169
169
|
|
|
170
170
|
```html
|
|
171
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
172
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
171
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
172
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/smooth.iife.js"></script>
|
|
173
173
|
```
|
|
174
174
|
|
|
175
175
|
```js
|
|
@@ -190,8 +190,8 @@ Decode animated GIFs (own LZW decoder, no DOM) into composited RGBA frames and p
|
|
|
190
190
|
- CDN:
|
|
191
191
|
|
|
192
192
|
```html
|
|
193
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
194
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
193
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
194
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gif.iife.js"></script>
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
```js
|
|
@@ -213,8 +213,8 @@ Split animated PNGs into standalone frame PNGs (decoded by the browser), composi
|
|
|
213
213
|
- CDN:
|
|
214
214
|
|
|
215
215
|
```html
|
|
216
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
217
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
216
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
217
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-apng.iife.js"></script>
|
|
218
218
|
```
|
|
219
219
|
|
|
220
220
|
```js
|
|
@@ -235,8 +235,8 @@ Split animated WebP files (ANIM / ANMF) into standalone frames (decoded by the b
|
|
|
235
235
|
- CDN:
|
|
236
236
|
|
|
237
237
|
```html
|
|
238
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
239
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
238
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
239
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-webp.iife.js"></script>
|
|
240
240
|
```
|
|
241
241
|
|
|
242
242
|
```js
|
|
@@ -257,8 +257,8 @@ A small WebGL2 renderer with its own API: scene graph, camera, lights, box / pla
|
|
|
257
257
|
- CDN:
|
|
258
258
|
|
|
259
259
|
```html
|
|
260
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
261
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
260
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
261
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
262
262
|
```
|
|
263
263
|
|
|
264
264
|
```js
|
|
@@ -281,8 +281,8 @@ Load glTF 2.0 (.gltf with external or data: buffers, .glb) into motionary/runtim
|
|
|
281
281
|
- CDN:
|
|
282
282
|
|
|
283
283
|
```html
|
|
284
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
285
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
284
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
285
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
286
286
|
```
|
|
287
287
|
|
|
288
288
|
```js
|
|
@@ -306,8 +306,8 @@ Load Wavefront OBJ (+ MTL materials and diffuse textures) into motionary/runtime
|
|
|
306
306
|
- CDN:
|
|
307
307
|
|
|
308
308
|
```html
|
|
309
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
310
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
309
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
310
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-obj.iife.js"></script>
|
|
311
311
|
```
|
|
312
312
|
|
|
313
313
|
```js
|
|
@@ -329,8 +329,8 @@ Plays Lottie (bodymovin JSON) and dotLottie (.lottie) files on Canvas 2D with Mo
|
|
|
329
329
|
- CDN:
|
|
330
330
|
|
|
331
331
|
```html
|
|
332
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
333
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
332
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
333
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
334
334
|
```
|
|
335
335
|
|
|
336
336
|
```js
|
|
@@ -372,8 +372,8 @@ A small 2D rigid-body engine written for Motionary (own implementation and API
|
|
|
372
372
|
- CDN:
|
|
373
373
|
|
|
374
374
|
```html
|
|
375
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
376
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
375
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
376
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/physics.iife.js"></script>
|
|
377
377
|
```
|
|
378
378
|
|
|
379
379
|
```js
|
|
@@ -396,8 +396,8 @@ The versioned motionary-scene@1 format: a JSON description of a 2D physics scene
|
|
|
396
396
|
- CDN:
|
|
397
397
|
|
|
398
398
|
```html
|
|
399
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
400
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
399
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
400
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-scene.iife.js"></script>
|
|
401
401
|
```
|
|
402
402
|
|
|
403
403
|
```js
|
|
@@ -419,8 +419,8 @@ Pointer drag along one axis with velocity tracking, inertial throws, rubber-band
|
|
|
419
419
|
- CDN:
|
|
420
420
|
|
|
421
421
|
```html
|
|
422
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
423
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
422
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
423
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/drag-snap.iife.js"></script>
|
|
424
424
|
```
|
|
425
425
|
|
|
426
426
|
```js
|
|
@@ -442,8 +442,8 @@ Plays glTF 2.0 animations on models loaded by motionary/runtime/format-gltf: tra
|
|
|
442
442
|
- CDN:
|
|
443
443
|
|
|
444
444
|
```html
|
|
445
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
446
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
445
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
446
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-anim.iife.js"></script>
|
|
447
447
|
```
|
|
448
448
|
|
|
449
449
|
```js
|
|
@@ -467,8 +467,8 @@ Resolves Lottie slots with dotLottie themes (Color / Scalar / Vector / Text rule
|
|
|
467
467
|
- CDN:
|
|
468
468
|
|
|
469
469
|
```html
|
|
470
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
471
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
470
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
471
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/lottie-state.iife.js"></script>
|
|
472
472
|
```
|
|
473
473
|
|
|
474
474
|
```js
|
|
@@ -492,8 +492,8 @@ Lets motionary/runtime/format-gltf load KHR_draco_mesh_compression meshes and KH
|
|
|
492
492
|
- CDN:
|
|
493
493
|
|
|
494
494
|
```html
|
|
495
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
496
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
495
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
496
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-decoders.iife.js"></script>
|
|
497
497
|
```
|
|
498
498
|
|
|
499
499
|
```js
|
|
@@ -549,7 +549,7 @@ provideGltfDecoder('ktx2', () => window.BASIS);
|
|
|
549
549
|
Smooth expand / collapse for native <details> — semantics, keyboard and find-in-page kept; no wrapper elements.
|
|
550
550
|
|
|
551
551
|
- Import: `import { defineAccordion } from 'motionary/components/transitions'; defineAccordion();`
|
|
552
|
-
- CDN: https://unpkg.com/motionary@
|
|
552
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
553
553
|
- Attributes: `multiple`, `duration`
|
|
554
554
|
- Events: `usa:toggle`
|
|
555
555
|
- Methods: `toggleItem()`
|
|
@@ -566,7 +566,7 @@ Smooth expand / collapse for native <details> — semantics, keyboard and find-i
|
|
|
566
566
|
Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mica. Solid fallback when transparency is reduced.
|
|
567
567
|
|
|
568
568
|
- Import: `import { defineAcrylic } from 'motionary/components/background'; defineAcrylic();`
|
|
569
|
-
- CDN: https://unpkg.com/motionary@
|
|
569
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
570
570
|
- Attributes: `tint`, `tint-opacity`, `blur`, `shimmer`
|
|
571
571
|
|
|
572
572
|
```html
|
|
@@ -581,7 +581,7 @@ Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mic
|
|
|
581
581
|
7.3: a buy button — the product photo flies on an arc into the cart, the cart badge bumps and the button morphs into a ✓ “Added” state. Works with <usa-cart-drawer> (calls add(item)) or any [data-cart] icon.
|
|
582
582
|
|
|
583
583
|
- Import: `import { defineAddToCart } from 'motionary/components/widgets'; defineAddToCart();`
|
|
584
|
-
- CDN: https://unpkg.com/motionary@
|
|
584
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
585
585
|
- Attributes: `label`, `added`, `item`, `cart`, `from`, `hold`
|
|
586
586
|
- Events: `usa:add`
|
|
587
587
|
- Methods: `add()`
|
|
@@ -599,7 +599,7 @@ Windows Fluent materials: frosted acrylic (backdrop blur + tint + noise) and mic
|
|
|
599
599
|
A fixed page-wide layer: drifting particles, falling snow, twinkling stars, film grain or a gradient that shifts with scroll.
|
|
600
600
|
|
|
601
601
|
- Import: `import { defineAmbient } from 'motionary/components/page'; defineAmbient();`
|
|
602
|
-
- CDN: https://unpkg.com/motionary@
|
|
602
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
603
603
|
- Attributes: `effect`, `density`, `color`, `opacity`, `speed`
|
|
604
604
|
- Methods: `mount()`, `upd()`, `resize()`, `resize()`, `draw()`, `draw()`, `unmount()`, `caf()`
|
|
605
605
|
|
|
@@ -612,7 +612,7 @@ A fixed page-wide layer: drifting particles, falling snow, twinkling stars, film
|
|
|
612
612
|
Stroke icons that move: the bell rings, the heart beats, the check draws, the gear turns. Hover, click, in view or loop; decorative unless labelled.
|
|
613
613
|
|
|
614
614
|
- Import: `import { defineAnimIcon } from 'motionary/components/svg'; defineAnimIcon();`
|
|
615
|
-
- CDN: https://unpkg.com/motionary@
|
|
615
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
616
616
|
- Attributes: `name`, `size`, `label`, `trigger`
|
|
617
617
|
- Methods: `play()`
|
|
618
618
|
|
|
@@ -626,7 +626,7 @@ Stroke icons that move: the bell rings, the heart beats, the check draws, the ge
|
|
|
626
626
|
5.6: <usa-audio> renders a toggle (a user gesture starts Web Audio), detects beats and plays any registered effect on children with data-usa-beat="effect". JS: bindBeat(el, "pop"). Beats play nothing under reduced motion.
|
|
627
627
|
|
|
628
628
|
- Import: `import { defineAudio } from 'motionary/components/effects'; defineAudio();`
|
|
629
|
-
- CDN: https://unpkg.com/motionary@
|
|
629
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
630
630
|
- Attributes: `source`, `label`, `threshold`, `cooldown`
|
|
631
631
|
- Events: `usa:beat`, `usa:audio-error`
|
|
632
632
|
- Methods: `toggle()`
|
|
@@ -643,7 +643,7 @@ Stroke icons that move: the bell rings, the heart beats, the check draws, the ge
|
|
|
643
643
|
A slow drifting gradient mesh behind its content. Transforms only, paused off-screen, still under reduced motion.
|
|
644
644
|
|
|
645
645
|
- Import: `import { defineAurora } from 'motionary/components/background'; defineAurora();`
|
|
646
|
-
- CDN: https://unpkg.com/motionary@
|
|
646
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
647
647
|
- Attributes: `colors`, `speed`, `intensity`
|
|
648
648
|
|
|
649
649
|
```html
|
|
@@ -657,7 +657,7 @@ A slow drifting gradient mesh behind its content. Transforms only, paused off-sc
|
|
|
657
657
|
Wrap a list or grid: items that are added fade in, removed ones fade out in place, and everything else glides to its new spot — on sort, filter or resize. Zero code at the call site.
|
|
658
658
|
|
|
659
659
|
- Import: `import { defineAutoAnimate } from 'motionary/components/layout'; defineAutoAnimate();`
|
|
660
|
-
- CDN: https://unpkg.com/motionary@
|
|
660
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
661
661
|
- Attributes: `duration`, `no-scale`
|
|
662
662
|
- Methods: `enable()`, `disable()`
|
|
663
663
|
|
|
@@ -678,7 +678,7 @@ Wrap a list or grid: items that are added fade in, removed ones fade out in plac
|
|
|
678
678
|
Set loading and every heading, paragraph, image and button inside becomes a shimmering placeholder of its own size — no extra markup.
|
|
679
679
|
|
|
680
680
|
- Import: `import { defineAutoSkeleton } from 'motionary/components/page'; defineAutoSkeleton();`
|
|
681
|
-
- CDN: https://unpkg.com/motionary@
|
|
681
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
682
682
|
- Attributes: `loading`
|
|
683
683
|
|
|
684
684
|
```html
|
|
@@ -693,7 +693,7 @@ Set loading and every heading, paragraph, image and button inside becomes a shim
|
|
|
693
693
|
Overlapping avatars that spread apart with a spring on hover; extras collapse into “+N”.
|
|
694
694
|
|
|
695
695
|
- Import: `import { defineAvatarStack } from 'motionary/components/ui'; defineAvatarStack();`
|
|
696
|
-
- CDN: https://unpkg.com/motionary@
|
|
696
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
697
697
|
- Attributes: `max`, `size`, `overlap`, `label`
|
|
698
698
|
- Methods: `adoptVariants()`, `mount()`
|
|
699
699
|
|
|
@@ -709,7 +709,7 @@ Overlapping avatars that spread apart with a spring on hover; extras collapse in
|
|
|
709
709
|
Appears after you scroll, shows reading progress as a ring and springs the page back up, then moves focus to the top.
|
|
710
710
|
|
|
711
711
|
- Import: `import { defineBackToTop } from 'motionary/components/page'; defineBackToTop();`
|
|
712
|
-
- CDN: https://unpkg.com/motionary@
|
|
712
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
713
713
|
- Attributes: `label`, `offset`, `focus-target`
|
|
714
714
|
|
|
715
715
|
```html
|
|
@@ -721,7 +721,7 @@ Appears after you scroll, shows reading progress as a ring and springs the page
|
|
|
721
721
|
Count or dot badge that bumps with a spring when its value changes; 99+ capping, optional pulse.
|
|
722
722
|
|
|
723
723
|
- Import: `import { defineBadge } from 'motionary/components/ui'; defineBadge();`
|
|
724
|
-
- CDN: https://unpkg.com/motionary@
|
|
724
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
725
725
|
- Attributes: `value`, `max`, `dot`, `label`, `show-zero`
|
|
726
726
|
|
|
727
727
|
```html
|
|
@@ -735,7 +735,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
735
735
|
7.5: an achievement grid — locked badges are grey with a 🔒; unlock(name) flips a badge to its colour side with a shine and the “n / m unlocked” counter updates.
|
|
736
736
|
|
|
737
737
|
- Import: `import { defineBadgeWall } from 'motionary/components/widgets'; defineBadgeWall();`
|
|
738
|
-
- CDN: https://unpkg.com/motionary@
|
|
738
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
739
739
|
- Attributes: `label`
|
|
740
740
|
- Events: `usa:unlock`
|
|
741
741
|
- Methods: `unlock()`
|
|
@@ -753,7 +753,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
753
753
|
7.2: bars grow from the baseline in a stagger on first view and new data glides every bar to its new height — bars that appear grow in, bars that leave shrink away. Data from values/labels, <data> children or the data property.
|
|
754
754
|
|
|
755
755
|
- Import: `import { defineBarChart } from 'motionary/components/widgets'; defineBarChart();`
|
|
756
|
-
- CDN: https://unpkg.com/motionary@
|
|
756
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
757
757
|
- Attributes: `horizontal`, `unit`, `max`, `values`, `labels`, `label`
|
|
758
758
|
|
|
759
759
|
```html
|
|
@@ -766,7 +766,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
766
766
|
9.3: a background generator — pick a palette and a style (mesh gradient, grain, stripes, dots), shuffle the seed and copy the CSS.
|
|
767
767
|
|
|
768
768
|
- Import: `import { defineBgGenerator } from 'motionary/components/widgets'; defineBgGenerator();`
|
|
769
|
-
- CDN: https://unpkg.com/motionary@
|
|
769
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
770
770
|
- Attributes: `label`, `palette`, `style`, `seed`
|
|
771
771
|
- Events: `usa:change`
|
|
772
772
|
- Methods: `shuffle()`, `copy()`
|
|
@@ -780,7 +780,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
780
780
|
Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
781
781
|
|
|
782
782
|
- Import: `import { defineBlobs } from 'motionary/components/background'; defineBlobs();`
|
|
783
|
-
- CDN: https://unpkg.com/motionary@
|
|
783
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
784
784
|
- Attributes: `colors`, `speed`, `blur`
|
|
785
785
|
- Methods: `mount()`
|
|
786
786
|
|
|
@@ -793,7 +793,7 @@ Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
|
793
793
|
A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS / Android pattern for web and Windows web-view apps.
|
|
794
794
|
|
|
795
795
|
- Import: `import { defineBottomSheet } from 'motionary/components/ui'; defineBottomSheet();`
|
|
796
|
-
- CDN: https://unpkg.com/motionary@
|
|
796
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
797
797
|
- Attributes: `open`, `snap`, `start`
|
|
798
798
|
- Methods: `show()`, `close()`
|
|
799
799
|
|
|
@@ -806,7 +806,7 @@ A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS
|
|
|
806
806
|
Spring-driven button click deformation: squash & stretch, elastic border-radius wobble, gooey liquid droplets, and a dent toward the pressed point. Combine them with deform="squash wobble".
|
|
807
807
|
|
|
808
808
|
- Import: `import { defineButton } from 'motionary/components/click'; defineButton();`
|
|
809
|
-
- CDN: https://unpkg.com/motionary@
|
|
809
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
810
810
|
- Attributes: `deform`, `state`, `shape`, `disabled`, `morph`, `haptic`, `reset`
|
|
811
811
|
- Events: `usa:submit`, `usa:state`
|
|
812
812
|
- Methods: `morphTo()`
|
|
@@ -824,7 +824,7 @@ Spring-driven button click deformation: squash & stretch, elastic border-radius
|
|
|
824
824
|
Ten card effects you can combine (effect="lift sheen"): flip (hover or click, x/y axis), holo, glass, border-glow, conic-border, lift, spotlight, sheen, parallax-layers and expand (card → detail with FLIP + spring).
|
|
825
825
|
|
|
826
826
|
- Import: `import { defineCard } from 'motionary/components/cards'; defineCard();`
|
|
827
|
-
- CDN: https://unpkg.com/motionary@
|
|
827
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
828
828
|
- Attributes: `effect`, `trigger`, `disabled`, `color`, `depth`
|
|
829
829
|
- Events: `usa:flip`, `usa:expand`, `usa:collapse`
|
|
830
830
|
- Methods: `flip()`, `expand()`, `collapse()`
|
|
@@ -848,7 +848,7 @@ Ten card effects you can combine (effect="lift sheen"): flip (hover or click, x/
|
|
|
848
848
|
A deck where the top card swipes away left or right (pointer, touch, arrow keys) and the next springs forward. loop sends cards to the back.
|
|
849
849
|
|
|
850
850
|
- Import: `import { defineCardStack } from 'motionary/components/cards'; defineCardStack();`
|
|
851
|
-
- CDN: https://unpkg.com/motionary@
|
|
851
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
852
852
|
- Attributes: `visible`, `offset`, `disabled`, `threshold`, `loop`
|
|
853
853
|
- Events: `usa:swipe`, `usa:empty`
|
|
854
854
|
- Methods: `swipe()`
|
|
@@ -866,7 +866,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
866
866
|
6.2: swipe, drag, arrow keys, dots and autoplay (pauses on hover, focus, off screen). Four transitions — slide, fade, scale and a 3D "cards" coverflow. Reduced motion: slides switch without movement.
|
|
867
867
|
|
|
868
868
|
- Import: `import { defineCarousel } from 'motionary/components/widgets'; defineCarousel();`
|
|
869
|
-
- CDN: https://unpkg.com/motionary@
|
|
869
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
870
870
|
- Attributes: `effect`, `autoplay`, `loop`, `no-controls`, `no-dots`, `label`, `index`
|
|
871
871
|
- Events: `usa:change`
|
|
872
872
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -884,7 +884,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
884
884
|
Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spring motion. Reduced motion shows one flat item at a time.
|
|
885
885
|
|
|
886
886
|
- Import: `import { defineCarousel3d } from 'motionary/components/cards'; defineCarousel3d();`
|
|
887
|
-
- CDN: https://unpkg.com/motionary@
|
|
887
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
888
888
|
- Attributes: `radius`, `perspective`, `autoplay`, `index`
|
|
889
889
|
- Events: `usa:change`
|
|
890
890
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -902,7 +902,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
902
902
|
7.3: a cart button with a count badge and a drawer that slides in from the side — lines slide in (or bump their quantity), removed lines collapse, the badge bumps and the total rolls. Esc / backdrop close; focus is managed.
|
|
903
903
|
|
|
904
904
|
- Import: `import { defineCartDrawer } from 'motionary/components/widgets'; defineCartDrawer();`
|
|
905
|
-
- CDN: https://unpkg.com/motionary@
|
|
905
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
906
906
|
- Attributes: `label`, `items`, `currency`
|
|
907
907
|
- Events: `usa:open`, `usa:close`, `usa:change`
|
|
908
908
|
- Methods: `add()`, `removeItem()`, `toggle()`
|
|
@@ -917,7 +917,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
917
917
|
9.1: chapter navigation for long-form stories — one entry per chapter with a reading-progress bar that fills as you scroll, the current chapter highlighted, click to glide there.
|
|
918
918
|
|
|
919
919
|
- Import: `import { defineChapterNav } from 'motionary/components/widgets'; defineChapterNav();`
|
|
920
|
-
- CDN: https://unpkg.com/motionary@
|
|
920
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
921
921
|
- Attributes: `for`, `orientation`, `label`
|
|
922
922
|
- Events: `usa:chapter`
|
|
923
923
|
- Methods: `goTo()`
|
|
@@ -935,7 +935,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
935
935
|
7.8: an AI chat input that grows with its text; Enter sends, the send button pops when there is text and morphs into Stop while busy, with a thinking glow running round the composer.
|
|
936
936
|
|
|
937
937
|
- Import: `import { defineChatComposer } from 'motionary/components/widgets'; defineChatComposer();`
|
|
938
|
-
- CDN: https://unpkg.com/motionary@
|
|
938
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
939
939
|
- Attributes: `placeholder`, `label`, `rows`, `busy`, `value`
|
|
940
940
|
- Events: `usa:stop`, `usa:send`
|
|
941
941
|
- Methods: `send()`, `clear()`
|
|
@@ -950,7 +950,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
950
950
|
The circle draws itself, then a check, cross or exclamation strokes in with a pop. Great after a payment or upload.
|
|
951
951
|
|
|
952
952
|
- Import: `import { defineCheck } from 'motionary/components/feedback'; defineCheck();`
|
|
953
|
-
- CDN: https://unpkg.com/motionary@
|
|
953
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
954
954
|
- Attributes: `kind`, `size`, `label`, `start`
|
|
955
955
|
- Events: `usa:complete`
|
|
956
956
|
- Methods: `play()`, `reset()`
|
|
@@ -964,7 +964,7 @@ The circle draws itself, then a check, cross or exclamation strokes in with a po
|
|
|
964
964
|
Form-associated checkbox: the box springs and the check draws itself; indeterminate state, circle shape.
|
|
965
965
|
|
|
966
966
|
- Import: `import { defineCheckbox } from 'motionary/components/click'; defineCheckbox();`
|
|
967
|
-
- CDN: https://unpkg.com/motionary@
|
|
967
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
968
968
|
- Attributes: `checked`, `indeterminate`, `disabled`, `label`, `value`
|
|
969
969
|
- Events: `usa:change`
|
|
970
970
|
- Methods: `toggle()`
|
|
@@ -978,7 +978,7 @@ Form-associated checkbox: the box springs and the check draws itself; indetermin
|
|
|
978
978
|
Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, press-spring and error shake — combinable, keyboard-friendly, optional haptics.
|
|
979
979
|
|
|
980
980
|
- Import: `import { defineClick } from 'motionary/components/click'; defineClick();`
|
|
981
|
-
- CDN: https://unpkg.com/motionary@
|
|
981
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
982
982
|
- Attributes: `effect`, `disabled`, `trigger`, `color`, `count`, `shape`, `haptic`
|
|
983
983
|
- Events: `usa:click-effect`
|
|
984
984
|
- Methods: `play()`, `shake()`
|
|
@@ -994,7 +994,7 @@ Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, pre
|
|
|
994
994
|
8.0: a pause / speed bar for the unified motion clock — pause, slow down or speed up every Motionary animation and frame loop on the page at once (motionClock in motionary/engine).
|
|
995
995
|
|
|
996
996
|
- Import: `import { defineClockControl } from 'motionary/components/widgets'; defineClockControl();`
|
|
997
|
-
- CDN: https://unpkg.com/motionary@
|
|
997
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
998
998
|
- Attributes: `speeds`, `label`
|
|
999
999
|
- Events: `usa:change`
|
|
1000
1000
|
|
|
@@ -1012,7 +1012,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1012
1012
|
8.9 low-code: shows copy-paste code (HTML, React, Vue or JSON) for a live, configured component next to it, follows its attribute changes and copies with one click.
|
|
1013
1013
|
|
|
1014
1014
|
- Import: `import { defineCodeExport } from 'motionary/components/widgets'; defineCodeExport();`
|
|
1015
|
-
- CDN: https://unpkg.com/motionary@
|
|
1015
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1016
1016
|
- Attributes: `for`, `formats`
|
|
1017
1017
|
- Events: `usa:copy`
|
|
1018
1018
|
- Methods: `copy()`
|
|
@@ -1028,7 +1028,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1028
1028
|
6.9: a saturation / brightness square and a hue strip with spring-follow thumbs (both keyboard sliders), a preview chip that morphs to the new colour and swatches that pop.
|
|
1029
1029
|
|
|
1030
1030
|
- Import: `import { defineColorPicker } from 'motionary/components/widgets'; defineColorPicker();`
|
|
1031
|
-
- CDN: https://unpkg.com/motionary@
|
|
1031
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1032
1032
|
- Attributes: `swatches`
|
|
1033
1033
|
- Events: `usa:change`, `usa:input`
|
|
1034
1034
|
|
|
@@ -1041,7 +1041,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1041
1041
|
7.9: a ⌘K command palette on the native <dialog> — scales in, filters as you type with fuzzy matching and highlighted letters, results stagger in and a highlight glides between rows (↑ ↓ Enter).
|
|
1042
1042
|
|
|
1043
1043
|
- Import: `import { defineCommandPalette } from 'motionary/components/widgets'; defineCommandPalette();`
|
|
1044
|
-
- CDN: https://unpkg.com/motionary@
|
|
1044
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1045
1045
|
- Attributes: `placeholder`, `label`, `hotkey`, `inline`
|
|
1046
1046
|
- Events: `usa:run`, `usa:open`, `usa:close`
|
|
1047
1047
|
- Methods: `setCommands()`, `show()`, `close()`, `toggle()`
|
|
@@ -1059,7 +1059,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1059
1059
|
6.5: drag the handle (or hover with the hover attribute), click to jump, or use the keyboard slider; horizontal or vertical; an intro sweep plays once when it scrolls into view.
|
|
1060
1060
|
|
|
1061
1061
|
- Import: `import { defineCompare } from 'motionary/components/widgets'; defineCompare();`
|
|
1062
|
-
- CDN: https://unpkg.com/motionary@
|
|
1062
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1063
1063
|
- Attributes: `orientation`, `labels`, `label`, `position`, `hover`, `intro`
|
|
1064
1064
|
- Events: `usa:change`
|
|
1065
1065
|
|
|
@@ -1075,7 +1075,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1075
1075
|
7.3: a split-flap countdown to a date (to) or for a number of seconds — every digit flips when it changes; fires usa:done at zero. The timer label updates once a minute so screen readers are not flooded.
|
|
1076
1076
|
|
|
1077
1077
|
- Import: `import { defineCountdown } from 'motionary/components/widgets'; defineCountdown();`
|
|
1078
|
-
- CDN: https://unpkg.com/motionary@
|
|
1078
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1079
1079
|
- Attributes: `to`, `seconds`, `units`, `labels`, `label`
|
|
1080
1080
|
- Events: `usa:tick`, `usa:done`
|
|
1081
1081
|
- Methods: `start()`, `stop()`
|
|
@@ -1089,7 +1089,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1089
1089
|
Counts up to a number when visible, locale-formatted with tabular digits. Set .value to animate live dashboards.
|
|
1090
1090
|
|
|
1091
1091
|
- Import: `import { defineCounter } from 'motionary/components/text'; defineCounter();`
|
|
1092
|
-
- CDN: https://unpkg.com/motionary@
|
|
1092
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1093
1093
|
- Attributes: `to`, `decimals`, `locale`, `prefix`, `suffix`, `grouping`, `from`, `start`, `duration`
|
|
1094
1094
|
- Events: `usa:complete`
|
|
1095
1095
|
- Methods: `play()`, `format()`
|
|
@@ -1103,7 +1103,7 @@ Counts up to a number when visible, locale-formatted with tabular digits. Set .v
|
|
|
1103
1103
|
Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys, autoplay or show("top"); spring-driven, the front face is the only one exposed to screen readers.
|
|
1104
1104
|
|
|
1105
1105
|
- Import: `import { defineCube } from 'motionary/components/depth'; defineCube();`
|
|
1106
|
-
- CDN: https://unpkg.com/motionary@
|
|
1106
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1107
1107
|
- Attributes: `size`, `autoplay`, `perspective`
|
|
1108
1108
|
- Events: `usa:change`
|
|
1109
1109
|
- Methods: `show()`, `next()`, `prev()`
|
|
@@ -1119,7 +1119,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1119
1119
|
6.5: slides sit on adjacent faces of a 3D cube that turns between them — swipe, arrow keys, buttons or autoplay (pauses on hover / focus / off screen); turn around the Y or X axis.
|
|
1120
1120
|
|
|
1121
1121
|
- Import: `import { defineCubeGallery } from 'motionary/components/widgets'; defineCubeGallery();`
|
|
1122
|
-
- CDN: https://unpkg.com/motionary@
|
|
1122
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1123
1123
|
- Attributes: `axis`, `autoplay`, `label`
|
|
1124
1124
|
- Events: `usa:change`
|
|
1125
1125
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -1137,7 +1137,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1137
1137
|
A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft glow following the pointer. Mouse / pen only. (6.0: for a comet tail use the comet-trail effect.)
|
|
1138
1138
|
|
|
1139
1139
|
- Import: `import { defineCursor } from 'motionary/components/page'; defineCursor();`
|
|
1140
|
-
- CDN: https://unpkg.com/motionary@
|
|
1140
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1141
1141
|
- Attributes: `mode`, `size`, `color`, `hide-native`, `targets`
|
|
1142
1142
|
|
|
1143
1143
|
```html
|
|
@@ -1149,7 +1149,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1149
1149
|
6.9: months slide in from the direction of travel, the chosen day pops inside a spring circle, today has a ring. A real date grid: arrows, PageUp / PageDown, Home / End, min / max.
|
|
1150
1150
|
|
|
1151
1151
|
- Import: `import { defineDatePicker } from 'motionary/components/widgets'; defineDatePicker();`
|
|
1152
|
-
- CDN: https://unpkg.com/motionary@
|
|
1152
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1153
1153
|
- Attributes: `min`, `max`, `first-day`, `locale`
|
|
1154
1154
|
- Events: `usa:change`
|
|
1155
1155
|
- Methods: `showMonth()`
|
|
@@ -1163,7 +1163,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1163
1163
|
Layers with data-depth (-1…1) shift and scale by depth as the pointer moves, the phone tilts (source="orientation") or the page scrolls; optional whole-scene rotation.
|
|
1164
1164
|
|
|
1165
1165
|
- Import: `import { defineDepth } from 'motionary/components/depth'; defineDepth();`
|
|
1166
|
-
- CDN: https://unpkg.com/motionary@
|
|
1166
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1167
1167
|
- Attributes: `source`, `strength`, `rotate`
|
|
1168
1168
|
- Methods: `requestPermission()`
|
|
1169
1169
|
|
|
@@ -1182,7 +1182,7 @@ Layers with data-depth (-1…1) shift and scale by depth as the pointer moves, t
|
|
|
1182
1182
|
Animated modal, side drawers and bottom sheet on the native <dialog>: top layer, focus trap, Esc, backdrop click.
|
|
1183
1183
|
|
|
1184
1184
|
- Import: `import { defineDialog } from 'motionary/components/transitions'; defineDialog();`
|
|
1185
|
-
- CDN: https://unpkg.com/motionary@
|
|
1185
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1186
1186
|
- Attributes: `open`, `kind`, `label`, `no-esc`, `no-backdrop-close`
|
|
1187
1187
|
- Events: `usa:open`, `usa:beforeclose`, `usa:close`
|
|
1188
1188
|
- Slots: default
|
|
@@ -1201,7 +1201,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1201
1201
|
6.2: native <details> that spring open and closed (height + fade) with an overshooting chevron; one open at a time unless multiple. Find-in-page and keyboard keep working.
|
|
1202
1202
|
|
|
1203
1203
|
- Import: `import { defineDisclosure } from 'motionary/components/widgets'; defineDisclosure();`
|
|
1204
|
-
- CDN: https://unpkg.com/motionary@
|
|
1204
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1205
1205
|
- Attributes: `multiple`, `spring`
|
|
1206
1206
|
- Events: `usa:toggle`
|
|
1207
1207
|
- Methods: `toggle()`, `openAll()`, `closeAll()`
|
|
@@ -1218,7 +1218,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1218
1218
|
The image bulges and splits into RGB around the pointer. Without WebGL (or a cross-origin image without CORS) it falls back to a gentle CSS zoom.
|
|
1219
1219
|
|
|
1220
1220
|
- Import: `import { defineDistort } from 'motionary/components/webgl'; defineDistort();`
|
|
1221
|
-
- CDN: https://unpkg.com/motionary@
|
|
1221
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1222
1222
|
|
|
1223
1223
|
```html
|
|
1224
1224
|
<usa-distort>
|
|
@@ -1231,7 +1231,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1231
1231
|
6.6: items magnify with a smooth cosine falloff as the pointer moves along the dock, neighbours make room, labels pop above the hovered item and a click bounces it. Keyboard focus magnifies too.
|
|
1232
1232
|
|
|
1233
1233
|
- Import: `import { defineDock } from 'motionary/components/widgets'; defineDock();`
|
|
1234
|
-
- CDN: https://unpkg.com/motionary@
|
|
1234
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1235
1235
|
- Attributes: `orientation`, `magnify`, `range`, `label`, `bounce`
|
|
1236
1236
|
|
|
1237
1237
|
```html
|
|
@@ -1247,7 +1247,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1247
1247
|
A dot grid that swells and links up with lines around the pointer.
|
|
1248
1248
|
|
|
1249
1249
|
- Import: `import { defineDotNetwork } from 'motionary/components/background'; defineDotNetwork();`
|
|
1250
|
-
- CDN: https://unpkg.com/motionary@
|
|
1250
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1251
1251
|
- Attributes: `gap`, `radius`, `color`
|
|
1252
1252
|
- Methods: `mount()`
|
|
1253
1253
|
|
|
@@ -1260,7 +1260,7 @@ A dot grid that swells and links up with lines around the pointer.
|
|
|
1260
1260
|
10.9: plays .lottie files with their themes (slots recoloured by a theme from the file) and state machines — playback states, event / numeric / boolean guards, pointer and completion interactions, input and theme actions (OpenUrl is refused). Tap the dot: it starts pulsing, three taps switch it to the dark theme. Requires motionary/runtime/vector + motionary/runtime/lottie-state — npm i motionary, then use(vector, lottieState). Its own entry point: motionary/components/dotlottie.
|
|
1261
1261
|
|
|
1262
1262
|
- Import: `import { defineDotLottie } from 'motionary/components/dotlottie'; defineDotLottie();`
|
|
1263
|
-
- CDN: https://unpkg.com/motionary@
|
|
1263
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1264
1264
|
- Attributes: `theme`, `state-machine`
|
|
1265
1265
|
- Events: `usa:error`, `usa:state`, `usa:custom`, `usa:runtime-missing`
|
|
1266
1266
|
- Methods: `fire()`, `setInput()`, `setTheme()`
|
|
@@ -1279,12 +1279,12 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
1279
1279
|
```
|
|
1280
1280
|
|
|
1281
1281
|
```html
|
|
1282
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1283
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1284
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1282
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
1283
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
1284
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/lottie-state.iife.js"></script>
|
|
1285
1285
|
<!-- then the component bundles -->
|
|
1286
|
-
<script src="https://unpkg.com/motionary@
|
|
1287
|
-
<script src="https://unpkg.com/motionary@
|
|
1286
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
1287
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
1288
1288
|
```
|
|
1289
1289
|
|
|
1290
1290
|
```html
|
|
@@ -1296,7 +1296,7 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
1296
1296
|
Double tap or double click a photo to pop a heart (or any emoji) at the tap point. L for keyboard users.
|
|
1297
1297
|
|
|
1298
1298
|
- Import: `import { defineDoubleTap } from 'motionary/components/click'; defineDoubleTap();`
|
|
1299
|
-
- CDN: https://unpkg.com/motionary@
|
|
1299
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1300
1300
|
- Attributes: `disabled`, `delay`, `icon`, `color`
|
|
1301
1301
|
- Events: `usa:double-tap`
|
|
1302
1302
|
- Methods: `pop()`
|
|
@@ -1312,7 +1312,7 @@ Double tap or double click a photo to pop a heart (or any emoji) at the tap poin
|
|
|
1312
1312
|
Drag with mouse, touch, pen or arrow keys. spring-back returns home with a wobble; inertia glides after a flick; snap to a grid or points; rubber-band bounds.
|
|
1313
1313
|
|
|
1314
1314
|
- Import: `import { defineDraggable } from 'motionary/components/physics'; defineDraggable();`
|
|
1315
|
-
- CDN: https://unpkg.com/motionary@
|
|
1315
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1316
1316
|
- Attributes: `axis`, `disabled`, `preset`, `bounds`, `spring-back`, `inertia`, `snap`, `step`
|
|
1317
1317
|
- Events: `usa:settle`, `usa:drag-start`, `usa:drag`, `usa:drag-end`
|
|
1318
1318
|
- Methods: `moveTo()`, `reset()`
|
|
@@ -1329,7 +1329,7 @@ Drag with mouse, touch, pen or arrow keys. spring-back returns home with a wobbl
|
|
|
1329
1329
|
Every stroke of the SVG inside draws itself — on view, hover, click or scrubbed with scroll — staggered between shapes, optional fill afterwards. No getTotalLength() needed.
|
|
1330
1330
|
|
|
1331
1331
|
- Import: `import { defineDraw } from 'motionary/components/svg'; defineDraw();`
|
|
1332
|
-
- CDN: https://unpkg.com/motionary@
|
|
1332
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1333
1333
|
- Attributes: `duration`, `stagger`, `trigger`, `repeat`
|
|
1334
1334
|
- Events: `usa:complete`
|
|
1335
1335
|
- Methods: `play()`
|
|
@@ -1345,7 +1345,7 @@ Every stroke of the SVG inside draws itself — on view, hover, click or scrubbe
|
|
|
1345
1345
|
A side panel that springs in, drags / swipes closed, traps the page behind a backdrop and returns focus on close. Left, right, top or bottom.
|
|
1346
1346
|
|
|
1347
1347
|
- Import: `import { defineDrawer } from 'motionary/components/ui'; defineDrawer();`
|
|
1348
|
-
- CDN: https://unpkg.com/motionary@
|
|
1348
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1349
1349
|
- Methods: `show()`, `close()`
|
|
1350
1350
|
|
|
1351
1351
|
```html
|
|
@@ -1358,7 +1358,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1358
1358
|
7.1: one vertical slider per band with springy caps and a smooth response curve drawn through them; presets glide every band to its gain.
|
|
1359
1359
|
|
|
1360
1360
|
- Import: `import { defineEqualizer } from 'motionary/components/widgets'; defineEqualizer();`
|
|
1361
|
-
- CDN: https://unpkg.com/motionary@
|
|
1361
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1362
1362
|
- Attributes: `bands`, `preset`, `label`
|
|
1363
1363
|
- Events: `usa:change`
|
|
1364
1364
|
- Methods: `applyPreset()`
|
|
@@ -1373,7 +1373,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1373
1373
|
A floating action button whose actions fan out with a staggered spring: up, down, left, right or radial.
|
|
1374
1374
|
|
|
1375
1375
|
- Import: `import { defineFab } from 'motionary/components/ui'; defineFab();`
|
|
1376
|
-
- CDN: https://unpkg.com/motionary@
|
|
1376
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1377
1377
|
- Attributes: `direction`, `gap`
|
|
1378
1378
|
- Events: `usa:toggle`
|
|
1379
1379
|
- Methods: `toggle()`
|
|
@@ -1391,7 +1391,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1391
1391
|
8.1: an announcement banner with an ambient festive scene behind the text — lunar lanterns and sparkles, Christmas lights and snow, Halloween bats and moon, or fireworks.
|
|
1392
1392
|
|
|
1393
1393
|
- Import: `import { defineFestivalBanner } from 'motionary/components/widgets'; defineFestivalBanner();`
|
|
1394
|
-
- CDN: https://unpkg.com/motionary@
|
|
1394
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1395
1395
|
- Attributes: `theme`, `label`, `dismissible`
|
|
1396
1396
|
- Events: `usa:dismiss`
|
|
1397
1397
|
- Methods: `dismiss()`
|
|
@@ -1405,7 +1405,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1405
1405
|
7.7: a text input whose label floats up on focus, with a growing underline; validates on blur — invalid shakes and slides the message in, valid draws a check. strength adds a 4-step password meter.
|
|
1406
1406
|
|
|
1407
1407
|
- Import: `import { defineField } from 'motionary/components/widgets'; defineField();`
|
|
1408
|
-
- CDN: https://unpkg.com/motionary@
|
|
1408
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1409
1409
|
- Attributes: `label`, `hint`, `error`, `strength`
|
|
1410
1410
|
- Events: `usa:invalid`, `usa:valid`
|
|
1411
1411
|
- Methods: `validate()`
|
|
@@ -1420,7 +1420,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1420
1420
|
6.9: dragging files over it lights marching-ants borders and lifts the icon; dropped (or browsed) files fly into a list with progress bars that end in a drawn check.
|
|
1421
1421
|
|
|
1422
1422
|
- Import: `import { defineFileDrop } from 'motionary/components/widgets'; defineFileDrop();`
|
|
1423
|
-
- CDN: https://unpkg.com/motionary@
|
|
1423
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1424
1424
|
- Attributes: `label`, `accept`, `multiple`, `simulate`
|
|
1425
1425
|
- Events: `usa:files`
|
|
1426
1426
|
- Methods: `setProgress()`, `addFiles()`, `clear()`
|
|
@@ -1437,7 +1437,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1437
1437
|
Full-screen sections that snap one at a time, with keyboard paging, dot navigation and a usa:section event.
|
|
1438
1438
|
|
|
1439
1439
|
- Import: `import { defineFullpage } from 'motionary/components/page'; defineFullpage();`
|
|
1440
|
-
- CDN: https://unpkg.com/motionary@
|
|
1440
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1441
1441
|
- Attributes: `dots`, `axis`
|
|
1442
1442
|
- Events: `usa:section`
|
|
1443
1443
|
- Methods: `go()`, `next()`, `prev()`
|
|
@@ -1454,7 +1454,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1454
1454
|
<usa-fx> plays any registered effect on its child: pulse, pop, jelly, wiggle, heartbeat, bounce, flash (≤ 2 per second), tada, shake. Click the button.
|
|
1455
1455
|
|
|
1456
1456
|
- Import: `import { defineFx } from 'motionary/components/fx'; defineFx();`
|
|
1457
|
-
- CDN: https://unpkg.com/motionary@
|
|
1457
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1458
1458
|
- Attributes: `effect`, `trigger`, `options`, `self`, `once`
|
|
1459
1459
|
- Methods: `play()`
|
|
1460
1460
|
|
|
@@ -1469,7 +1469,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1469
1469
|
7.2: a semicircular gauge — the needle swings to the value on a damped spring (overshoot, settle), the arc fills in the colour of its zone and the number counts. role="meter".
|
|
1470
1470
|
|
|
1471
1471
|
- Import: `import { defineGauge } from 'motionary/components/widgets'; defineGauge();`
|
|
1472
|
-
- CDN: https://unpkg.com/motionary@
|
|
1472
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1473
1473
|
- Attributes: `min`, `max`, `zones`, `unit`, `label`, `value`
|
|
1474
1474
|
|
|
1475
1475
|
```html
|
|
@@ -1481,7 +1481,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1481
1481
|
9.3: seeded generative art on a canvas — flow fields, circle packing, Truchet tiles or layered waves in curated palettes; it draws itself in on screen and a tap re-seeds it.
|
|
1482
1482
|
|
|
1483
1483
|
- Import: `import { defineGenArt } from 'motionary/components/widgets'; defineGenArt();`
|
|
1484
|
-
- CDN: https://unpkg.com/motionary@
|
|
1484
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1485
1485
|
- Attributes: `art`, `seed`, `palette`, `label`
|
|
1486
1486
|
- Events: `usa:generate`
|
|
1487
1487
|
- Methods: `generate()`, `toDataURL()`
|
|
@@ -1495,7 +1495,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1495
1495
|
5.7: <usa-gesture-fx> plays any registered effect on a fling (fast release), a two-finger twist or a long press that charges --usa-charge 0 → 1. JS: bindGesture(el, "fling", "tada").
|
|
1496
1496
|
|
|
1497
1497
|
- Import: `import { defineGestureFx } from 'motionary/components/effects'; defineGestureFx();`
|
|
1498
|
-
- CDN: https://unpkg.com/motionary@
|
|
1498
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1499
1499
|
- Attributes: `gesture`, `effect`, `options`, `self`, `velocity`, `angle`, `duration`
|
|
1500
1500
|
|
|
1501
1501
|
```html
|
|
@@ -1509,7 +1509,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1509
1509
|
8.7: a multi-touch sticker — drag with one finger, pinch with two to scale and twist to rotate, all at once, with a lifted shadow while held (wheel / Shift + wheel and keyboard on desktop).
|
|
1510
1510
|
|
|
1511
1511
|
- Import: `import { defineGestureSticker } from 'motionary/components/widgets'; defineGestureSticker();`
|
|
1512
|
-
- CDN: https://unpkg.com/motionary@
|
|
1512
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1513
1513
|
- Attributes: `min`, `max`, `label`
|
|
1514
1514
|
- Events: `usa:transform`
|
|
1515
1515
|
- Methods: `transformTo()`, `reset()`
|
|
@@ -1525,7 +1525,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1525
1525
|
10.9: <usa-gl-scene> for compressed glTF — Draco meshes and KTX2 (Basis Universal) textures decoded by the official decoders (Google draco3d, Binomial’s Basis Universal transcoder), lazy-loaded optional peers: only the decoder a file needs is fetched. Requires motionary/runtime/gl + format-gltf + gltf-decoders and draco3d (+ the Basis transcoder for KTX2 textures). Its own entry point: motionary/components/gl-model.
|
|
1526
1526
|
|
|
1527
1527
|
- Import: `import { defineGlModel } from 'motionary/components/gl-model'; defineGlModel();`
|
|
1528
|
-
- CDN: https://unpkg.com/motionary@
|
|
1528
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1529
1529
|
- Events: `usa:runtime-missing`
|
|
1530
1530
|
- Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/gltf-decoders + draco3d + basis_transcoder.js
|
|
1531
1531
|
- Install: `npm i motionary && npm i draco3d && curl -LO https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js -LO https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.wasm`
|
|
@@ -1546,15 +1546,15 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
1546
1546
|
```
|
|
1547
1547
|
|
|
1548
1548
|
```html
|
|
1549
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1550
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1551
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1552
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1549
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
1550
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
1551
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
1552
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-decoders.iife.js"></script>
|
|
1553
1553
|
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
1554
1554
|
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
1555
1555
|
<!-- then the component bundles -->
|
|
1556
|
-
<script src="https://unpkg.com/motionary@
|
|
1557
|
-
<script src="https://unpkg.com/motionary@
|
|
1556
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
1557
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
1558
1558
|
```
|
|
1559
1559
|
|
|
1560
1560
|
```html
|
|
@@ -1566,7 +1566,7 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
1566
1566
|
10.5: a WebGL2 3D viewer on Motionary’s own renderer — glTF 2.0 / GLB and OBJ / MTL models or built-in shapes, PBR-style materials, orbit controls (drag, wheel, pinch, arrow keys), auto-rotate and video textures. Requires motionary/runtime/gl (+ format-gltf for .gltf / .glb, format-obj for .obj, gltf-anim for glTF animation — 10.8) — npm i motionary, then use(gl, formatGltf, formatObj, gltfAnim) before it mounts.
|
|
1567
1567
|
|
|
1568
1568
|
- Import: `import { defineGlScene } from 'motionary/components/widgets'; defineGlScene();`
|
|
1569
|
-
- CDN: https://unpkg.com/motionary@
|
|
1569
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1570
1570
|
- Attributes: `src`, `shape`, `color`, `metallic`, `roughness`, `background`, `exposure`, `controls`, `auto-rotate`, `video`, `video-scrub`, `label`, `animation`, `animation-speed`
|
|
1571
1571
|
- Events: `usa:error`, `usa:load`, `usa:runtime-missing`
|
|
1572
1572
|
- Methods: `reload()`
|
|
@@ -1587,14 +1587,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1587
1587
|
```
|
|
1588
1588
|
|
|
1589
1589
|
```html
|
|
1590
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1591
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1592
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1593
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1594
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1590
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
1591
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gl.iife.js"></script>
|
|
1592
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-gltf.iife.js"></script>
|
|
1593
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-obj.iife.js"></script>
|
|
1594
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/gltf-anim.iife.js"></script>
|
|
1595
1595
|
<!-- then the component bundles -->
|
|
1596
|
-
<script src="https://unpkg.com/motionary@
|
|
1597
|
-
<script src="https://unpkg.com/motionary@
|
|
1596
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
1597
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
1598
1598
|
```
|
|
1599
1599
|
|
|
1600
1600
|
```html
|
|
@@ -1606,7 +1606,7 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1606
1606
|
An RGB-split, sliced glitch — always on or on hover.
|
|
1607
1607
|
|
|
1608
1608
|
- Import: `import { defineGlitch } from 'motionary/components/text'; defineGlitch();`
|
|
1609
|
-
- CDN: https://unpkg.com/motionary@
|
|
1609
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1610
1610
|
- Attributes: `text`, `intensity`
|
|
1611
1611
|
- Methods: `mount()`, `splitChars()`
|
|
1612
1612
|
|
|
@@ -1619,7 +1619,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1619
1619
|
7.6: an SVG globe in orthographic projection — graticule, pulsing markers, spins while on screen, drag to turn it, flyTo(name) brings a city round to the front. No WebGL, no tiles.
|
|
1620
1620
|
|
|
1621
1621
|
- Import: `import { defineGlobe } from 'motionary/components/widgets'; defineGlobe();`
|
|
1622
|
-
- CDN: https://unpkg.com/motionary@
|
|
1622
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1623
1623
|
- Attributes: `markers`, `speed`, `tilt`, `lon`
|
|
1624
1624
|
- Events: `usa:focus`
|
|
1625
1625
|
- Methods: `flyTo()`
|
|
@@ -1634,7 +1634,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1634
1634
|
10.5 (WebGPU effects 2.0): tens of thousands of particles simulated by a WebGPU compute shader and drawn as instanced quads — swirl, galaxy or fountain, pointer repulsion, trails; Canvas 2D fallback where WebGPU is missing.
|
|
1635
1635
|
|
|
1636
1636
|
- Import: `import { defineGpuParticles } from 'motionary/components/widgets'; defineGpuParticles();`
|
|
1637
|
-
- CDN: https://unpkg.com/motionary@
|
|
1637
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1638
1638
|
- Attributes: `count`, `mode`, `colors`, `size`, `speed`, `trail`, `pointer`, `label`
|
|
1639
1639
|
- Events: `usa:backend`
|
|
1640
1640
|
|
|
@@ -1647,7 +1647,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1647
1647
|
Text filled with a multi-colour gradient that keeps flowing.
|
|
1648
1648
|
|
|
1649
1649
|
- Import: `import { defineGradientText } from 'motionary/components/text'; defineGradientText();`
|
|
1650
|
-
- CDN: https://unpkg.com/motionary@
|
|
1650
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1651
1651
|
- Attributes: `colors`, `speed`, `angle`
|
|
1652
1652
|
- Methods: `mount()`, `splitChars()`
|
|
1653
1653
|
|
|
@@ -1660,7 +1660,7 @@ Text filled with a multi-colour gradient that keeps flowing.
|
|
|
1660
1660
|
An SVG-noise grain overlay — no image to ship. animated makes it jitter like film.
|
|
1661
1661
|
|
|
1662
1662
|
- Import: `import { defineGrain } from 'motionary/components/background'; defineGrain();`
|
|
1663
|
-
- CDN: https://unpkg.com/motionary@
|
|
1663
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1664
1664
|
- Attributes: `opacity`, `blend`, `scale`
|
|
1665
1665
|
|
|
1666
1666
|
```html
|
|
@@ -1674,7 +1674,7 @@ An SVG-noise grain overlay — no image to ship. animated makes it jitter like f
|
|
|
1674
1674
|
A line grid behind the content that lights up around the pointer.
|
|
1675
1675
|
|
|
1676
1676
|
- Import: `import { defineGridGlow } from 'motionary/components/background'; defineGridGlow();`
|
|
1677
|
-
- CDN: https://unpkg.com/motionary@
|
|
1677
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1678
1678
|
- Attributes: `size`, `radius`, `color`
|
|
1679
1679
|
- Methods: `mount()`
|
|
1680
1680
|
|
|
@@ -1689,7 +1689,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1689
1689
|
8.7: a 3D card that tilts with the phone’s gyroscope (and with the pointer on desktop), with a moving glare and layers that float at different depths.
|
|
1690
1690
|
|
|
1691
1691
|
- Import: `import { defineGyroCard } from 'motionary/components/widgets'; defineGyroCard();`
|
|
1692
|
-
- CDN: https://unpkg.com/motionary@
|
|
1692
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1693
1693
|
- Attributes: `max`, `glare`
|
|
1694
1694
|
- Events: `usa:tilt`
|
|
1695
1695
|
- Methods: `tilt()`, `wobble()`
|
|
@@ -1706,7 +1706,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1706
1706
|
The text draws itself stroke by stroke, then fills in — signatures, hero words.
|
|
1707
1707
|
|
|
1708
1708
|
- Import: `import { defineHandwriting } from 'motionary/components/text'; defineHandwriting();`
|
|
1709
|
-
- CDN: https://unpkg.com/motionary@
|
|
1709
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1710
1710
|
- Attributes: `text`, `size`, `font`, `stroke`, `duration`
|
|
1711
1711
|
- Events: `usa:complete`
|
|
1712
1712
|
- Methods: `mount()`, `splitChars()`
|
|
@@ -1720,7 +1720,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1720
1720
|
9.4: a full-bleed hero with a background video — poster first, cross-fade to the video, a readable scrim, an always-there pause button and an optional scroll-scrubbed mode.
|
|
1721
1721
|
|
|
1722
1722
|
- Import: `import { defineHeroVideo } from 'motionary/components/widgets'; defineHeroVideo();`
|
|
1723
|
-
- CDN: https://unpkg.com/motionary@
|
|
1723
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1724
1724
|
- Attributes: `label`, `scrub`, `poster`
|
|
1725
1725
|
- Methods: `toggle()`
|
|
1726
1726
|
|
|
@@ -1736,7 +1736,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1736
1736
|
Press and hold (pointer, Space or Enter) while a ring fills; releasing early rewinds. For destructive actions.
|
|
1737
1737
|
|
|
1738
1738
|
- Import: `import { defineHold } from 'motionary/components/click'; defineHold();`
|
|
1739
|
-
- CDN: https://unpkg.com/motionary@
|
|
1739
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1740
1740
|
- Attributes: `duration`, `disabled`, `color`, `label`
|
|
1741
1741
|
- Events: `usa:progress`, `usa:confirm`, `usa:cancel`
|
|
1742
1742
|
- Methods: `cancel()`
|
|
@@ -1750,7 +1750,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1750
1750
|
8.4: a sci-fi HUD panel — angled corners, a glowing frame that draws itself in when the panel scrolls into view, a header with a blinking status light, and data rows that fill in as animated bar readouts.
|
|
1751
1751
|
|
|
1752
1752
|
- Import: `import { defineHudPanel } from 'motionary/components/widgets'; defineHudPanel();`
|
|
1753
|
-
- CDN: https://unpkg.com/motionary@
|
|
1753
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1754
1754
|
- Attributes: `title`, `status`, `color`
|
|
1755
1755
|
- Events: `usa:boot`
|
|
1756
1756
|
- Methods: `boot()`
|
|
@@ -1767,7 +1767,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1767
1767
|
8.0: server-rendered children animate in on hydration — hidden only while JS is on and not yet upgraded (ssrHead() in the head, 3 s CSS fallback), then staggered in on the unified clock.
|
|
1768
1768
|
|
|
1769
1769
|
- Import: `import { defineHydrate } from 'motionary/components/widgets'; defineHydrate();`
|
|
1770
|
-
- CDN: https://unpkg.com/motionary@
|
|
1770
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1771
1771
|
- Attributes: `effect`, `stagger`, `duration`
|
|
1772
1772
|
- Events: `usa:hydrated`
|
|
1773
1773
|
- Methods: `replay()`
|
|
@@ -1786,7 +1786,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1786
1786
|
Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, plus ↔ minus, check, arrow. toggle makes it a button with per-icon labels.
|
|
1787
1787
|
|
|
1788
1788
|
- Import: `import { defineIconMorph } from 'motionary/components/click'; defineIconMorph();`
|
|
1789
|
-
- CDN: https://unpkg.com/motionary@
|
|
1789
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1790
1790
|
- Attributes: `icons`, `size`, `toggle`, `index`, `preset`, `labels`
|
|
1791
1791
|
- Events: `usa:change`
|
|
1792
1792
|
- Methods: `next()`, `show()`
|
|
@@ -1801,13 +1801,13 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1801
1801
|
10.1: one-click install snippet with npm / pnpm / yarn / bun / CDN tabs and a copy button that confirms with a check; `cdn` sets the URL of the CDN tab.
|
|
1802
1802
|
|
|
1803
1803
|
- Import: `import { defineInstallButton } from 'motionary/components/widgets'; defineInstallButton();`
|
|
1804
|
-
- CDN: https://unpkg.com/motionary@
|
|
1804
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1805
1805
|
- Attributes: `package`, `managers`, `cdn`, `dev`, `manager`
|
|
1806
1806
|
- Events: `usa:copy`
|
|
1807
1807
|
- Methods: `command()`, `copy()`
|
|
1808
1808
|
|
|
1809
1809
|
```html
|
|
1810
|
-
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@
|
|
1810
|
+
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></usa-install-button>
|
|
1811
1811
|
```
|
|
1812
1812
|
|
|
1813
1813
|
### <usa-kanban> — Kanban board (drag-sort)
|
|
@@ -1815,7 +1815,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1815
1815
|
6.8: drag cards between columns — the card lifts and tilts toward the drag, a placeholder opens where it will land and the other cards glide aside (FLIP). Full keyboard support: Space picks up, arrows move, Space drops.
|
|
1816
1816
|
|
|
1817
1817
|
- Import: `import { defineKanban } from 'motionary/components/widgets'; defineKanban();`
|
|
1818
|
-
- CDN: https://unpkg.com/motionary@
|
|
1818
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1819
1819
|
- Attributes: `label`
|
|
1820
1820
|
- Events: `usa:move`
|
|
1821
1821
|
- Methods: `cardsOf()`, `move()`
|
|
@@ -1836,7 +1836,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1836
1836
|
6.9: a compact timeline for <usa-player> JSON — drag a bar to move a track, drag its edge to resize, scrub the playhead or press play; exports format use-scroll-animate/animation v1.
|
|
1837
1837
|
|
|
1838
1838
|
- Import: `import { defineKeyframeEditor } from 'motionary/components/widgets'; defineKeyframeEditor();`
|
|
1839
|
-
- CDN: https://unpkg.com/motionary@
|
|
1839
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1840
1840
|
- Attributes: `for`
|
|
1841
1841
|
- Events: `usa:change`
|
|
1842
1842
|
- Methods: `toJSON()`, `play()`, `seek()`
|
|
@@ -1854,7 +1854,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1854
1854
|
7.2: the value counts up keeping prefix, suffix and decimals ("$12.4k", "98.2%"), the delta chip slides in with an arrow coloured by sign, and an optional trend draws a sparkline. Setting value rolls and flashes the card.
|
|
1855
1855
|
|
|
1856
1856
|
- Import: `import { defineKpi } from 'motionary/components/widgets'; defineKpi();`
|
|
1857
|
-
- CDN: https://unpkg.com/motionary@
|
|
1857
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1858
1858
|
- Attributes: `label`, `delta`, `caption`, `trend`, `invert`, `locale`
|
|
1859
1859
|
|
|
1860
1860
|
```html
|
|
@@ -1866,7 +1866,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1866
1866
|
7.5: a ranked list — when scores change, rows glide to their new rank, climbers flash green with ▲n and fallers red with ▼n, scores roll and the top three get medals.
|
|
1867
1867
|
|
|
1868
1868
|
- Import: `import { defineLeaderboard } from 'motionary/components/widgets'; defineLeaderboard();`
|
|
1869
|
-
- CDN: https://unpkg.com/motionary@
|
|
1869
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1870
1870
|
- Attributes: `label`, `limit`, `me`
|
|
1871
1871
|
- Events: `usa:rank`
|
|
1872
1872
|
- Methods: `setScore()`
|
|
@@ -1885,7 +1885,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1885
1885
|
A heart that pops with a spring and bursts into particles; aria-pressed, optional count.
|
|
1886
1886
|
|
|
1887
1887
|
- Import: `import { defineLike } from 'motionary/components/click'; defineLike();`
|
|
1888
|
-
- CDN: https://unpkg.com/motionary@
|
|
1888
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1889
1889
|
- Attributes: `liked`, `count`, `label`, `disabled`, `size`, `color`, `haptic`
|
|
1890
1890
|
- Events: `usa:change`
|
|
1891
1891
|
- Methods: `toggle()`
|
|
@@ -1899,7 +1899,7 @@ A heart that pops with a spring and bursts into particles; aria-pressed, optiona
|
|
|
1899
1899
|
Click or tap to send water ripples through the image; hover adds a gentle wobble. The plain image stays when WebGL is unavailable.
|
|
1900
1900
|
|
|
1901
1901
|
- Import: `import { defineLiquid } from 'motionary/components/webgl'; defineLiquid();`
|
|
1902
|
-
- CDN: https://unpkg.com/motionary@
|
|
1902
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1903
1903
|
|
|
1904
1904
|
```html
|
|
1905
1905
|
<usa-liquid strength="1">
|
|
@@ -1912,7 +1912,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1912
1912
|
8.3: a navigation bar whose active indicator is a drop of liquid — it stretches like a droplet towards the next item and settles with a wobble (gooey SVG filter).
|
|
1913
1913
|
|
|
1914
1914
|
- Import: `import { defineLiquidNav } from 'motionary/components/widgets'; defineLiquidNav();`
|
|
1915
|
-
- CDN: https://unpkg.com/motionary@
|
|
1915
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1916
1916
|
- Attributes: `label`, `value`
|
|
1917
1917
|
- Events: `usa:change`
|
|
1918
1918
|
|
|
@@ -1927,7 +1927,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1927
1927
|
A slim NProgress-style bar for route changes and fetches: loadingBar.start() trickles, done() completes and fades.
|
|
1928
1928
|
|
|
1929
1929
|
- Import: `import { defineLoadingBar } from 'motionary/components/page'; defineLoadingBar();`
|
|
1930
|
-
- CDN: https://unpkg.com/motionary@
|
|
1930
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
1931
1931
|
- Attributes: `label`, `color`, `height`
|
|
1932
1932
|
- Methods: `start()`, `set()`, `done()`
|
|
1933
1933
|
|
|
@@ -1943,7 +1943,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1943
1943
|
7.6: a place card with a stylised mini map — the route from the origin draws itself, the pin drops in with a bounce and a ring pulses; distance computed with haversine (km or mi).
|
|
1944
1944
|
|
|
1945
1945
|
- Import: `import { defineLocationCard } from 'motionary/components/widgets'; defineLocationCard();`
|
|
1946
|
-
- CDN: https://unpkg.com/motionary@
|
|
1946
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1947
1947
|
- Attributes: `name`, `address`, `lat`, `lon`, `from-lat`, `from-lon`, `distance`, `href`, `unit`
|
|
1948
1948
|
- Events: `usa:arrive`
|
|
1949
1949
|
- Methods: `replay()`
|
|
@@ -1958,7 +1958,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1958
1958
|
9.2: plays Lottie (After Effects / bodymovin) files without lottie-web — vector layers render as SVG and their keyframes run as native animations on Motionary’s clock.
|
|
1959
1959
|
|
|
1960
1960
|
- Import: `import { defineLottie } from 'motionary/components/widgets'; defineLottie();`
|
|
1961
|
-
- CDN: https://unpkg.com/motionary@
|
|
1961
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1962
1962
|
- Attributes: `src`, `loop`, `speed`, `label`
|
|
1963
1963
|
- Events: `usa:error`, `usa:load`, `usa:complete`
|
|
1964
1964
|
- Methods: `play()`, `pause()`, `stop()`
|
|
@@ -1972,7 +1972,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1972
1972
|
9.2: an animated icon set shipped as tiny Lottie files — heart beat, bell swing, check draw-in, spinner, star twinkle, bolt zap — on click, hover, enter or loop.
|
|
1973
1973
|
|
|
1974
1974
|
- Import: `import { defineLottieIcon } from 'motionary/components/widgets'; defineLottieIcon();`
|
|
1975
|
-
- CDN: https://unpkg.com/motionary@
|
|
1975
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1976
1976
|
- Attributes: `name`, `size`, `color`, `label`, `trigger`
|
|
1977
1977
|
- Methods: `play()`
|
|
1978
1978
|
|
|
@@ -1986,7 +1986,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1986
1986
|
10.6: plays Lottie JSON and dotLottie (.lottie) files with Motionary’s own Canvas 2D renderer — shapes, gradients, trim paths, masks, track mattes, precomps and images; autoplay, loop, bounce, segments / markers, play on hover or scrub with scroll. Requires motionary/runtime/vector — npm i motionary, then use(vector) before it mounts.
|
|
1987
1987
|
|
|
1988
1988
|
- Import: `import { defineLottiePlayer } from 'motionary/components/widgets'; defineLottiePlayer();`
|
|
1989
|
-
- CDN: https://unpkg.com/motionary@
|
|
1989
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
1990
1990
|
- Attributes: `src`, `animation`, `autoplay`, `loop`, `speed`, `mode`, `segment`, `hover`, `scrub`, `fit`, `background`, `label`
|
|
1991
1991
|
- Events: `usa:complete`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
1992
1992
|
- Methods: `play()`, `pause()`, `stop()`, `seek()`
|
|
@@ -2004,11 +2004,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2004
2004
|
```
|
|
2005
2005
|
|
|
2006
2006
|
```html
|
|
2007
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2008
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2007
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
2008
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/vector.iife.js"></script>
|
|
2009
2009
|
<!-- then the component bundles -->
|
|
2010
|
-
<script src="https://unpkg.com/motionary@
|
|
2011
|
-
<script src="https://unpkg.com/motionary@
|
|
2010
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2011
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2012
2012
|
```
|
|
2013
2013
|
|
|
2014
2014
|
```html
|
|
@@ -2020,7 +2020,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2020
2020
|
7.1: LRC or [data-t] lines; the active line glows, scrolls to the centre and a highlight sweeps across it while past lines dim. Follows an <audio>, <video> or <usa-music-player> via for.
|
|
2021
2021
|
|
|
2022
2022
|
- Import: `import { defineLyrics } from 'motionary/components/widgets'; defineLyrics();`
|
|
2023
|
-
- CDN: https://unpkg.com/motionary@
|
|
2023
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2024
2024
|
- Attributes: `label`, `for`
|
|
2025
2025
|
- Events: `usa:seek`
|
|
2026
2026
|
|
|
@@ -2038,7 +2038,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2038
2038
|
Content leans toward the pointer when it comes near and springs back. Fine pointers only; off under reduced motion.
|
|
2039
2039
|
|
|
2040
2040
|
- Import: `import { defineMagnetic } from 'motionary/components/interaction'; defineMagnetic();`
|
|
2041
|
-
- CDN: https://unpkg.com/motionary@
|
|
2041
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2042
2042
|
- Attributes: `strength`, `radius`, `disabled`
|
|
2043
2043
|
|
|
2044
2044
|
```html
|
|
@@ -2050,7 +2050,7 @@ Content leans toward the pointer when it comes near and springs back. Fine point
|
|
|
2050
2050
|
A seamless infinite ticker with constant speed, pause on hover, soft edges and vertical mode. Clones are hidden from AT.
|
|
2051
2051
|
|
|
2052
2052
|
- Import: `import { defineMarquee } from 'motionary/components/background'; defineMarquee();`
|
|
2053
|
-
- CDN: https://unpkg.com/motionary@
|
|
2053
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2054
2054
|
- Attributes: `speed`, `direction`, `gap`, `paused`, `pause-on-hover`
|
|
2055
2055
|
- Methods: `pause()`, `resume()`
|
|
2056
2056
|
|
|
@@ -2066,7 +2066,7 @@ A seamless infinite ticker with constant speed, pause on hover, soft edges and v
|
|
|
2066
2066
|
Reveal images or sections through a growing mask: circle, diamond, star, iris or wipes, from any origin.
|
|
2067
2067
|
|
|
2068
2068
|
- Import: `import { defineMaskReveal } from 'motionary/components/svg'; defineMaskReveal();`
|
|
2069
|
-
- CDN: https://unpkg.com/motionary@
|
|
2069
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2070
2070
|
- Attributes: `shape`, `at`, `duration`, `delay`, `trigger`, `repeat`
|
|
2071
2071
|
- Events: `usa:complete`
|
|
2072
2072
|
- Methods: `reveal()`
|
|
@@ -2082,7 +2082,7 @@ Reveal images or sections through a growing mask: circle, diamond, star, iris or
|
|
|
2082
2082
|
Pinterest-style masonry: items drop into the shortest column and glide when the width, the items or their sizes change. CSS columns before JS runs.
|
|
2083
2083
|
|
|
2084
2084
|
- Import: `import { defineMasonry } from 'motionary/components/layout'; defineMasonry();`
|
|
2085
|
-
- CDN: https://unpkg.com/motionary@
|
|
2085
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2086
2086
|
- Attributes: `columns`, `min`, `gap`
|
|
2087
2087
|
- Methods: `enable()`, `disable()`
|
|
2088
2088
|
|
|
@@ -2098,7 +2098,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2098
2098
|
6.5: a masonry grid whose items glide to their new places (FLIP) on resize, insert / remove, filter(), shuffle() and sort(); hidden items scale out, new ones scale in.
|
|
2099
2099
|
|
|
2100
2100
|
- Import: `import { defineMasonryFlow } from 'motionary/components/widgets'; defineMasonryFlow();`
|
|
2101
|
-
- CDN: https://unpkg.com/motionary@
|
|
2101
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2102
2102
|
- Attributes: `min`, `gap`
|
|
2103
2103
|
- Events: `usa:layout`
|
|
2104
2104
|
- Methods: `layout()`, `filter()`, `shuffle()`, `sort()`
|
|
@@ -2117,7 +2117,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2117
2117
|
6.3: the list scales (or folds / slides) out of its button and the items cascade in. Full menu keyboard support — arrows, Home / End, Esc, Tab — and outside clicks close it.
|
|
2118
2118
|
|
|
2119
2119
|
- Import: `import { defineMenu } from 'motionary/components/widgets'; defineMenu();`
|
|
2120
|
-
- CDN: https://unpkg.com/motionary@
|
|
2120
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2121
2121
|
- Attributes: `placement`, `effect`
|
|
2122
2122
|
- Events: `usa:select`, `usa:open`, `usa:close`
|
|
2123
2123
|
- Methods: `open()`, `close()`, `toggle()`
|
|
@@ -2137,7 +2137,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2137
2137
|
6.6: the three bars morph into a cross, a back arrow, a minus or a spinning plus-to-cross; a real toggle button with aria-expanded that can open the element it controls (for).
|
|
2138
2138
|
|
|
2139
2139
|
- Import: `import { defineMenuToggle } from 'motionary/components/widgets'; defineMenuToggle();`
|
|
2140
|
-
- CDN: https://unpkg.com/motionary@
|
|
2140
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2141
2141
|
- Attributes: `variant`, `label`, `for`
|
|
2142
2142
|
- Events: `usa:toggle`
|
|
2143
2143
|
- Methods: `toggle()`
|
|
@@ -2152,7 +2152,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2152
2152
|
7.4: a chat thread — new bubbles pop in from their side, consecutive messages group, the list sticks to the bottom (or shows a “↓ New messages” pill when you scrolled up) and typing(name) shows animated typing dots.
|
|
2153
2153
|
|
|
2154
2154
|
- Import: `import { defineMessageList } from 'motionary/components/widgets'; defineMessageList();`
|
|
2155
|
-
- CDN: https://unpkg.com/motionary@
|
|
2155
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2156
2156
|
- Attributes: `label`
|
|
2157
2157
|
- Events: `usa:message`
|
|
2158
2158
|
- Methods: `push()`, `typing()`
|
|
@@ -2170,7 +2170,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2170
2170
|
6.5: a progress line grows down the rail as you scroll; each milestone pops its dot and slides its card in when the line reaches it. Alternating sides on wide screens, one column on phones; data-date labels.
|
|
2171
2171
|
|
|
2172
2172
|
- Import: `import { defineMilestones } from 'motionary/components/widgets'; defineMilestones();`
|
|
2173
|
-
- CDN: https://unpkg.com/motionary@
|
|
2173
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2174
2174
|
- Attributes: `layout`
|
|
2175
2175
|
- Events: `usa:reach`
|
|
2176
2176
|
|
|
@@ -2187,7 +2187,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2187
2187
|
6.3: native <dialog> (top layer, focus trap, Esc) with animated open / close and a blurred backdrop — scale, slide-up, flip, or origin: it grows out of the button that opened it. Focus returns to the opener.
|
|
2188
2188
|
|
|
2189
2189
|
- Import: `import { defineModal } from 'motionary/components/widgets'; defineModal();`
|
|
2190
|
-
- CDN: https://unpkg.com/motionary@
|
|
2190
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2191
2191
|
|
|
2192
2192
|
```html
|
|
2193
2193
|
<button data-usa-open="welcome">Open</button>
|
|
@@ -2203,7 +2203,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2203
2203
|
Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover, in view or automatically. Same-structure paths morph point by point.
|
|
2204
2204
|
|
|
2205
2205
|
- Import: `import { defineMorph } from 'motionary/components/svg'; defineMorph();`
|
|
2206
|
-
- CDN: https://unpkg.com/motionary@
|
|
2206
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2207
2207
|
- Attributes: `paths`, `trigger`, `duration`, `interval`
|
|
2208
2208
|
- Events: `usa:change`
|
|
2209
2209
|
- Methods: `next()`
|
|
@@ -2218,7 +2218,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2218
2218
|
9.0: the declarative motion DSL — describe motion as one readable string (“enter: fade-up 600ms stagger 80ms; hover: pop”) on <usa-motion> or any element’s data-motion, no JavaScript per element.
|
|
2219
2219
|
|
|
2220
2220
|
- Import: `import { defineMotion } from 'motionary/components/widgets'; defineMotion();`
|
|
2221
|
-
- CDN: https://unpkg.com/motionary@
|
|
2221
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2222
2222
|
- Attributes: `rules`
|
|
2223
2223
|
- Events: `usa:motion-error`
|
|
2224
2224
|
|
|
@@ -2236,7 +2236,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2236
2236
|
10.2: a live panel listing the running animations in a scope (CSS animations, transitions, element.animate(), components) with state and progress, plus the motionary/runtime ticker when present — pause / play all, 0.25× slow motion and per-row scrub.
|
|
2237
2237
|
|
|
2238
2238
|
- Import: `import { defineMotionInspector } from 'motionary/components/widgets'; defineMotionInspector();`
|
|
2239
|
-
- CDN: https://unpkg.com/motionary@
|
|
2239
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2240
2240
|
- Attributes: `scope`, `interval`
|
|
2241
2241
|
- Events: `usa:change`
|
|
2242
2242
|
- Methods: `refresh()`, `pauseAll()`, `playAll()`, `setRate()`, `animations()`
|
|
@@ -2250,7 +2250,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2250
2250
|
9.5: a motion settings panel for your users — motion level (full, gentle, minimal, none), animation speed, pause autoplaying video, no parallax — applied instantly to every Motionary animation and remembered.
|
|
2251
2251
|
|
|
2252
2252
|
- Import: `import { defineMotionPrefs } from 'motionary/components/widgets'; defineMotionPrefs();`
|
|
2253
|
-
- CDN: https://unpkg.com/motionary@
|
|
2253
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2254
2254
|
- Attributes: `label`
|
|
2255
2255
|
- Events: `usa:change`
|
|
2256
2256
|
- Methods: `reset()`
|
|
@@ -2264,7 +2264,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2264
2264
|
10.7 (AI-assisted motion): describe a motion in English or Chinese and get a live preview plus ready code — Web Animations, CSS (with a reduced-motion guard) or a Motionary component. A small deterministic parser (motionary/components/ai), no model and no network; the same parser powers suggest_motion in motionary-mcp 2.0.
|
|
2265
2265
|
|
|
2266
2266
|
- Import: `import { defineMotionPrompt } from 'motionary/components/widgets'; defineMotionPrompt();`
|
|
2267
|
-
- CDN: https://unpkg.com/motionary@
|
|
2267
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2268
2268
|
- Attributes: `value`, `format`, `placeholder`, `label`
|
|
2269
2269
|
- Events: `usa:suggest`, `usa:copy`
|
|
2270
2270
|
- Methods: `suggest()`
|
|
@@ -2278,7 +2278,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2278
2278
|
9.7: a motion spec sheet for design hand-off — each rule of a motion string with its trigger, a duration bar on a shared timeline and the easing curve, a Play playhead and Copy CSS; pairs with the Figma plugin and Framer export of motionary/design.
|
|
2279
2279
|
|
|
2280
2280
|
- Import: `import { defineMotionSpec } from 'motionary/components/widgets'; defineMotionSpec();`
|
|
2281
|
-
- CDN: https://unpkg.com/motionary@
|
|
2281
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2282
2282
|
- Attributes: `rules`, `label`
|
|
2283
2283
|
- Events: `usa:copy`
|
|
2284
2284
|
- Methods: `play()`
|
|
@@ -2292,7 +2292,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2292
2292
|
Let users pick Off · Low · Normal · High for the whole app; scales every component, persists, and Off equals reduced motion.
|
|
2293
2293
|
|
|
2294
2294
|
- Import: `import { defineMotionSwitch } from 'motionary/components/page'; defineMotionSwitch();`
|
|
2295
|
-
- CDN: https://unpkg.com/motionary@
|
|
2295
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2296
2296
|
- Attributes: `labels`, `label`
|
|
2297
2297
|
- Events: `usa:change`
|
|
2298
2298
|
|
|
@@ -2306,7 +2306,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2306
2306
|
5.8: <usa-motion-theme name> applies a theme pack — design tokens (--usa-theme-*), motion tokens and effect presets per role (enter / hover / click / attention / background). Neon, paper, glass, retro and brutalist; applyMotionTheme() for the whole page.
|
|
2307
2307
|
|
|
2308
2308
|
- Import: `import { defineMotionTheme } from 'motionary/components/effects'; defineMotionTheme();`
|
|
2309
|
-
- CDN: https://unpkg.com/motionary@
|
|
2309
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2310
2310
|
- Attributes: `name`
|
|
2311
2311
|
|
|
2312
2312
|
```html
|
|
@@ -2322,7 +2322,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2322
2322
|
7.1: the cover spins like a record while playing, play morphs to pause, mini equalizer bars dance and the progress bar is a scrubbable slider. Plays a child <audio> or simulates a track.
|
|
2323
2323
|
|
|
2324
2324
|
- Import: `import { defineMusicPlayer } from 'motionary/components/widgets'; defineMusicPlayer();`
|
|
2325
|
-
- CDN: https://unpkg.com/motionary@
|
|
2325
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2326
2326
|
- Attributes: `title`, `artist`, `cover`, `src`, `duration`
|
|
2327
2327
|
- Events: `usa:play`, `usa:pause`, `usa:seek`
|
|
2328
2328
|
- Methods: `play()`, `pause()`, `toggle()`, `seek()`
|
|
@@ -2338,7 +2338,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2338
2338
|
9.8: preview web motion as it will feel on a phone — an iOS / Android device frame replays the entrance with the rule’s curve and presses with a spring — and copy the generated React Native and Flutter code.
|
|
2339
2339
|
|
|
2340
2340
|
- Import: `import { defineNativePreview } from 'motionary/components/widgets'; defineNativePreview();`
|
|
2341
|
-
- CDN: https://unpkg.com/motionary@
|
|
2341
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2342
2342
|
- Attributes: `rules`, `platform`, `name`
|
|
2343
2343
|
- Events: `usa:replay`
|
|
2344
2344
|
- Methods: `replay()`, `code()`
|
|
@@ -2354,7 +2354,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2354
2354
|
6.6: the indicator follows the hovered or focused link — stretching from the old one, leading edge first — and settles back on the current page. Underline, pill, blob or dot.
|
|
2355
2355
|
|
|
2356
2356
|
- Import: `import { defineNavMorph } from 'motionary/components/widgets'; defineNavMorph();`
|
|
2357
|
-
- CDN: https://unpkg.com/motionary@
|
|
2357
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2358
2358
|
- Attributes: `indicator`, `label`, `active`
|
|
2359
2359
|
- Events: `usa:change`
|
|
2360
2360
|
|
|
@@ -2371,7 +2371,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2371
2371
|
Hides while you scroll down, slides back on the first scroll up; shrink makes it compact once scrolled. This page’s demo scrolls an inner box.
|
|
2372
2372
|
|
|
2373
2373
|
- Import: `import { defineNavbar } from 'motionary/components/ui'; defineNavbar();`
|
|
2374
|
-
- CDN: https://unpkg.com/motionary@
|
|
2374
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2375
2375
|
- Attributes: `target`, `threshold`
|
|
2376
2376
|
- Events: `usa:hide`, `usa:show`
|
|
2377
2377
|
- Methods: `show()`
|
|
@@ -2387,7 +2387,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2387
2387
|
7.4: a bell with an unread badge and a dropdown — notify() swings the bell, bumps the badge and slides the notice in; “Mark all read” shrinks the badge away. Esc / outside click close it.
|
|
2388
2388
|
|
|
2389
2389
|
- Import: `import { defineNotificationBell } from 'motionary/components/widgets'; defineNotificationBell();`
|
|
2390
|
-
- CDN: https://unpkg.com/motionary@
|
|
2390
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2391
2391
|
- Attributes: `label`
|
|
2392
2392
|
- Events: `usa:notify`, `usa:read`
|
|
2393
2393
|
- Methods: `notify()`, `markAllRead()`, `ring()`
|
|
@@ -2404,7 +2404,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2404
2404
|
6.4: rolling digit wheels — every digit spins forward to its new value, new digits slide in, locale grouping via Intl.NumberFormat, decimals, prefix / suffix. The accessible name is the formatted number.
|
|
2405
2405
|
|
|
2406
2406
|
- Import: `import { defineOdometer } from 'motionary/components/widgets'; defineOdometer();`
|
|
2407
|
-
- CDN: https://unpkg.com/motionary@
|
|
2407
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2408
2408
|
- Attributes: `value`, `locale`, `decimals`, `prefix`, `suffix`, `duration`
|
|
2409
2409
|
|
|
2410
2410
|
```html
|
|
@@ -2417,7 +2417,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2417
2417
|
8.3: a card with a soft, living blob shape — its outline slowly breathes on screen, morphs on hover and comes in leaf, ocean, petal and sand tints.
|
|
2418
2418
|
|
|
2419
2419
|
- Import: `import { defineOrganicCard } from 'motionary/components/widgets'; defineOrganicCard();`
|
|
2420
|
-
- CDN: https://unpkg.com/motionary@
|
|
2420
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2421
2421
|
- Attributes: `tint`, `seed`
|
|
2422
2422
|
- Methods: `morph()`
|
|
2423
2423
|
|
|
@@ -2432,7 +2432,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2432
2432
|
7.7: one-time-code boxes that auto-advance, step back on Backspace and take a pasted code; digits pop in, error() shakes the row red, success() sends a green wave across it.
|
|
2433
2433
|
|
|
2434
2434
|
- Import: `import { defineOtp } from 'motionary/components/widgets'; defineOtp();`
|
|
2435
|
-
- CDN: https://unpkg.com/motionary@
|
|
2435
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2436
2436
|
- Attributes: `length`, `mode`, `label`, `value`
|
|
2437
2437
|
- Events: `usa:complete`
|
|
2438
2438
|
- Methods: `fillCode()`, `clear()`, `error()`, `success()`
|
|
@@ -2447,7 +2447,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2447
2447
|
A scroll container whose edges stretch with iOS-style rubber-band resistance and spring back — touch, trackpad and wheel.
|
|
2448
2448
|
|
|
2449
2449
|
- Import: `import { defineOverscroll } from 'motionary/components/physics'; defineOverscroll();`
|
|
2450
|
-
- CDN: https://unpkg.com/motionary@
|
|
2450
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2451
2451
|
- Attributes: `axis`, `disabled`, `max`, `preset`
|
|
2452
2452
|
|
|
2453
2453
|
```html
|
|
@@ -2461,7 +2461,7 @@ A scroll container whose edges stretch with iOS-style rubber-band resistance and
|
|
|
2461
2461
|
Product cards reveal and lift, “Add to cart” presses and flies the product into the cart (which bumps), prices count up, badges pulse.
|
|
2462
2462
|
|
|
2463
2463
|
- Import: `import { definePack } from 'motionary/components/packs'; definePack();`
|
|
2464
|
-
- CDN: https://unpkg.com/motionary@
|
|
2464
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2465
2465
|
- Attributes: `name`
|
|
2466
2466
|
|
|
2467
2467
|
```html
|
|
@@ -2480,7 +2480,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2480
2480
|
6.7: the highlight springs to the chosen page (squashing on the way) and page numbers slide in from the direction of travel when the window shifts. Prev / next, ellipses, aria-current.
|
|
2481
2481
|
|
|
2482
2482
|
- Import: `import { definePagination } from 'motionary/components/widgets'; definePagination();`
|
|
2483
|
-
- CDN: https://unpkg.com/motionary@
|
|
2483
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2484
2484
|
- Attributes: `total`, `siblings`, `label`
|
|
2485
2485
|
- Events: `usa:change`
|
|
2486
2486
|
|
|
@@ -2493,7 +2493,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2493
2493
|
8.8: a 360° panorama — drag or swipe to look around with inertia, a slow auto-rotate, a compass for the heading and a “View in XR” badge when the browser offers WebXR.
|
|
2494
2494
|
|
|
2495
2495
|
- Import: `import { definePanorama } from 'motionary/components/widgets'; definePanorama();`
|
|
2496
|
-
- CDN: https://unpkg.com/motionary@
|
|
2496
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2497
2497
|
- Attributes: `src`, `autorotate`, `label`
|
|
2498
2498
|
- Events: `usa:xr`, `usa:xr-request`, `usa:look`
|
|
2499
2499
|
- Methods: `lookAt()`
|
|
@@ -2507,7 +2507,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2507
2507
|
10.4: a parallax container — children with data-depth move at different speeds while it crosses the viewport (native view() scroll timeline first, JS fallback), optional pointer tilt; static under reduced motion.
|
|
2508
2508
|
|
|
2509
2509
|
- Import: `import { defineParallaxLayers } from 'motionary/components/widgets'; defineParallaxLayers();`
|
|
2510
|
-
- CDN: https://unpkg.com/motionary@
|
|
2510
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2511
2511
|
- Attributes: `range`, `engine`, `horizontal`, `pointer`, `strength`, `preview`
|
|
2512
2512
|
- Events: `usa:progress`
|
|
2513
2513
|
- Methods: `layers()`
|
|
@@ -2524,7 +2524,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2524
2524
|
A canvas constellation that drifts away from the pointer. Runs only while visible, DPR ≤ 2, a still frame under reduced motion.
|
|
2525
2525
|
|
|
2526
2526
|
- Import: `import { defineParticles } from 'motionary/components/background'; defineParticles();`
|
|
2527
|
-
- CDN: https://unpkg.com/motionary@
|
|
2527
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2528
2528
|
- Attributes: `count`, `color`, `size`, `speed`, `links`, `interactive`, `paused`
|
|
2529
2529
|
- Methods: `reset()`
|
|
2530
2530
|
|
|
@@ -2537,7 +2537,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2537
2537
|
9.5: one button that pauses all motion on the page (WCAG 2.2.2) — Motionary’s shared clock, every CSS / Web animation and autoplaying media — and resumes it again; `scope` limits it to one area.
|
|
2538
2538
|
|
|
2539
2539
|
- Import: `import { definePauseAll } from 'motionary/components/widgets'; definePauseAll();`
|
|
2540
|
-
- CDN: https://unpkg.com/motionary@
|
|
2540
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2541
2541
|
- Attributes: `label`, `scope`, `resume-label`
|
|
2542
2542
|
- Events: `usa:pause-all`
|
|
2543
2543
|
- Methods: `toggle()`
|
|
@@ -2551,7 +2551,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2551
2551
|
9.6: a live performance overlay for motion work — FPS with a sparkline, active Motionary animations, frame-loop callbacks, long tasks and the shared clock — flagging jank.
|
|
2552
2552
|
|
|
2553
2553
|
- Import: `import { definePerfMonitor } from 'motionary/components/widgets'; definePerfMonitor();`
|
|
2554
|
-
- CDN: https://unpkg.com/motionary@
|
|
2554
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2555
2555
|
- Attributes: `corner`, `warn`
|
|
2556
2556
|
- Events: `usa:jank`
|
|
2557
2557
|
|
|
@@ -2564,7 +2564,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2564
2564
|
10.7: a 2D rigid-body sandbox on Motionary’s own physics engine — circles, boxes and polygons, friction, restitution, constraints, sleeping — loaded from a versioned motionary-scene@1 JSON (or a preset: balls, pyramid, pendulum, dominoes). Drag bodies, tap to spawn, arrow keys nudge. Requires motionary/runtime/physics + motionary/runtime/format-scene — npm i motionary, then use(physics, formatScene) before it mounts.
|
|
2565
2565
|
|
|
2566
2566
|
- Import: `import { definePhysicsPlayground } from 'motionary/components/widgets'; definePhysicsPlayground();`
|
|
2567
|
-
- CDN: https://unpkg.com/motionary@
|
|
2567
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2568
2568
|
- Attributes: `preset`, `src`, `gravity`, `spawn`, `label`
|
|
2569
2569
|
- Events: `usa:collision`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2570
2570
|
- Methods: `reset()`, `play()`, `pause()`, `toScene()`
|
|
@@ -2583,12 +2583,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2583
2583
|
```
|
|
2584
2584
|
|
|
2585
2585
|
```html
|
|
2586
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2587
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2588
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2586
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
2587
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/physics.iife.js"></script>
|
|
2588
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/format-scene.iife.js"></script>
|
|
2589
2589
|
<!-- then the component bundles -->
|
|
2590
|
-
<script src="https://unpkg.com/motionary@
|
|
2591
|
-
<script src="https://unpkg.com/motionary@
|
|
2590
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2591
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2592
2592
|
```
|
|
2593
2593
|
|
|
2594
2594
|
```html
|
|
@@ -2600,7 +2600,7 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2600
2600
|
Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, double-tap to toggle; scale and position spring back inside the bounds.
|
|
2601
2601
|
|
|
2602
2602
|
- Import: `import { definePinchZoom } from 'motionary/components/gesture'; definePinchZoom();`
|
|
2603
|
-
- CDN: https://unpkg.com/motionary@
|
|
2603
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2604
2604
|
- Attributes: `min`, `max`, `preset`, `double-tap`
|
|
2605
2605
|
- Events: `usa:zoom`
|
|
2606
2606
|
- Methods: `zoomTo()`
|
|
@@ -2616,7 +2616,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2616
2616
|
5.9: <usa-player> plays a JSON animation — timeline presets, your own keyframes and any registered effect on a shared clock; play / pause / seek / rate / loop, scroll-scrubbing (trigger="scroll"). Export one from the Playground (<usa-player> JSON tab).
|
|
2617
2617
|
|
|
2618
2618
|
- Import: `import { definePlayer } from 'motionary/components/effects'; definePlayer();`
|
|
2619
|
-
- CDN: https://unpkg.com/motionary@
|
|
2619
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2620
2620
|
- Attributes: `src`, `trigger`, `loop`, `rate`, `controls`
|
|
2621
2621
|
- Events: `usa:finish`, `usa:ready`
|
|
2622
2622
|
- Methods: `load()`, `play()`, `pause()`, `seek()`
|
|
@@ -2633,7 +2633,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2633
2633
|
10.1: a plugin’s name, version and author with a Motionary compatibility badge (semver `engine` range), a signature badge (SHA-256 integrity checked with Web Crypto), an animated download counter and expandable details. Requires motionary/runtime — npm i motionary, then use() before the card mounts.
|
|
2634
2634
|
|
|
2635
2635
|
- Import: `import { definePluginCard } from 'motionary/components/widgets'; definePluginCard();`
|
|
2636
|
-
- CDN: https://unpkg.com/motionary@
|
|
2636
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2637
2637
|
- Attributes: `name`, `title`, `version`, `author`, `engine`, `downloads`, `integrity`, `src`
|
|
2638
2638
|
- Events: `usa:toggle`, `usa:verified`, `usa:runtime-missing`
|
|
2639
2639
|
- Methods: `toggle()`, `verify()`, `compat()`
|
|
@@ -2650,10 +2650,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2650
2650
|
```
|
|
2651
2651
|
|
|
2652
2652
|
```html
|
|
2653
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2653
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
2654
2654
|
<!-- then the component bundles -->
|
|
2655
|
-
<script src="https://unpkg.com/motionary@
|
|
2656
|
-
<script src="https://unpkg.com/motionary@
|
|
2655
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2656
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2657
2657
|
```
|
|
2658
2658
|
|
|
2659
2659
|
```html
|
|
@@ -2667,7 +2667,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2667
2667
|
9.0: the plugin marketplace as a component — search the catalogue of effect packs, see each plugin’s effects and install it with one click (imports and registers the pack).
|
|
2668
2668
|
|
|
2669
2669
|
- Import: `import { definePluginStore } from 'motionary/components/widgets'; definePluginStore();`
|
|
2670
|
-
- CDN: https://unpkg.com/motionary@
|
|
2670
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2671
2671
|
- Attributes: `query`, `label`
|
|
2672
2672
|
- Events: `usa:install`, `usa:install-error`
|
|
2673
2673
|
- Methods: `search()`, `install()`
|
|
@@ -2685,7 +2685,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2685
2685
|
Click-to-open panel that springs from its trigger; Esc / outside click closes, focus returns.
|
|
2686
2686
|
|
|
2687
2687
|
- Import: `import { definePopover } from 'motionary/components/ui'; definePopover();`
|
|
2688
|
-
- CDN: https://unpkg.com/motionary@
|
|
2688
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2689
2689
|
- Attributes: `placement`
|
|
2690
2690
|
- Methods: `toggle()`
|
|
2691
2691
|
|
|
@@ -2701,7 +2701,7 @@ Click-to-open panel that springs from its trigger; Esc / outside click closes, f
|
|
|
2701
2701
|
Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration, scanlines, CRT, bloom, pixelate, duotone and glitch, with one intensity. Without WebGL the image gets an approximate CSS filter.
|
|
2702
2702
|
|
|
2703
2703
|
- Import: `import { definePostFx } from 'motionary/components/webgl'; definePostFx();`
|
|
2704
|
-
- CDN: https://unpkg.com/motionary@
|
|
2704
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2705
2705
|
|
|
2706
2706
|
```html
|
|
2707
2707
|
<usa-post-fx effects="vignette grain" intensity="0.6">
|
|
@@ -2714,7 +2714,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2714
2714
|
7.4: an avatar with a live status dot (online, away, busy, offline) — coming online sends a ripple, speaking adds a pulsing ring and story an animated gradient ring. Initials when there is no photo.
|
|
2715
2715
|
|
|
2716
2716
|
- Import: `import { definePresence } from 'motionary/components/widgets'; definePresence();`
|
|
2717
|
-
- CDN: https://unpkg.com/motionary@
|
|
2717
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2718
2718
|
- Attributes: `status`, `speaking`, `name`, `src`
|
|
2719
2719
|
|
|
2720
2720
|
```html
|
|
@@ -2728,7 +2728,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2728
2728
|
Tactile press: dips while pressed and springs back, or bounces once with bounce. Mouse, touch, pen and keyboard.
|
|
2729
2729
|
|
|
2730
2730
|
- Import: `import { definePress } from 'motionary/components/interaction'; definePress();`
|
|
2731
|
-
- CDN: https://unpkg.com/motionary@
|
|
2731
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2732
2732
|
- Attributes: `disabled`, `scale`, `bounce`
|
|
2733
2733
|
|
|
2734
2734
|
```html
|
|
@@ -2740,7 +2740,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2740
2740
|
7.5: a lottery wheel — Spin whirls it and it eases out on the result (random or spin(index)), the pointer ticks and the wheel glows; usa:result reports the prize.
|
|
2741
2741
|
|
|
2742
2742
|
- Import: `import { definePrizeWheel } from 'motionary/components/widgets'; definePrizeWheel();`
|
|
2743
|
-
- CDN: https://unpkg.com/motionary@
|
|
2743
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2744
2744
|
- Attributes: `segments`, `label`, `turns`, `duration`
|
|
2745
2745
|
- Events: `usa:result`
|
|
2746
2746
|
- Methods: `spin()`
|
|
@@ -2754,7 +2754,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2754
2754
|
7.3: product photos with a thumbnail strip — the stage cross-slides in the direction of travel, the selection ring glides between thumbnails, hover zooms under the pointer, swipe and ←/→ work.
|
|
2755
2755
|
|
|
2756
2756
|
- Import: `import { defineProductGallery } from 'motionary/components/widgets'; defineProductGallery();`
|
|
2757
|
-
- CDN: https://unpkg.com/motionary@
|
|
2757
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2758
2758
|
- Attributes: `index`, `nozoom`, `zoom`
|
|
2759
2759
|
- Events: `usa:change`
|
|
2760
2760
|
- Methods: `go()`, `next()`, `prev()`
|
|
@@ -2772,7 +2772,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2772
2772
|
Determinate bars glide between values; without a value it shows the Fluent indeterminate animation. Paused / error states.
|
|
2773
2773
|
|
|
2774
2774
|
- Import: `import { defineProgress } from 'motionary/components/feedback'; defineProgress();`
|
|
2775
|
-
- CDN: https://unpkg.com/motionary@
|
|
2775
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2776
2776
|
- Attributes: `value`, `max`, `indeterminate`, `label`
|
|
2777
2777
|
- Events: `usa:complete`
|
|
2778
2778
|
|
|
@@ -2786,7 +2786,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2786
2786
|
6.4: the arc eases to every new value with a little overshoot while the label counts up; ring, bar or semicircle gauge, gradient strokes, indeterminate spinner without a value. role="progressbar", usa:complete at 100%.
|
|
2787
2787
|
|
|
2788
2788
|
- Import: `import { defineProgressRing } from 'motionary/components/widgets'; defineProgressRing();`
|
|
2789
|
-
- CDN: https://unpkg.com/motionary@
|
|
2789
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2790
2790
|
- Attributes: `variant`, `value`, `max`, `gradient`, `no-label`, `duration`
|
|
2791
2791
|
- Events: `usa:complete`
|
|
2792
2792
|
|
|
@@ -2802,7 +2802,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2802
2802
|
8.9 low-code: a property editor for a live component — typed fields (number / range, select, color, switch, text) bound to its attributes, so the component re-renders as you edit.
|
|
2803
2803
|
|
|
2804
2804
|
- Import: `import { definePropPanel } from 'motionary/components/widgets'; definePropPanel();`
|
|
2805
|
-
- CDN: https://unpkg.com/motionary@
|
|
2805
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2806
2806
|
- Attributes: `for`, `props`, `label`
|
|
2807
2807
|
- Events: `usa:prop`
|
|
2808
2808
|
- Methods: `reset()`
|
|
@@ -2817,7 +2817,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2817
2817
|
6.8: pull the cord down and let go — past the threshold the lamp switches, and the cord swings back on a damped spring. Click, Space or Enter tug it too; role="switch".
|
|
2818
2818
|
|
|
2819
2819
|
- Import: `import { definePullCord } from 'motionary/components/widgets'; definePullCord();`
|
|
2820
|
-
- CDN: https://unpkg.com/motionary@
|
|
2820
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2821
2821
|
- Attributes: `label`, `threshold`
|
|
2822
2822
|
- Events: `usa:change`
|
|
2823
2823
|
- Methods: `toggle()`
|
|
@@ -2831,7 +2831,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2831
2831
|
Pull down at the top of a list: the spinner stretches in with rubber-band resistance; release past the threshold to refresh.
|
|
2832
2832
|
|
|
2833
2833
|
- Import: `import { definePullRefresh } from 'motionary/components/ui'; definePullRefresh();`
|
|
2834
|
-
- CDN: https://unpkg.com/motionary@
|
|
2834
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2835
2835
|
- Attributes: `threshold`, `disabled`, `label`
|
|
2836
2836
|
- Methods: `refresh()`
|
|
2837
2837
|
|
|
@@ -2847,7 +2847,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2847
2847
|
8.4: a sci-fi radar scope — a conic beam sweeps round and each target lights up and fades as the beam passes over it.
|
|
2848
2848
|
|
|
2849
2849
|
- Import: `import { defineRadar } from 'motionary/components/widgets'; defineRadar();`
|
|
2850
|
-
- CDN: https://unpkg.com/motionary@
|
|
2850
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2851
2851
|
- Attributes: `targets`, `rings`, `speed`, `label`
|
|
2852
2852
|
- Events: `usa:ping`
|
|
2853
2853
|
- Methods: `setTargets()`
|
|
@@ -2861,7 +2861,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2861
2861
|
7.4: a reaction bar — clicking a pill toggles your reaction: the emoji pops, the count rolls and copies float up; + springs open a picker. Each pill is a toggle button with a count label.
|
|
2862
2862
|
|
|
2863
2863
|
- Import: `import { defineReactions } from 'motionary/components/widgets'; defineReactions();`
|
|
2864
|
-
- CDN: https://unpkg.com/motionary@
|
|
2864
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2865
2865
|
- Attributes: `emojis`, `counts`, `picker`
|
|
2866
2866
|
- Events: `usa:react`
|
|
2867
2867
|
- Methods: `toggle()`
|
|
@@ -2875,7 +2875,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2875
2875
|
8.1: a Lunar New Year red envelope — tap and the flap swings open, the card slides out with the amount counting up and gold coins pop out.
|
|
2876
2876
|
|
|
2877
2877
|
- Import: `import { defineRedEnvelope } from 'motionary/components/widgets'; defineRedEnvelope();`
|
|
2878
|
-
- CDN: https://unpkg.com/motionary@
|
|
2878
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2879
2879
|
- Attributes: `amount`, `currency`, `message`, `from`, `opened`
|
|
2880
2880
|
- Events: `usa:open`
|
|
2881
2881
|
- Methods: `open()`, `close()`
|
|
@@ -2889,7 +2889,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2889
2889
|
8.2: buttons in four eras with matching press motion — 8-bit pixel (stepped press), CRT phosphor (flicker), Y2K chrome pill (bounce) and Windows 95 bevel (sink).
|
|
2890
2890
|
|
|
2891
2891
|
- Import: `import { defineRetroButton } from 'motionary/components/widgets'; defineRetroButton();`
|
|
2892
|
-
- CDN: https://unpkg.com/motionary@
|
|
2892
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2893
2893
|
- Attributes: `variant`, `disabled`, `type`
|
|
2894
2894
|
|
|
2895
2895
|
```html
|
|
@@ -2902,7 +2902,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2902
2902
|
Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects, replay on re-entry with repeat.
|
|
2903
2903
|
|
|
2904
2904
|
- Import: `import { defineReveal } from 'motionary/components/reveal'; defineReveal();`
|
|
2905
|
-
- CDN: https://unpkg.com/motionary@
|
|
2905
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2906
2906
|
- Attributes: `effect`, `distance`, `repeat`, `threshold`, `root-margin`, `duration`, `delay`, `easing`
|
|
2907
2907
|
- Events: `usa:enter`, `usa:leave`, `usa:complete`
|
|
2908
2908
|
- Methods: `reveal()`, `reset()`
|
|
@@ -2918,7 +2918,7 @@ Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects
|
|
|
2918
2918
|
Ink ripple from the pointer — or from the centre for Space/Enter — on any button, list item or card.
|
|
2919
2919
|
|
|
2920
2920
|
- Import: `import { defineRipple } from 'motionary/components/interaction'; defineRipple();`
|
|
2921
|
-
- CDN: https://unpkg.com/motionary@
|
|
2921
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
2922
2922
|
- Attributes: `disabled`, `centered`, `color`, `opacity`, `duration`
|
|
2923
2923
|
- Methods: `ripple()`
|
|
2924
2924
|
|
|
@@ -2931,7 +2931,7 @@ Ink ripple from the pointer — or from the centre for Space/Enter — on any bu
|
|
|
2931
2931
|
10.6: plays Rive (.riv) files — artboards, animations and state machines with inputs — through the official Rive runtime @rive-app/canvas, an optional peer dependency that is lazy-loaded on first use (Motionary does not reimplement the proprietary .riv format). Requires @rive-app/canvas — npm i @rive-app/canvas, or load its CDN script first; missing → a clear message in place.
|
|
2932
2932
|
|
|
2933
2933
|
- Import: `import { defineRive } from 'motionary/components/widgets'; defineRive();`
|
|
2934
|
-
- CDN: https://unpkg.com/motionary@
|
|
2934
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2935
2935
|
- Attributes: `src`, `artboard`, `animation`, `state-machine`, `autoplay`, `fit`, `label`, `runtime-src`
|
|
2936
2936
|
- Events: `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2937
2937
|
- Methods: `play()`, `pause()`, `input()`
|
|
@@ -2950,8 +2950,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2950
2950
|
```html
|
|
2951
2951
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
2952
2952
|
<!-- then the component bundles -->
|
|
2953
|
-
<script src="https://unpkg.com/motionary@
|
|
2954
|
-
<script src="https://unpkg.com/motionary@
|
|
2953
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
2954
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
2955
2955
|
```
|
|
2956
2956
|
|
|
2957
2957
|
```html
|
|
@@ -2963,7 +2963,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2963
2963
|
10.3: View Transitions 2.0 — link clicks swap the container’s content with the target page (fetched) or an inline <template data-route>, animated with the View Transitions API (Web Animations fallback); data-shared elements morph between routes; cross-document enables native MPA transitions.
|
|
2964
2964
|
|
|
2965
2965
|
- Import: `import { defineRouteTransition } from 'motionary/components/widgets'; defineRouteTransition();`
|
|
2966
|
-
- CDN: https://unpkg.com/motionary@
|
|
2966
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2967
2967
|
- Attributes: `effect`, `engine`, `cross-document`, `current`, `links`, `history`, `selector`
|
|
2968
2968
|
- Events: `usa:navigate`, `usa:navigated`
|
|
2969
2969
|
- Methods: `navigate()`
|
|
@@ -2980,7 +2980,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2980
2980
|
9.1: a scroll-scrubbed cinematic shot — while the scene crosses the screen its image follows a camera move (dolly, pan, tilt, zoom, orbit) and captions fade in on cue.
|
|
2981
2981
|
|
|
2982
2982
|
- Import: `import { defineScene } from 'motionary/components/widgets'; defineScene();`
|
|
2983
|
-
- CDN: https://unpkg.com/motionary@
|
|
2983
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
2984
2984
|
- Attributes: `camera`, `strength`, `autoplay`
|
|
2985
2985
|
- Events: `usa:shot`
|
|
2986
2986
|
- Methods: `setProgress()`
|
|
@@ -2997,7 +2997,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2997
2997
|
Decodes text out of random glyphs, left to right. Trigger on view, hover/focus or manually.
|
|
2998
2998
|
|
|
2999
2999
|
- Import: `import { defineScramble } from 'motionary/components/text'; defineScramble();`
|
|
3000
|
-
- CDN: https://unpkg.com/motionary@
|
|
3000
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3001
3001
|
- Attributes: `text`, `trigger`, `duration`, `chars`
|
|
3002
3002
|
- Events: `usa:complete`
|
|
3003
3003
|
- Methods: `play()`
|
|
@@ -3011,7 +3011,7 @@ Decodes text out of random glyphs, left to right. Trigger on view, hover/focus o
|
|
|
3011
3011
|
Words light up one by one as you read down the page, or a highlighter marker sweeps behind the text.
|
|
3012
3012
|
|
|
3013
3013
|
- Import: `import { defineScrollHighlight } from 'motionary/components/text'; defineScrollHighlight();`
|
|
3014
|
-
- CDN: https://unpkg.com/motionary@
|
|
3014
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3015
3015
|
- Attributes: `mode`, `text`, `color`, `dim`
|
|
3016
3016
|
- Methods: `mount()`
|
|
3017
3017
|
|
|
@@ -3025,7 +3025,7 @@ Words light up one by one as you read down the page, or a highlighter marker swe
|
|
|
3025
3025
|
Reading progress of the page or of one article. Compositor-only scaleX, role="progressbar".
|
|
3026
3026
|
|
|
3027
3027
|
- Import: `import { defineScrollProgress } from 'motionary/components/reveal'; defineScrollProgress();`
|
|
3028
|
-
- CDN: https://unpkg.com/motionary@
|
|
3028
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3029
3029
|
- Attributes: `target`, `label`
|
|
3030
3030
|
- Events: `usa:progress`
|
|
3031
3031
|
- Methods: `update()`
|
|
@@ -3041,7 +3041,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
3041
3041
|
10.4: a circular scroll-progress indicator for the page or any scroll container (for=".article"), optional percentage label and back-to-top button. Scroll-driven 3.0: native animation-timeline: scroll() first (no script per frame), a small JS loop where scroll timelines are missing.
|
|
3042
3042
|
|
|
3043
3043
|
- Import: `import { defineScrollRing } from 'motionary/components/widgets'; defineScrollRing();`
|
|
3044
|
-
- CDN: https://unpkg.com/motionary@
|
|
3044
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3045
3045
|
- Attributes: `for`, `engine`, `label`, `back-to-top`, `size`, `thickness`, `horizontal`, `preview`
|
|
3046
3046
|
- Events: `usa:progress`, `usa:top`
|
|
3047
3047
|
|
|
@@ -3054,7 +3054,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
3054
3054
|
10.2: a scroll-linked scene — children with data-scrub="opacity: 0 -> 1; x: -80 -> 0" are tweened as you scroll, scrubbed directly or smoothed (scrub="120"), with optional pin, markers and stagger. Requires motionary/runtime/scroll — npm i motionary, then use(scroll) before the scene mounts.
|
|
3055
3055
|
|
|
3056
3056
|
- Import: `import { defineScrollScene } from 'motionary/components/widgets'; defineScrollScene();`
|
|
3057
|
-
- CDN: https://unpkg.com/motionary@
|
|
3057
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3058
3058
|
- Attributes: `start`, `end`, `scrub`, `pin`, `markers`, `stagger`, `toggle-class`, `preview`
|
|
3059
3059
|
- Events: `usa:enter`, `usa:leave`, `usa:progress`, `usa:runtime-missing`
|
|
3060
3060
|
- Methods: `refresh()`, `timeline()`
|
|
@@ -3072,11 +3072,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
3072
3072
|
```
|
|
3073
3073
|
|
|
3074
3074
|
```html
|
|
3075
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3076
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3075
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3076
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/scroll.iife.js"></script>
|
|
3077
3077
|
<!-- then the component bundles -->
|
|
3078
|
-
<script src="https://unpkg.com/motionary@
|
|
3079
|
-
<script src="https://unpkg.com/motionary@
|
|
3078
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3079
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3080
3080
|
```
|
|
3081
3081
|
|
|
3082
3082
|
```html
|
|
@@ -3091,7 +3091,7 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
3091
3091
|
A pinned graphic while [data-step] blocks scroll past; the active step drives the graphic via attributes, a CSS variable and events.
|
|
3092
3092
|
|
|
3093
3093
|
- Import: `import { defineScrolly } from 'motionary/components/reveal'; defineScrolly();`
|
|
3094
|
-
- CDN: https://unpkg.com/motionary@
|
|
3094
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3095
3095
|
- Attributes: `offset`
|
|
3096
3096
|
- Events: `usa:step`
|
|
3097
3097
|
|
|
@@ -3108,7 +3108,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
3108
3108
|
6.7: an iOS-style thumb slides under the chosen segment with a spring and stretches while it travels. A real radio group: arrow keys, Home / End. iOS, pill or outline.
|
|
3109
3109
|
|
|
3110
3110
|
- Import: `import { defineSegmented } from 'motionary/components/widgets'; defineSegmented();`
|
|
3111
|
-
- CDN: https://unpkg.com/motionary@
|
|
3111
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3112
3112
|
- Attributes: `variant`, `label`, `value`
|
|
3113
3113
|
- Events: `usa:change`
|
|
3114
3114
|
|
|
@@ -3125,7 +3125,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
3125
3125
|
A GPU shader behind your content: gradient, plasma, waves or aurora presets — or your own fragment shader in a <script type="x-shader/x-fragment">. Falls back to the CSS background.
|
|
3126
3126
|
|
|
3127
3127
|
- Import: `import { defineShader } from 'motionary/components/webgl'; defineShader();`
|
|
3128
|
-
- CDN: https://unpkg.com/motionary@
|
|
3128
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3129
3129
|
|
|
3130
3130
|
```html
|
|
3131
3131
|
<usa-shader preset="aurora" speed="1">
|
|
@@ -3144,7 +3144,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3144
3144
|
10.5 (WebGPU effects 2.0): an animated shader background (aurora, plasma, waves, nebula or your own GLSL) run through a post-processing chain — bloom, vignette, grain, chromatic aberration, pixelate, scanlines — in any order; CSS gradient fallback.
|
|
3145
3145
|
|
|
3146
3146
|
- Import: `import { defineShaderBackdrop } from 'motionary/components/widgets'; defineShaderBackdrop();`
|
|
3147
|
-
- CDN: https://unpkg.com/motionary@
|
|
3147
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3148
3148
|
- Attributes: `preset`, `post`, `colors`, `speed`, `intensity`, `label`
|
|
3149
3149
|
- Events: `usa:backend`
|
|
3150
3150
|
|
|
@@ -3159,7 +3159,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3159
3159
|
6.3: a side sheet from the right, left, top or bottom with a blurred backdrop; the bottom sheet can be dragged down to dismiss and springs back otherwise. Native <dialog> underneath.
|
|
3160
3160
|
|
|
3161
3161
|
- Import: `import { defineSheet } from 'motionary/components/widgets'; defineSheet();`
|
|
3162
|
-
- CDN: https://unpkg.com/motionary@
|
|
3162
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3163
3163
|
|
|
3164
3164
|
```html
|
|
3165
3165
|
<button data-usa-open="cart">Cart</button>
|
|
@@ -3175,7 +3175,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3175
3175
|
A light sweep across gradient-filled text. CSS only; colours and speed via attributes or custom properties.
|
|
3176
3176
|
|
|
3177
3177
|
- Import: `import { defineShimmerText } from 'motionary/components/text'; defineShimmerText();`
|
|
3178
|
-
- CDN: https://unpkg.com/motionary@
|
|
3178
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3179
3179
|
- Attributes: `duration`, `color`, `shine`, `angle`
|
|
3180
3180
|
|
|
3181
3181
|
```html
|
|
@@ -3187,7 +3187,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
3187
3187
|
7.9: keyboard-shortcut hints as keycaps (⌘ on Apple, Ctrl elsewhere); press the combination anywhere and the caps press down one after another and usa:trigger fires.
|
|
3188
3188
|
|
|
3189
3189
|
- Import: `import { defineShortcut } from 'motionary/components/widgets'; defineShortcut();`
|
|
3190
|
-
- CDN: https://unpkg.com/motionary@
|
|
3190
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3191
3191
|
- Attributes: `keys`, `label`, `listen`, `for`
|
|
3192
3192
|
- Events: `usa:trigger`
|
|
3193
3193
|
- Methods: `press()`
|
|
@@ -3202,7 +3202,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
3202
3202
|
Shimmering placeholders while loading; remove loading and the real content fades in. aria-busy included.
|
|
3203
3203
|
|
|
3204
3204
|
- Import: `import { defineSkeleton } from 'motionary/components/feedback'; defineSkeleton();`
|
|
3205
|
-
- CDN: https://unpkg.com/motionary@
|
|
3205
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3206
3206
|
- Attributes: `loading`, `lines`, `width`, `height`, `circle`, `avatar`, `radius`
|
|
3207
3207
|
- Events: `usa:loaded`
|
|
3208
3208
|
|
|
@@ -3217,7 +3217,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3217
3217
|
6.4: the skeleton is generated from the real content — one bar per rendered text line, blocks for images and marked elements — with one synchronized shimmer (wave, pulse or glow). Remove loading and the bars dissolve top-to-bottom while the content fades in from a blur.
|
|
3218
3218
|
|
|
3219
3219
|
- Import: `import { defineSkeletonReveal } from 'motionary/components/widgets'; defineSkeletonReveal();`
|
|
3220
|
-
- CDN: https://unpkg.com/motionary@
|
|
3220
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3221
3221
|
- Attributes: `loading`, `variant`
|
|
3222
3222
|
- Events: `usa:reveal`
|
|
3223
3223
|
- Methods: `reveal()`
|
|
@@ -3236,7 +3236,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3236
3236
|
8.5: a hand-drawn chart — wobbly pencil axes with hatched bars or a sketchy line, sketched in stroke by stroke when it scrolls into view.
|
|
3237
3237
|
|
|
3238
3238
|
- Import: `import { defineSketchChart } from 'motionary/components/widgets'; defineSketchChart();`
|
|
3239
|
-
- CDN: https://unpkg.com/motionary@
|
|
3239
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3240
3240
|
- Attributes: `values`, `labels`, `type`, `color`, `label`
|
|
3241
3241
|
- Events: `usa:drawn`
|
|
3242
3242
|
- Methods: `setValues()`, `redraw()`
|
|
@@ -3250,7 +3250,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3250
3250
|
A form-associated range slider: spring-following thumb, value bubble, full keyboard support (arrows, Page Up/Down, Home/End).
|
|
3251
3251
|
|
|
3252
3252
|
- Import: `import { defineSlider } from 'motionary/components/ui'; defineSlider();`
|
|
3253
|
-
- CDN: https://unpkg.com/motionary@
|
|
3253
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3254
3254
|
- Attributes: `min`, `max`, `disabled`, `label`, `step`, `value`
|
|
3255
3255
|
- Events: `usa:input`, `usa:change`
|
|
3256
3256
|
|
|
@@ -3263,7 +3263,7 @@ A form-associated range slider: spring-following thumb, value bubble, full keybo
|
|
|
3263
3263
|
10.4: smooth, inertial wheel scrolling for the page or a container (wrapper), anchor links glide (with offset for sticky headers); keyboard / scrollbar / touch stay native and it switches off under reduced motion. Requires motionary/runtime/smooth — npm i motionary, then use(smooth) before it mounts.
|
|
3264
3264
|
|
|
3265
3265
|
- Import: `import { defineSmoothScroll } from 'motionary/components/widgets'; defineSmoothScroll();`
|
|
3266
|
-
- CDN: https://unpkg.com/motionary@
|
|
3266
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3267
3267
|
- Attributes: `lerp`, `duration`, `ease`, `wheel-multiplier`, `horizontal`, `touch`, `anchors`, `offset`, `wrapper`, `preview`
|
|
3268
3268
|
- Events: `usa:scroll`, `usa:ready`, `usa:runtime-missing`
|
|
3269
3269
|
- Methods: `glideTo()`, `stop()`, `resume()`
|
|
@@ -3281,11 +3281,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3281
3281
|
```
|
|
3282
3282
|
|
|
3283
3283
|
```html
|
|
3284
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3285
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3284
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3285
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/smooth.iife.js"></script>
|
|
3286
3286
|
<!-- then the component bundles -->
|
|
3287
|
-
<script src="https://unpkg.com/motionary@
|
|
3288
|
-
<script src="https://unpkg.com/motionary@
|
|
3287
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3288
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3289
3289
|
```
|
|
3290
3290
|
|
|
3291
3291
|
```html
|
|
@@ -3297,7 +3297,7 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3297
3297
|
10.8: drag or swipe with real inertia — a throw keeps gliding, then springs to the nearest slide (a quick flick always moves one); rubber-band edges, arrows, dots, ←/→ / Home / End, optional autoplay that pauses on hover, focus and off screen. Slides keep their own width so the next one peeks in. Requires motionary/runtime/drag-snap — npm i motionary, then use(dragSnap) before it mounts. Its own entry point: motionary/components/snap-carousel (not in the widgets / lite bundles).
|
|
3298
3298
|
|
|
3299
3299
|
- Import: `import { defineSnapCarousel } from 'motionary/components/snap-carousel'; defineSnapCarousel();`
|
|
3300
|
-
- CDN: https://unpkg.com/motionary@
|
|
3300
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3301
3301
|
- Attributes: `align`, `gap`, `autoplay`, `no-controls`, `no-dots`, `label`, `index`
|
|
3302
3302
|
- Events: `usa:change`, `usa:runtime-missing`
|
|
3303
3303
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -3315,11 +3315,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3315
3315
|
```
|
|
3316
3316
|
|
|
3317
3317
|
```html
|
|
3318
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3319
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3318
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3319
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/drag-snap.iife.js"></script>
|
|
3320
3320
|
<!-- then the component bundles -->
|
|
3321
|
-
<script src="https://unpkg.com/motionary@
|
|
3322
|
-
<script src="https://unpkg.com/motionary@
|
|
3321
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3322
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3323
3323
|
```
|
|
3324
3324
|
|
|
3325
3325
|
```html
|
|
@@ -3335,7 +3335,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3335
3335
|
7.2: a tiny inline trend — draws itself on first view, a soft area fades in, the last point pulses and new data morphs the line point by point. line | area | bars; hover shows the value.
|
|
3336
3336
|
|
|
3337
3337
|
- Import: `import { defineSparkline } from 'motionary/components/widgets'; defineSparkline();`
|
|
3338
|
-
- CDN: https://unpkg.com/motionary@
|
|
3338
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3339
3339
|
- Attributes: `variant`, `color`, `values`, `label`
|
|
3340
3340
|
|
|
3341
3341
|
```html
|
|
@@ -3347,7 +3347,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3347
3347
|
8.8: a spatial-computing window — frosted glass floating in depth, a soft gaze highlight that follows the pointer, layered content and an ornament bar; it eases towards you on hover and sinks on press.
|
|
3348
3348
|
|
|
3349
3349
|
- Import: `import { defineSpatialCard } from 'motionary/components/widgets'; defineSpatialCard();`
|
|
3350
|
-
- CDN: https://unpkg.com/motionary@
|
|
3350
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3351
3351
|
- Events: `usa:focus-depth`
|
|
3352
3352
|
|
|
3353
3353
|
```html
|
|
@@ -3363,7 +3363,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3363
3363
|
Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting dots, ring, typing dots, pulse and bars.
|
|
3364
3364
|
|
|
3365
3365
|
- Import: `import { defineSpinner } from 'motionary/components/feedback'; defineSpinner();`
|
|
3366
|
-
- CDN: https://unpkg.com/motionary@
|
|
3366
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3367
3367
|
- Attributes: `kind`, `size`, `label`
|
|
3368
3368
|
|
|
3369
3369
|
```html
|
|
@@ -3376,7 +3376,7 @@ Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting d
|
|
|
3376
3376
|
An app launch screen that leaves (fade, scale, slide-up, circle) once the page has loaded — never sooner than min ms.
|
|
3377
3377
|
|
|
3378
3378
|
- Import: `import { defineSplash } from 'motionary/components/page'; defineSplash();`
|
|
3379
|
-
- CDN: https://unpkg.com/motionary@
|
|
3379
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3380
3380
|
- Attributes: `label`, `manual`, `min`, `exit`
|
|
3381
3381
|
- Events: `usa:done`
|
|
3382
3382
|
- Methods: `done()`
|
|
@@ -3392,7 +3392,7 @@ An app launch screen that leaves (fade, scale, slide-up, circle) once the page h
|
|
|
3392
3392
|
Splits a headline into letters or words and cascades them in: rise, fade, blur, flip or pop. Words never break.
|
|
3393
3393
|
|
|
3394
3394
|
- Import: `import { defineSplitText } from 'motionary/components/text'; defineSplitText();`
|
|
3395
|
-
- CDN: https://unpkg.com/motionary@
|
|
3395
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3396
3396
|
- Attributes: `by`, `text`, `from`, `stagger`, `duration`, `delay`, `trigger`, `repeat`
|
|
3397
3397
|
- Events: `usa:complete`
|
|
3398
3398
|
- Methods: `play()`, `reset()`
|
|
@@ -3406,7 +3406,7 @@ Splits a headline into letters or words and cascades them in: rise, fade, blur,
|
|
|
3406
3406
|
The Windows Fluent “Reveal” effect: a light follows the pointer, lighting the borders of nearby items and the hovered one.
|
|
3407
3407
|
|
|
3408
3408
|
- Import: `import { defineSpotlight } from 'motionary/components/interaction'; defineSpotlight();`
|
|
3409
|
-
- CDN: https://unpkg.com/motionary@
|
|
3409
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3410
3410
|
- Attributes: `size`, `color`, `border`
|
|
3411
3411
|
|
|
3412
3412
|
```html
|
|
@@ -3422,7 +3422,7 @@ The Windows Fluent “Reveal” effect: a light follows the pointer, lighting th
|
|
|
3422
3422
|
bounce-in, pop and drop entrances with true spring timing (CSS linear() easing), plus jelly and rubber-band attention effects on view, hover or click.
|
|
3423
3423
|
|
|
3424
3424
|
- Import: `import { defineSpring } from 'motionary/components/physics'; defineSpring();`
|
|
3425
|
-
- CDN: https://unpkg.com/motionary@
|
|
3425
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3426
3426
|
- Attributes: `effect`, `trigger`, `repeat`, `stiffness`, `damping`, `mass`, `preset`, `duration`, `delay`
|
|
3427
3427
|
- Events: `usa:complete`
|
|
3428
3428
|
- Methods: `play()`, `reset()`
|
|
@@ -3441,7 +3441,7 @@ bounce-in, pop and drop entrances with true spring timing (CSS linear() easing),
|
|
|
3441
3441
|
Reveals direct children one after another — lists, grids, feature rows.
|
|
3442
3442
|
|
|
3443
3443
|
- Import: `import { defineStagger } from 'motionary/components/reveal'; defineStagger();`
|
|
3444
|
-
- CDN: https://unpkg.com/motionary@
|
|
3444
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3445
3445
|
- Attributes: `effect`, `repeat`, `threshold`, `distance`, `interval`, `delay`, `duration`, `easing`
|
|
3446
3446
|
- Events: `usa:enter`, `usa:complete`
|
|
3447
3447
|
- Methods: `reveal()`, `reset()`
|
|
@@ -3459,7 +3459,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3459
3459
|
6.4: the fill follows the pointer (half stars with step="0.5"), a click pops the chosen star with a sparkle burst while the others ripple; stars or hearts; a keyboard slider (arrows, Home / End); readonly mode.
|
|
3460
3460
|
|
|
3461
3461
|
- Import: `import { defineStarRating } from 'motionary/components/widgets'; defineStarRating();`
|
|
3462
|
-
- CDN: https://unpkg.com/motionary@
|
|
3462
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3463
3463
|
- Attributes: `max`, `icon`, `readonly`, `step`, `label`, `value`
|
|
3464
3464
|
- Events: `usa:change`
|
|
3465
3465
|
|
|
@@ -3473,7 +3473,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3473
3473
|
6.7: the rail fills toward the current step, finished steps pop a drawn check mark and the current step pulses. Horizontal or vertical; next() / prev() / value.
|
|
3474
3474
|
|
|
3475
3475
|
- Import: `import { defineStepper } from 'motionary/components/widgets'; defineStepper();`
|
|
3476
|
-
- CDN: https://unpkg.com/motionary@
|
|
3476
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3477
3477
|
- Attributes: `orientation`, `label`, `clickable`
|
|
3478
3478
|
- Events: `usa:change`
|
|
3479
3479
|
- Methods: `next()`, `prev()`
|
|
@@ -3492,7 +3492,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3492
3492
|
Cards stick while you scroll and the covered ones shrink and dim as the next slides over them.
|
|
3493
3493
|
|
|
3494
3494
|
- Import: `import { defineStickyStack } from 'motionary/components/cards'; defineStickyStack();`
|
|
3495
|
-
- CDN: https://unpkg.com/motionary@
|
|
3495
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3496
3496
|
- Attributes: `top`, `gap`, `scale`
|
|
3497
3497
|
- Methods: `update()`
|
|
3498
3498
|
|
|
@@ -3509,7 +3509,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3509
3509
|
8.5: a wall of sticky notes — each child becomes a pinned paper note with a slight tilt, the notes drop onto the wall one by one, and a tap lifts a note to the front.
|
|
3510
3510
|
|
|
3511
3511
|
- Import: `import { defineStickyWall } from 'motionary/components/widgets'; defineStickyWall();`
|
|
3512
|
-
- CDN: https://unpkg.com/motionary@
|
|
3512
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3513
3513
|
- Attributes: `seed`, `label`
|
|
3514
3514
|
- Events: `usa:pick`
|
|
3515
3515
|
- Methods: `pick()`
|
|
@@ -3527,7 +3527,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3527
3527
|
6.2: segmented progress bars, auto-advance, tap left / right to step, press and hold to pause, plus a pause button. Under reduced motion it waits for the user instead of advancing.
|
|
3528
3528
|
|
|
3529
3529
|
- Import: `import { defineStories } from 'motionary/components/widgets'; defineStories();`
|
|
3530
|
-
- CDN: https://unpkg.com/motionary@
|
|
3530
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3531
3531
|
- Attributes: `duration`, `loop`
|
|
3532
3532
|
- Events: `usa:end`, `usa:change`
|
|
3533
3533
|
- Methods: `next()`, `prev()`, `goTo()`, `pause()`, `play()`
|
|
@@ -3544,7 +3544,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3544
3544
|
5.4: <usa-story template="compare"> wipes from before to after as you scroll; the handle is draggable and a keyboard slider (←/→, Home/End). Full-page templates (pin, gallery, zoom) live on the Scroll stories page.
|
|
3545
3545
|
|
|
3546
3546
|
- Import: `import { defineStory } from 'motionary/components/effects'; defineStory();`
|
|
3547
|
-
- CDN: https://unpkg.com/motionary@
|
|
3547
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3548
3548
|
- Attributes: `template`, `zoom`, `label`
|
|
3549
3549
|
- Events: `usa:step`
|
|
3550
3550
|
|
|
@@ -3562,7 +3562,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3562
3562
|
7.8: follow-up prompt chips that slide in one after another; picking one pulses it and (with dismiss) the others fade away. Real buttons, arrow-key navigation.
|
|
3563
3563
|
|
|
3564
3564
|
- Import: `import { defineSuggestionChips } from 'motionary/components/widgets'; defineSuggestionChips();`
|
|
3565
|
-
- CDN: https://unpkg.com/motionary@
|
|
3565
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3566
3566
|
- Attributes: `items`, `label`, `dismiss`
|
|
3567
3567
|
- Events: `usa:pick`
|
|
3568
3568
|
- Methods: `setItems()`
|
|
@@ -3576,7 +3576,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3576
3576
|
6.8: drag the top card — it rotates with the pointer, LIKE / NOPE stamps fade in and past the threshold (or on a fling) it flies off; otherwise it springs back. like(), nope(), undo(), ← / →.
|
|
3577
3577
|
|
|
3578
3578
|
- Import: `import { defineSwipeDeck } from 'motionary/components/widgets'; defineSwipeDeck();`
|
|
3579
|
-
- CDN: https://unpkg.com/motionary@
|
|
3579
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3580
3580
|
- Attributes: `label`, `threshold`
|
|
3581
3581
|
- Events: `usa:swipe`, `usa:empty`
|
|
3582
3582
|
- Methods: `like()`, `nope()`, `undo()`
|
|
@@ -3594,7 +3594,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3594
3594
|
Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a fast swipe or past the distance, otherwise springs home with your release velocity. Delete / arrow keys work too.
|
|
3595
3595
|
|
|
3596
3596
|
- Import: `import { defineSwipeable } from 'motionary/components/gesture'; defineSwipeable();`
|
|
3597
|
-
- CDN: https://unpkg.com/motionary@
|
|
3597
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3598
3598
|
- Attributes: `axis`, `disabled`, `distance`, `dismiss`, `preset`
|
|
3599
3599
|
- Events: `usa:swipe`, `usa:dismiss`
|
|
3600
3600
|
- Methods: `swipe()`, `reset()`
|
|
@@ -3610,7 +3610,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3610
3610
|
6.7: four switches — iOS (the thumb stretches while pressed), day / night (sun becomes moon, stars appear), bounce (squash at the end) and liquid (a gooey fill pours in). role="switch", forms, keyboard.
|
|
3611
3611
|
|
|
3612
3612
|
- Import: `import { defineSwitch } from 'motionary/components/widgets'; defineSwitch();`
|
|
3613
|
-
- CDN: https://unpkg.com/motionary@
|
|
3613
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3614
3614
|
- Attributes: `variant`, `label`, `name`, `value`, `disabled`
|
|
3615
3615
|
- Events: `usa:change`
|
|
3616
3616
|
- Methods: `toggle()`
|
|
@@ -3624,7 +3624,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3624
3624
|
6.2: the indicator stretches from the old tab to the new one (leading edge first) and the panel slides in from the side of travel. Pill, underline, glow or gooey; full tablist keyboard support.
|
|
3625
3625
|
|
|
3626
3626
|
- Import: `import { defineTabBar } from 'motionary/components/widgets'; defineTabBar();`
|
|
3627
|
-
- CDN: https://unpkg.com/motionary@
|
|
3627
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3628
3628
|
- Attributes: `indicator`, `label`, `selected`
|
|
3629
3629
|
- Events: `usa:change`
|
|
3630
3630
|
- Methods: `select()`
|
|
@@ -3645,7 +3645,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3645
3645
|
Accessible tabs whose indicator slides between tabs with a spring; panels slide in from the direction you moved. Line or pill indicator.
|
|
3646
3646
|
|
|
3647
3647
|
- Import: `import { defineTabs } from 'motionary/components/ui'; defineTabs();`
|
|
3648
|
-
- CDN: https://unpkg.com/motionary@
|
|
3648
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3649
3649
|
- Attributes: `indicator`
|
|
3650
3650
|
- Events: `usa:change`
|
|
3651
3651
|
- Methods: `select()`
|
|
@@ -3663,7 +3663,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3663
3663
|
8.2: a retro terminal window that types its commands after the prompt with a blinking block cursor and prints the output line by line when it scrolls into view — dark, green-phosphor or amber.
|
|
3664
3664
|
|
|
3665
3665
|
- Import: `import { defineTerminal } from 'motionary/components/widgets'; defineTerminal();`
|
|
3666
|
-
- CDN: https://unpkg.com/motionary@
|
|
3666
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3667
3667
|
- Attributes: `title`, `prompt`, `theme`, `speed`, `loop`
|
|
3668
3668
|
- Events: `usa:done`
|
|
3669
3669
|
- Methods: `replay()`, `skip()`
|
|
@@ -3680,7 +3680,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3680
3680
|
Cycles words in place — the box keeps the width of the longest word, so nothing around it reflows.
|
|
3681
3681
|
|
|
3682
3682
|
- Import: `import { defineTextRotate } from 'motionary/components/text'; defineTextRotate();`
|
|
3683
|
-
- CDN: https://unpkg.com/motionary@
|
|
3683
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3684
3684
|
- Attributes: `words`, `interval`, `paused`, `effect`
|
|
3685
3685
|
- Events: `usa:change`
|
|
3686
3686
|
- Methods: `next()`
|
|
@@ -3694,7 +3694,7 @@ Build <usa-text-rotate words="fast|tiny|typed"></usa-text-rotate> apps
|
|
|
3694
3694
|
10.3: splits its text into characters, words or lines and animates them in with a stagger (rise, fade, blur, flip, wave) when it scrolls into view — accessible, grapheme-aware. Requires motionary/runtime/text — npm i motionary, then use(text) before it mounts.
|
|
3695
3695
|
|
|
3696
3696
|
- Import: `import { defineTextSplitter } from 'motionary/components/widgets'; defineTextSplitter();`
|
|
3697
|
-
- CDN: https://unpkg.com/motionary@
|
|
3697
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3698
3698
|
- Attributes: `split`, `effect`, `stagger`, `duration`, `loop`, `trigger`
|
|
3699
3699
|
- Events: `usa:split`, `usa:done`, `usa:runtime-missing`
|
|
3700
3700
|
- Methods: `replay()`, `pieces()`
|
|
@@ -3712,11 +3712,11 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3712
3712
|
```
|
|
3713
3713
|
|
|
3714
3714
|
```html
|
|
3715
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3716
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3715
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime.iife.js"></script>
|
|
3716
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@13/dist/runtime/text.iife.js"></script>
|
|
3717
3717
|
<!-- then the component bundles -->
|
|
3718
|
-
<script src="https://unpkg.com/motionary@
|
|
3719
|
-
<script src="https://unpkg.com/motionary@
|
|
3718
|
+
<script src="https://unpkg.com/motionary@13/dist/components.umd.js"></script>
|
|
3719
|
+
<script src="https://unpkg.com/motionary@13/dist/widgets.umd.js"></script>
|
|
3720
3720
|
```
|
|
3721
3721
|
|
|
3722
3722
|
```html
|
|
@@ -3728,7 +3728,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3728
3728
|
8.6: a themeable card that follows the nearest theme — light, dark, neon (pulsing glow edge), glass (frosted backdrop with a sheen) or soft neumorphic relief — and cross-fades when the theme changes.
|
|
3729
3729
|
|
|
3730
3730
|
- Import: `import { defineThemeSurface } from 'motionary/components/widgets'; defineThemeSurface();`
|
|
3731
|
-
- CDN: https://unpkg.com/motionary@
|
|
3731
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3732
3732
|
- Attributes: `theme`
|
|
3733
3733
|
- Events: `usa:theme`
|
|
3734
3734
|
|
|
@@ -3743,7 +3743,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3743
3743
|
8.6: a segmented switcher for the 8.6 theme system — light, dark, neon, glass and soft (neumorphism); a pill slides under the active option and the page change is revealed with a circular wipe from the click point.
|
|
3744
3744
|
|
|
3745
3745
|
- Import: `import { defineThemeSwitcher } from 'motionary/components/widgets'; defineThemeSwitcher();`
|
|
3746
|
-
- CDN: https://unpkg.com/motionary@
|
|
3746
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3747
3747
|
- Attributes: `themes`, `target`, `label`, `persist`, `value`
|
|
3748
3748
|
- Events: `usa:change`
|
|
3749
3749
|
|
|
@@ -3756,7 +3756,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3756
3756
|
Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y for parallax layers inside.
|
|
3757
3757
|
|
|
3758
3758
|
- Import: `import { defineTilt } from 'motionary/components/interaction'; defineTilt();`
|
|
3759
|
-
- CDN: https://unpkg.com/motionary@
|
|
3759
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3760
3760
|
- Attributes: `max`, `scale`, `perspective`, `glare`, `reverse`, `disabled`
|
|
3761
3761
|
|
|
3762
3762
|
```html
|
|
@@ -3770,7 +3770,7 @@ Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y fo
|
|
|
3770
3770
|
Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'label+=100') overlaps or aligns steps; scrub ties progress to scroll; trigger view / click / manual.
|
|
3771
3771
|
|
|
3772
3772
|
- Import: `import { defineTimeline } from 'motionary/components/timeline'; defineTimeline();`
|
|
3773
|
-
- CDN: https://unpkg.com/motionary@
|
|
3773
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3774
3774
|
- Attributes: `scrub`, `trigger`, `overlap`, `duration`, `stagger`, `smooth`, `repeat`
|
|
3775
3775
|
- Events: `usa:complete`
|
|
3776
3776
|
- Methods: `play()`, `reverse()`, `seek()`
|
|
@@ -3788,7 +3788,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3788
3788
|
6.6: springs out of its trigger with an arrow, flips to stay inside the viewport and shifts along the edge; hover + keyboard focus (Esc closes) or click popovers with rich content.
|
|
3789
3789
|
|
|
3790
3790
|
- Import: `import { defineTip } from 'motionary/components/widgets'; defineTip();`
|
|
3791
|
-
- CDN: https://unpkg.com/motionary@
|
|
3791
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3792
3792
|
- Attributes: `text`, `placement`, `trigger`, `delay`
|
|
3793
3793
|
- Events: `usa:open`, `usa:close`
|
|
3794
3794
|
- Methods: `show()`, `hide()`
|
|
@@ -3808,7 +3808,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3808
3808
|
6.3: toasts pile up into a collapsed stack (newest in front, older ones peeking behind), fan out on hover or focus, auto-dismiss (paused while hovered) and swipe away. Six positions, a polite live region, stackToast() helper and data-usa-toast triggers.
|
|
3809
3809
|
|
|
3810
3810
|
- Import: `import { defineToastStack } from 'motionary/components/widgets'; defineToastStack();`
|
|
3811
|
-
- CDN: https://unpkg.com/motionary@
|
|
3811
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3812
3812
|
- Attributes: `position`, `duration`, `max`
|
|
3813
3813
|
- Events: `usa:show`, `usa:dismiss`
|
|
3814
3814
|
- Methods: `show()`, `dismiss()`, `clear()`
|
|
@@ -3824,7 +3824,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3824
3824
|
toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP and announces politely (errors assertively).
|
|
3825
3825
|
|
|
3826
3826
|
- Import: `import { defineToaster } from 'motionary/components/feedback'; defineToaster();`
|
|
3827
|
-
- CDN: https://unpkg.com/motionary@
|
|
3827
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3828
3828
|
- Attributes: `label`, `position`, `max`
|
|
3829
3829
|
- Events: `usa:toast`
|
|
3830
3830
|
- Methods: `show()`, `clear()`
|
|
@@ -3842,7 +3842,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3842
3842
|
10.6 (motion design tokens 2.0): edit duration and cubic-bézier easing tokens with a live preview per token, then export W3C Design Tokens (DTCG 2025.10 or the earlier draft) or import a DTCG file — aliases resolved, problems listed; apply writes the tokens to :root custom properties as you edit.
|
|
3843
3843
|
|
|
3844
3844
|
- Import: `import { defineTokenEditor } from 'motionary/components/widgets'; defineTokenEditor();`
|
|
3845
|
-
- CDN: https://unpkg.com/motionary@
|
|
3845
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3846
3846
|
- Attributes: `apply`, `format`, `groups`, `label`
|
|
3847
3847
|
- Events: `usa:export`, `usa:import`, `usa:change`
|
|
3848
3848
|
- Methods: `exportJSON()`, `importJSON()`
|
|
@@ -3856,7 +3856,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3856
3856
|
Types text, or cycles through phrases with delete and pause. Full text stays available to screen readers.
|
|
3857
3857
|
|
|
3858
3858
|
- Import: `import { defineTypewriter } from 'motionary/components/text'; defineTypewriter();`
|
|
3859
|
-
- CDN: https://unpkg.com/motionary@
|
|
3859
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3860
3860
|
- Attributes: `text`, `words`, `start`, `speed`, `delete-speed`, `pause`, `loop`, `delay`
|
|
3861
3861
|
- Events: `usa:complete`
|
|
3862
3862
|
- Methods: `start()`, `stop()`, `restart()`
|
|
@@ -3870,7 +3870,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3870
3870
|
7.7: a file row whose bar eases to value with a running shine; at 100 it turns into a check that draws itself, on error it shakes and offers Retry.
|
|
3871
3871
|
|
|
3872
3872
|
- Import: `import { defineUploadProgress } from 'motionary/components/widgets'; defineUploadProgress();`
|
|
3873
|
-
- CDN: https://unpkg.com/motionary@
|
|
3873
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3874
3874
|
- Attributes: `name`, `size`, `value`, `status`, `message`
|
|
3875
3875
|
- Events: `usa:retry`, `usa:done`, `usa:error`
|
|
3876
3876
|
|
|
@@ -3884,7 +3884,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3884
3884
|
9.4: a video thumbnail card — hover or focus plays a muted preview with a progress line, a play badge and a duration chip; without a video the poster drifts (Ken Burns).
|
|
3885
3885
|
|
|
3886
3886
|
- Import: `import { defineVideoCard } from 'motionary/components/widgets'; defineVideoCard();`
|
|
3887
|
-
- CDN: https://unpkg.com/motionary@
|
|
3887
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3888
3888
|
- Attributes: `label`, `duration`
|
|
3889
3889
|
- Events: `usa:open`
|
|
3890
3890
|
|
|
@@ -3901,7 +3901,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3901
3901
|
One view at a time with direction-aware slide, fade, scale or drill transitions — tabs, wizards, app pages.
|
|
3902
3902
|
|
|
3903
3903
|
- Import: `import { defineViewSwitch } from 'motionary/components/transitions'; defineViewSwitch();`
|
|
3904
|
-
- CDN: https://unpkg.com/motionary@
|
|
3904
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3905
3905
|
- Attributes: `active`, `duration`, `effect`
|
|
3906
3906
|
- Events: `usa:change`
|
|
3907
3907
|
- Methods: `show()`
|
|
@@ -3918,7 +3918,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3918
3918
|
7.8: a push-to-talk mic button — while listening a halo breathes and level bars wave; feed it live input levels with level (0–1) and they follow your voice.
|
|
3919
3919
|
|
|
3920
3920
|
- Import: `import { defineVoiceButton } from 'motionary/components/widgets'; defineVoiceButton();`
|
|
3921
|
-
- CDN: https://unpkg.com/motionary@
|
|
3921
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3922
3922
|
- Attributes: `label`, `bars`, `listening`
|
|
3923
3923
|
- Methods: `toggle()`
|
|
3924
3924
|
|
|
@@ -3932,7 +3932,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3932
3932
|
7.1: a rotary knob — drag up / down, scroll or use the keys; the value arc fills, a ring of LED ticks lights up and the pointer springs to the angle. role="slider".
|
|
3933
3933
|
|
|
3934
3934
|
- Import: `import { defineVolumeKnob } from 'motionary/components/widgets'; defineVolumeKnob();`
|
|
3935
|
-
- CDN: https://unpkg.com/motionary@
|
|
3935
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3936
3936
|
- Attributes: `min`, `max`, `label`
|
|
3937
3937
|
- Events: `usa:change`, `usa:input`
|
|
3938
3938
|
|
|
@@ -3945,7 +3945,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3945
3945
|
Interactive water ripples on a canvas over the content: move or tap to disturb the surface.
|
|
3946
3946
|
|
|
3947
3947
|
- Import: `import { defineWaterRipple } from 'motionary/components/background'; defineWaterRipple();`
|
|
3948
|
-
- CDN: https://unpkg.com/motionary@
|
|
3948
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3949
3949
|
- Attributes: `damping`, `color`, `strength`
|
|
3950
3950
|
- Methods: `mount()`
|
|
3951
3951
|
|
|
@@ -3960,7 +3960,7 @@ Interactive water ripples on a canvas over the content: move or tap to disturb t
|
|
|
3960
3960
|
Letters bob in a travelling wave — playful headlines and loading labels.
|
|
3961
3961
|
|
|
3962
3962
|
- Import: `import { defineWaveText } from 'motionary/components/text'; defineWaveText();`
|
|
3963
|
-
- CDN: https://unpkg.com/motionary@
|
|
3963
|
+
- CDN: https://unpkg.com/motionary@13/dist/components.umd.js
|
|
3964
3964
|
- Attributes: `text`, `amplitude`, `speed`, `stagger`
|
|
3965
3965
|
- Methods: `mount()`, `splitChars()`
|
|
3966
3966
|
|
|
@@ -3973,7 +3973,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3973
3973
|
6.8: sun rays turn, clouds drift, rain and snow fall, a flash-safe bolt glows, fog bands and stars — pick a condition and the scene cross-fades; the temperature counts up.
|
|
3974
3974
|
|
|
3975
3975
|
- Import: `import { defineWeatherCard } from 'motionary/components/widgets'; defineWeatherCard();`
|
|
3976
|
-
- CDN: https://unpkg.com/motionary@
|
|
3976
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3977
3977
|
- Attributes: `condition`, `temp`, `place`, `unit`, `label`
|
|
3978
3978
|
|
|
3979
3979
|
```html
|
|
@@ -3985,7 +3985,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3985
3985
|
9.6: a canvas animation rendered in a Web Worker on an OffscreenCanvas — the main thread stays free for input — with a main-thread fallback; particles, orbits, starfield or your own draw program.
|
|
3986
3986
|
|
|
3987
3987
|
- Import: `import { defineWorkerCanvas } from 'motionary/components/widgets'; defineWorkerCanvas();`
|
|
3988
|
-
- CDN: https://unpkg.com/motionary@
|
|
3988
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
3989
3989
|
- Attributes: `scene`, `label`
|
|
3990
3990
|
- Events: `usa:backend`
|
|
3991
3991
|
|
|
@@ -3998,7 +3998,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3998
3998
|
7.5: an experience bar — add(n) fills it smoothly; overflowing fills to the end, the level badge pops and the bar restarts with the remainder (several levels if needed).
|
|
3999
3999
|
|
|
4000
4000
|
- Import: `import { defineXpBar } from 'motionary/components/widgets'; defineXpBar();`
|
|
4001
|
-
- CDN: https://unpkg.com/motionary@
|
|
4001
|
+
- CDN: https://unpkg.com/motionary@13/dist/widgets.umd.js
|
|
4002
4002
|
- Attributes: `level`, `xp`, `per`
|
|
4003
4003
|
- Events: `usa:levelup`, `usa:xp`
|
|
4004
4004
|
- Methods: `add()`
|