motionary 13.9.0 → 14.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 +1 -1
- package/CHANGELOG.md +65 -0
- package/README.md +97 -96
- package/README_ja.md +7 -7
- package/README_zh.md +7 -7
- package/bin/motionary.mjs +74 -2
- package/bin/public-paths.mjs +5 -0
- package/bin/usa-codemod-10.mjs +1 -1
- package/bin/usa-codemod-13.mjs +1 -1
- package/bin/usa-codemod-5.mjs +1 -1
- package/bin/usa-codemod-6.mjs +1 -1
- package/bin/usa-codemod-7.mjs +1 -1
- package/bin/usa-codemod-8.mjs +1 -1
- package/bin/usa-codemod-9.mjs +1 -1
- package/dist/chunks/{anim-image-BwQVeYJq.js → anim-image-ClUQGh0E.js} +2 -2
- package/dist/chunks/{anim-image-CDOX5TK3.cjs → anim-image-DodXfc61.cjs} +2 -2
- package/dist/chunks/{audio-CZgCXg1t.js → audio-CfvQzwt5.js} +4 -4
- package/dist/chunks/audio-D0LwPShE.cjs +1 -1
- package/dist/chunks/{badge-wall-C0gJ_Kck.js → badge-wall-Bp5kUwTU.js} +2 -2
- package/dist/chunks/badge-wall-CITexuW7.cjs +1 -1
- package/dist/chunks/base-BvH4nAcv.cjs +1 -1
- package/dist/chunks/{base-C9CJrhL3.js → base-D0sRwVz1.js} +2 -2
- package/dist/chunks/bg-generator-CML8tPN8.cjs +1 -1
- package/dist/chunks/{bg-generator-oRwfTA5B.js → bg-generator-CbdOCgcF.js} +2 -2
- package/dist/chunks/bind-B_CTL6Qn.js +1 -1
- package/dist/chunks/bind-Ui43-n2d.cjs +1 -1
- package/dist/chunks/{builtins-SwWQKzb-.js → builtins-CY1l_hAW.js} +3 -3
- package/dist/chunks/builtins-DweCp29Z.cjs +1 -1
- package/dist/chunks/carousel-DU3rHTq0.cjs +1 -1
- package/dist/chunks/{carousel-u6rqMqGu.js → carousel-Drr0G4y7.js} +2 -2
- package/dist/chunks/{cart-drawer-CEIZfCw8.js → cart-drawer-BrBfdhOd.js} +2 -2
- package/dist/chunks/cart-drawer-CkFMKMhx.cjs +1 -1
- package/dist/chunks/code-export-PdGSl9WE.cjs +1 -1
- package/dist/chunks/{code-export-wdrBIWRv.js → code-export-qPPmVqgS.js} +2 -2
- package/dist/chunks/color-picker-B_xWVH8H.cjs +1 -1
- package/dist/chunks/{color-picker-CN8ThZfh.js → color-picker-D4-raPTo.js} +2 -2
- package/dist/chunks/command-palette-ISetAeX1.cjs +1 -1
- package/dist/chunks/{command-palette-IJuNiXhv.js → command-palette-YgbhCzi2.js} +2 -2
- package/dist/chunks/{core-B9Sjd4AV.js → core-BSqTp8Bt.js} +2 -2
- package/dist/chunks/core-BjcOCpJt.cjs +1 -1
- package/dist/chunks/core-DbAYRKnS.cjs +1 -1
- package/dist/chunks/core-Dj6iomdc.js +1 -1
- package/dist/chunks/core-DjjKLmZ6.cjs +1 -1
- package/dist/chunks/{core-BZhM_0Zh.js → core-LmWkFGlE.js} +2 -2
- package/dist/chunks/{countdown-WDZxXQz7.js → countdown-CE26Bi78.js} +2 -2
- package/dist/chunks/countdown-RQViryt7.cjs +1 -1
- package/dist/chunks/date-picker-BgApzPNn.cjs +1 -1
- package/dist/chunks/{date-picker-D4yqKTMJ.js → date-picker-a677RmYE.js} +2 -2
- package/dist/chunks/ease-HwYZnZat.cjs +1 -1
- package/dist/chunks/ease-XN8_0sXu.js +1 -1
- package/dist/chunks/{equalizer-CwGL1sD8.js → equalizer-2GzcV-8j.js} +2 -2
- package/dist/chunks/equalizer-_eD_ZdCl.cjs +1 -1
- package/dist/chunks/festival-banner-Bs18K0MJ.cjs +1 -1
- package/dist/chunks/{festival-banner-Dslu8K1g.js → festival-banner-Cfbi5oks.js} +2 -2
- package/dist/chunks/{field-DALTalya.js → field-B3_pZbPt.js} +2 -2
- package/dist/chunks/field-Dwq8-CLN.cjs +1 -1
- package/dist/chunks/{format-BU7xfxcU.js → format-B2XGhlqH.js} +4 -3
- package/dist/chunks/{format-ydoPCKjv.cjs → format-DrRrPbjl.cjs} +3 -1
- package/dist/chunks/fx-DaVuB89C.cjs +1 -1
- package/dist/chunks/{fx-Dc1sMyNg.js → fx-szWxgCx0.js} +2 -2
- package/dist/chunks/generative-BKoxWOSP.cjs +1 -1
- package/dist/chunks/{generative-DWdAwxYB.js → generative-D1QtbFNP.js} +2 -2
- package/dist/chunks/{gl-scene-94xQ0FHt.js → gl-scene-C2-f72GW.js} +3 -3
- package/dist/chunks/{gl-scene-BaKwrRbc.cjs → gl-scene-CVQgoCo9.cjs} +2 -2
- package/dist/chunks/{globe-D56xlOmk.js → globe-C2UzKQJI.js} +2 -2
- package/dist/chunks/globe-DA0jyb6s.cjs +1 -1
- package/dist/chunks/gpu-C2C6iBQC.cjs +1 -1
- package/dist/chunks/{gpu-BrdivsHA.js → gpu-D7wkP6SZ.js} +4 -4
- package/dist/chunks/{gpu-particles-4DBj91f-.js → gpu-particles-Dw2HV4Me.js} +2 -2
- package/dist/chunks/gpu-particles-wEO_rds1.cjs +1 -1
- package/dist/chunks/index-B65QsFQk.cjs +448 -0
- package/dist/chunks/index-DSF6GbSF.js +436 -0
- 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-BUGDp9az.js → keyframes-BBxaMajc.js} +2 -2
- package/dist/chunks/{keyframes-BBk6ILEE.cjs → keyframes-DJtDafnp.cjs} +2 -2
- package/dist/chunks/leaderboard-DvSSQ8o3.cjs +1 -1
- package/dist/chunks/{leaderboard-_UPi0KQX.js → leaderboard-odMGN-i2.js} +2 -2
- package/dist/chunks/{location-card-Bq596aK5.js → location-card-B7LwfBVv.js} +2 -2
- package/dist/chunks/location-card-DSPTApUe.cjs +1 -1
- package/dist/chunks/lottie-icon-BoxkukMd.cjs +1 -1
- package/dist/chunks/{lottie-icon-pqBgCV0y.js → lottie-icon-BsW6EvKG.js} +2 -2
- package/dist/chunks/{lottie-player-DuAYiKjL.cjs → lottie-player-BCoUFOkM.cjs} +2 -2
- package/dist/chunks/{lottie-player-V48rAp_Z.js → lottie-player-Bl1gLrZT.js} +3 -3
- package/dist/chunks/lyrics-CRB7dA1j.cjs +1 -1
- package/dist/chunks/{lyrics-D7mzxVIq.js → lyrics-CfAOpxkR.js} +2 -2
- package/dist/chunks/{manifest-CqfKtjeL.js → manifest-mzYIR0fB.js} +2 -2
- package/dist/chunks/manifest-xr3WET80.cjs +1 -1
- package/dist/chunks/{menu-XcdMtcfw.js → menu-Bwy7HGGu.js} +2 -2
- package/dist/chunks/menu-CZ1zHTT9.cjs +1 -1
- package/dist/chunks/{menu-toggle-RD6Fu1Gm.js → menu-toggle-9o38aUlM.js} +2 -2
- package/dist/chunks/menu-toggle-DGXN4VsN.cjs +1 -1
- package/dist/chunks/nav-morph-C4rD3wrU.cjs +1 -1
- package/dist/chunks/{nav-morph-F6qzM20K.js → nav-morph-CmqTSjWr.js} +2 -2
- package/dist/chunks/otp-DUyEWYMi.cjs +1 -1
- package/dist/chunks/{otp-BJKyY7I3.js → otp-DlwGTaHQ.js} +2 -2
- package/dist/chunks/{pagination-D6iMBStU.js → pagination-9Kv3ngXX.js} +2 -2
- package/dist/chunks/pagination-DHmYZZU9.cjs +1 -1
- package/dist/chunks/{physics-playground-DjSoxL4w.cjs → physics-playground-BOwru4ar.cjs} +2 -2
- package/dist/chunks/{physics-playground-P8cW0FTw.js → physics-playground-DsnhVbVr.js} +3 -3
- package/dist/chunks/play-BdevnnRU.js +79 -0
- package/dist/chunks/play-DCeKlDqE.cjs +81 -0
- package/dist/chunks/{player-CKOqYOLZ.cjs → player-BJPVdtzo.cjs} +14 -211
- package/dist/chunks/{player-EuOsz-rj.js → player-D18aHq0n.js} +15 -211
- package/dist/chunks/player-core-BTFa6_IO.cjs +180 -0
- package/dist/chunks/player-core-DR1WR-41.js +175 -0
- package/dist/chunks/presence-DAthlALi.cjs +1 -1
- package/dist/chunks/{presence-6eQ9t5vX.js → presence-DQsKeMSf.js} +2 -2
- package/dist/chunks/presets-BYBVJVeP.js +1 -1
- package/dist/chunks/presets-CUHys3sK.cjs +1 -1
- package/dist/chunks/{prize-wheel-CpGVo8QG.js → prize-wheel-D2MlXZz3.js} +2 -2
- package/dist/chunks/prize-wheel-emDopI5c.cjs +1 -1
- package/dist/chunks/{product-gallery-BmnYLKAQ.js → product-gallery-BznJaf2u.js} +2 -2
- package/dist/chunks/product-gallery-CKtSVhZk.cjs +1 -1
- package/dist/chunks/progress-ring-C75O4MUi.cjs +1 -1
- package/dist/chunks/{progress-ring-CKgR1GRB.js → progress-ring-DTbpqpsJ.js} +2 -2
- package/dist/chunks/prop-panel-DFqga6H5.cjs +1 -1
- package/dist/chunks/{prop-panel-BjbCiPAB.js → prop-panel-DTDO4kVW.js} +2 -2
- package/dist/chunks/radar-D-bZRrgs.cjs +1 -1
- package/dist/chunks/{radar-rBQT1BFh.js → radar-lUFsshFe.js} +2 -2
- package/dist/chunks/reactions-BL2iO8iy.cjs +1 -1
- package/dist/chunks/{reactions-CsdP0Su5.js → reactions-zFqABIRz.js} +2 -2
- package/dist/chunks/{registry-DKs_BiEo.js → registry-CE5_Mo_p.js} +2 -2
- package/dist/chunks/{registry-DexzwLcF.cjs → registry-ChLWwIC4.cjs} +3 -3
- package/dist/chunks/registry-CibnX7Ui.cjs +1 -1
- package/dist/chunks/{registry-DMa_XGX2.js → registry-DwxAf29L.js} +3 -3
- package/dist/chunks/{retro-button-Bw4sqAkl.js → retro-button-CS_yN0sA.js} +2 -2
- package/dist/chunks/retro-button-DrrBZ6w8.cjs +1 -1
- package/dist/chunks/{rive-FjeW9KDl.js → rive-BTqu1owb.js} +2 -2
- package/dist/chunks/rive-D6X4J0Mi.cjs +1 -1
- package/dist/chunks/{runtime-link-D7f1DGAW.js → runtime-link-Bg6c5x7w.js} +2 -2
- package/dist/chunks/{runtime-link-BbSjiL8B.cjs → runtime-link-ykoWOFHQ.cjs} +2 -2
- package/dist/chunks/scene-C4h75wjo.cjs +112 -0
- package/dist/chunks/scene-DWNb4Lb1.js +108 -0
- package/dist/chunks/scroll-driven-CQbwzCdn.cjs +1 -1
- package/dist/chunks/scroll-driven-LghshrWq.js +1 -1
- package/dist/chunks/{scroll-scene-BycK6Uz-.cjs → scroll-scene-C_d8SE9e.cjs} +3 -3
- package/dist/chunks/{scroll-scene-fYjgPx3O.js → scroll-scene-DQBNf7Q4.js} +4 -4
- package/dist/chunks/segmented-CpB4mKIn.cjs +1 -1
- package/dist/chunks/{segmented-BEep92iW.js → segmented-Dn8MH47H.js} +2 -2
- package/dist/chunks/shader-backdrop-BodjXMhw.cjs +1 -1
- package/dist/chunks/{shader-backdrop-dEs33c18.js → shader-backdrop-Cnq8-zUi.js} +2 -2
- package/dist/chunks/shared-Bf72wLyt.cjs +1 -1
- package/dist/chunks/shared-CkKHWrtJ.js +1 -1
- package/dist/chunks/shared-jkgRH-Hx.cjs +1 -1
- package/dist/chunks/shared-o9CtwHmi.js +1 -1
- package/dist/chunks/sheet-B38ylIEW.cjs +1 -1
- package/dist/chunks/{sheet-BHTMF8qx.js → sheet-CeSuvE2R.js} +2 -2
- package/dist/chunks/sign-DvZ1jHxE.js +1 -1
- package/dist/chunks/sign-RAkQIWrM.cjs +1 -1
- package/dist/chunks/skeleton-reveal-Dsd3Wp0n.cjs +1 -1
- package/dist/chunks/{skeleton-reveal-BMrbmru6.js → skeleton-reveal-WR9NVMyM.js} +2 -2
- package/dist/chunks/{sparkline-htTaTcgs.js → sparkline-4vqobz_N.js} +2 -2
- package/dist/chunks/sparkline-DeKhZpVo.cjs +1 -1
- package/dist/chunks/{spring-DBCejV_z.js → spring-CpnuPym2.js} +2 -2
- package/dist/chunks/spring-XEl_diDJ.cjs +1 -1
- package/dist/chunks/stagger-B9sKPwQB.js +1 -1
- package/dist/chunks/stagger-DFKwqOQG.cjs +1 -1
- package/dist/chunks/suggestion-chips-CAcbFTr4.cjs +1 -1
- package/dist/chunks/{suggestion-chips-Cj70JCtZ.js → suggestion-chips-CuuKEDNG.js} +2 -2
- package/dist/chunks/switch-DiTlApGd.cjs +1 -1
- package/dist/chunks/{switch-CnSs8nDn.js → switch-WErIYZJD.js} +2 -2
- package/dist/chunks/tab-bar-BBlVAqbq.cjs +1 -1
- package/dist/chunks/{tab-bar-B7hFB974.js → tab-bar-D01Yx5Qz.js} +2 -2
- package/dist/chunks/{ticker-B3nrd0d-.cjs → ticker-CdX1xnUl.cjs} +2 -2
- package/dist/chunks/{ticker-CaOP4DW9.js → ticker-DxG5WlGA.js} +2 -2
- package/dist/chunks/{tip-ylGHoOIf.js → tip-BsX2--FP.js} +2 -2
- package/dist/chunks/tip-VGS3qAUm.cjs +1 -1
- package/dist/chunks/{toast-stack-Z_5cS1Nz.js → toast-stack-Cdu0GOkt.js} +3 -3
- package/dist/chunks/toast-stack-DprisNp_.cjs +1 -1
- package/dist/chunks/{tween-Dy11oP6j.cjs → tween-BEox7vZY.cjs} +2 -2
- package/dist/chunks/{tween-BUh1J2QE.js → tween-CB3CoBmZ.js} +2 -2
- package/dist/chunks/upload-progress-CEAWkP-p.cjs +1 -1
- package/dist/chunks/{upload-progress-y7N0eaM4.js → upload-progress-DguzIPm0.js} +2 -2
- package/dist/chunks/variants-BtqEJuki.cjs +1 -1
- package/dist/chunks/{variants-MxfB3UVB.js → variants-Dvcgx0pd.js} +2 -2
- package/dist/chunks/viewport-BAXHhZLV.js +1 -1
- package/dist/chunks/viewport-EFYGqMNa.cjs +1 -1
- package/dist/chunks/voice-button-9UauxvT9.cjs +1 -1
- package/dist/chunks/{voice-button-DFEoNe24.js → voice-button-DBAXRVMZ.js} +2 -2
- package/dist/chunks/weather-card-4Eg6e43D.cjs +1 -1
- package/dist/chunks/{weather-card-NR0i507J.js → weather-card-DQ9HUFd4.js} +2 -2
- package/dist/chunks/worker-canvas-BMBXAFWp.cjs +1 -1
- package/dist/chunks/{worker-canvas-CPZvzrWQ.js → worker-canvas-BZKnSNtg.js} +2 -2
- package/dist/chunks/{xp-bar-DAbx1LZ_.js → xp-bar-CxjWJQFS.js} +2 -2
- package/dist/chunks/xp-bar-DkWfCTfB.cjs +1 -1
- package/dist/components/a11y.cjs +1 -1
- package/dist/components/a11y.js +3 -3
- package/dist/components/ai.cjs +1 -1
- package/dist/components/ai.js +1 -1
- package/dist/components/angular.cjs +1 -1
- package/dist/components/angular.js +1 -1
- package/dist/components/background.cjs +1 -1
- package/dist/components/background.js +3 -3
- package/dist/components/bridge.cjs +1 -1
- package/dist/components/bridge.js +2 -2
- package/dist/components/cards.cjs +1 -1
- package/dist/components/cards.js +3 -3
- package/dist/components/click.cjs +1 -1
- package/dist/components/click.js +4 -4
- package/dist/components/compat-v13.cjs +116 -0
- package/dist/components/compat-v13.d.cts +46 -0
- package/dist/components/compat-v13.d.ts +46 -0
- package/dist/components/compat-v13.js +111 -0
- 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 +4 -4
- package/dist/components/design.cjs +1 -1
- package/dist/components/design.js +2 -2
- package/dist/components/dotlottie.cjs +3 -3
- package/dist/components/dotlottie.js +4 -4
- package/dist/components/dsl.cjs +1 -1
- package/dist/components/dsl.js +2 -2
- package/dist/components/effects.cjs +4 -4
- package/dist/components/effects.d.cts +6 -10
- package/dist/components/effects.d.ts +6 -10
- package/dist/components/effects.js +10 -9
- package/dist/components/engine.cjs +1 -1
- package/dist/components/engine.js +3 -3
- package/dist/components/feedback.cjs +1 -1
- package/dist/components/feedback.js +2 -2
- package/dist/components/fx-3d.cjs +1 -1
- package/dist/components/fx-3d.js +3 -3
- package/dist/components/fx-ai.cjs +1 -1
- package/dist/components/fx-ai.js +2 -2
- package/dist/components/fx-chart.cjs +1 -1
- package/dist/components/fx-chart.js +2 -2
- package/dist/components/fx-cinema.cjs +1 -1
- package/dist/components/fx-cinema.js +2 -2
- package/dist/components/fx-cyber.cjs +1 -1
- package/dist/components/fx-cyber.js +2 -2
- package/dist/components/fx-festival.cjs +1 -1
- package/dist/components/fx-festival.js +2 -2
- package/dist/components/fx-focus.cjs +1 -1
- package/dist/components/fx-focus.js +2 -2
- package/dist/components/fx-form.cjs +1 -1
- package/dist/components/fx-form.js +2 -2
- package/dist/components/fx-game.cjs +1 -1
- package/dist/components/fx-game.js +2 -2
- package/dist/components/fx-genart.cjs +1 -1
- package/dist/components/fx-genart.js +2 -2
- package/dist/components/fx-geo.cjs +1 -1
- package/dist/components/fx-geo.js +2 -2
- package/dist/components/fx-gesture.cjs +1 -1
- package/dist/components/fx-gesture.js +2 -2
- package/dist/components/fx-gpu.cjs +1 -1
- package/dist/components/fx-gpu.js +4 -4
- package/dist/components/fx-light.cjs +1 -1
- package/dist/components/fx-light.js +4 -4
- package/dist/components/fx-lottie.cjs +1 -1
- package/dist/components/fx-lottie.js +2 -2
- package/dist/components/fx-morph.cjs +1 -1
- package/dist/components/fx-morph.js +2 -2
- package/dist/components/fx-music.cjs +1 -1
- package/dist/components/fx-music.js +5 -5
- package/dist/components/fx-organic.cjs +1 -1
- package/dist/components/fx-organic.js +2 -2
- package/dist/components/fx-paper.cjs +1 -1
- package/dist/components/fx-paper.js +2 -2
- package/dist/components/fx-perf.cjs +1 -1
- package/dist/components/fx-perf.js +3 -3
- package/dist/components/fx-physics.cjs +1 -1
- package/dist/components/fx-physics.js +4 -4
- package/dist/components/fx-retro.cjs +1 -1
- package/dist/components/fx-retro.js +2 -2
- package/dist/components/fx-safe.cjs +1 -1
- package/dist/components/fx-safe.js +3 -3
- package/dist/components/fx-shop.cjs +1 -1
- package/dist/components/fx-shop.js +2 -2
- package/dist/components/fx-social.cjs +1 -1
- package/dist/components/fx-social.js +2 -2
- package/dist/components/fx-spatial.cjs +1 -1
- package/dist/components/fx-spatial.js +2 -2
- package/dist/components/fx-surface.cjs +1 -1
- package/dist/components/fx-surface.js +2 -2
- package/dist/components/fx-text.cjs +1 -1
- package/dist/components/fx-text.js +3 -3
- package/dist/components/fx-transitions.cjs +1 -1
- package/dist/components/fx-transitions.js +4 -4
- package/dist/components/fx-video.cjs +1 -1
- package/dist/components/fx-video.js +3 -3
- package/dist/components/fx-weather.cjs +1 -1
- package/dist/components/fx-weather.js +3 -3
- package/dist/components/fx.cjs +1 -1
- package/dist/components/fx.js +5 -5
- package/dist/components/fx2.cjs +1 -1
- package/dist/components/fx2.js +5 -5
- package/dist/components/gesture.cjs +1 -1
- package/dist/components/gesture.js +5 -5
- package/dist/components/gl-model.cjs +3 -3
- package/dist/components/gl-model.js +4 -4
- package/dist/components/gl-pool.cjs +1 -1
- package/dist/components/gl-pool.js +1 -1
- package/dist/components/interaction.cjs +1 -1
- package/dist/components/interaction.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/components/motion-scene.cjs +43 -0
- package/dist/components/motion-scene.d.cts +51 -0
- package/dist/components/motion-scene.d.ts +51 -0
- package/dist/components/motion-scene.js +41 -0
- package/dist/components/motion.cjs +20 -0
- package/dist/components/motion.d.cts +135 -0
- package/dist/components/motion.d.ts +135 -0
- package/dist/components/motion.js +6 -0
- package/dist/components/native.cjs +1 -1
- package/dist/components/native.js +1 -1
- package/dist/components/offscreen.cjs +1 -1
- package/dist/components/offscreen.js +3 -3
- package/dist/components/packs.cjs +1 -1
- package/dist/components/packs.js +2 -2
- package/dist/components/page.cjs +1 -1
- package/dist/components/page.js +4 -4
- package/dist/components/perf-tasks.cjs +1 -1
- package/dist/components/perf-tasks.js +2 -2
- package/dist/components/perf.cjs +1 -1
- package/dist/components/perf.js +3 -3
- package/dist/components/physics.cjs +1 -1
- package/dist/components/physics.js +4 -4
- package/dist/components/plugins.cjs +1 -1
- package/dist/components/plugins.js +2 -2
- 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 +2 -2
- package/dist/components/scene-v2.cjs +12 -75
- package/dist/components/scene-v2.d.cts +3 -3
- package/dist/components/scene-v2.d.ts +3 -3
- package/dist/components/scene-v2.js +12 -75
- package/dist/components/snap-carousel.cjs +2 -2
- 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 +2 -2
- package/dist/components/text.cjs +1 -1
- package/dist/components/text.js +3 -3
- package/dist/components/timeline-editor.cjs +7 -3
- package/dist/components/timeline-editor.d.cts +119 -3
- package/dist/components/timeline-editor.d.ts +119 -3
- package/dist/components/timeline-editor.js +6 -5
- package/dist/components/timeline.cjs +1 -1
- package/dist/components/timeline.js +4 -4
- 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 +2 -2
- package/dist/components/ui.cjs +1 -1
- package/dist/components/ui.js +5 -5
- 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 +2 -2
- package/dist/components/widgets.cjs +5 -5
- package/dist/components/widgets.d.cts +1 -1
- package/dist/components/widgets.d.ts +1 -1
- package/dist/components/widgets.js +101 -101
- package/dist/components.cjs +1 -1
- package/dist/components.js +11 -11
- package/dist/components.umd.js +3 -3
- package/dist/effects/achievement-unlock.cjs +1 -1
- package/dist/effects/achievement-unlock.js +2 -2
- package/dist/effects/aurora-veil.cjs +1 -1
- package/dist/effects/aurora-veil.js +2 -2
- package/dist/effects/badge-pop.cjs +1 -1
- package/dist/effects/badge-pop.js +2 -2
- package/dist/effects/bars-grow.cjs +1 -1
- package/dist/effects/bars-grow.js +2 -2
- package/dist/effects/beat-bounce.cjs +1 -1
- package/dist/effects/beat-bounce.js +2 -2
- package/dist/effects/blob-button.cjs +1 -1
- package/dist/effects/blob-button.js +2 -2
- package/dist/effects/bloom.cjs +1 -1
- package/dist/effects/bloom.js +2 -2
- package/dist/effects/breathe.cjs +1 -1
- package/dist/effects/breathe.js +2 -2
- package/dist/effects/brushed-metal.cjs +1 -1
- package/dist/effects/brushed-metal.js +2 -2
- package/dist/effects/camera-dolly.cjs +1 -1
- package/dist/effects/camera-dolly.js +2 -2
- package/dist/effects/card-flip-3d.cjs +1 -1
- package/dist/effects/card-flip-3d.js +2 -2
- package/dist/effects/chest-open.cjs +1 -1
- package/dist/effects/chest-open.js +2 -2
- package/dist/effects/cloth.cjs +1 -1
- package/dist/effects/cloth.js +2 -2
- package/dist/effects/coin-burst.cjs +1 -1
- package/dist/effects/coin-burst.js +2 -2
- package/dist/effects/color-pulse.cjs +1 -1
- package/dist/effects/color-pulse.js +2 -2
- package/dist/effects/crt-power.cjs +1 -1
- package/dist/effects/crt-power.js +2 -2
- package/dist/effects/crumple.cjs +1 -1
- package/dist/effects/crumple.js +2 -2
- package/dist/effects/data-decode.cjs +1 -1
- package/dist/effects/data-decode.js +2 -2
- package/dist/effects/day-cycle.cjs +1 -1
- package/dist/effects/day-cycle.js +2 -2
- package/dist/effects/depth-in.cjs +1 -1
- package/dist/effects/depth-in.js +2 -2
- package/dist/effects/depth-pop.cjs +1 -1
- package/dist/effects/depth-pop.js +2 -2
- package/dist/effects/depth-stack.cjs +1 -1
- package/dist/effects/depth-stack.js +2 -2
- package/dist/effects/dolly-in.cjs +1 -1
- package/dist/effects/dolly-in.js +2 -2
- package/dist/effects/dots-pop.cjs +1 -1
- package/dist/effects/dots-pop.js +2 -2
- package/dist/effects/field-shake.cjs +1 -1
- package/dist/effects/field-shake.js +2 -2
- package/dist/effects/field-success.cjs +1 -1
- package/dist/effects/field-success.js +2 -2
- package/dist/effects/film-burn.cjs +1 -1
- package/dist/effects/film-burn.js +2 -2
- package/dist/effects/fire.cjs +1 -1
- package/dist/effects/fire.js +3 -3
- package/dist/effects/fireflies.cjs +1 -1
- package/dist/effects/fireflies.js +3 -3
- package/dist/effects/firework-burst.cjs +1 -1
- package/dist/effects/firework-burst.js +2 -2
- package/dist/effects/flip-chars.cjs +1 -1
- package/dist/effects/flip-chars.js +2 -2
- package/dist/effects/fluid.cjs +1 -1
- package/dist/effects/fluid.js +3 -3
- package/dist/effects/fly-to-cart.cjs +1 -1
- package/dist/effects/fly-to-cart.js +2 -2
- package/dist/effects/focus-draw.cjs +1 -1
- package/dist/effects/focus-draw.js +2 -2
- package/dist/effects/focus-glow.cjs +1 -1
- package/dist/effects/focus-glow.js +2 -2
- package/dist/effects/fog.cjs +1 -1
- package/dist/effects/fog.js +2 -2
- package/dist/effects/font-breathe.cjs +1 -1
- package/dist/effects/font-breathe.js +2 -2
- package/dist/effects/form-cascade.cjs +1 -1
- package/dist/effects/form-cascade.js +2 -2
- package/dist/effects/gen-skeleton.cjs +1 -1
- package/dist/effects/gen-skeleton.js +2 -2
- package/dist/effects/glass-frost.cjs +1 -1
- package/dist/effects/glass-frost.js +2 -2
- package/dist/effects/glitch-text.cjs +1 -1
- package/dist/effects/glitch-text.js +2 -2
- package/dist/effects/globe-spin.cjs +1 -1
- package/dist/effects/globe-spin.js +2 -2
- package/dist/effects/god-rays.cjs +1 -1
- package/dist/effects/god-rays.js +2 -2
- package/dist/effects/gpu-lift.cjs +1 -1
- package/dist/effects/gpu-lift.js +2 -2
- package/dist/effects/grain-flicker.cjs +1 -1
- package/dist/effects/grain-flicker.js +2 -2
- package/dist/effects/halftone-in.cjs +1 -1
- package/dist/effects/halftone-in.js +2 -2
- package/dist/effects/highlight-sweep.cjs +1 -1
- package/dist/effects/highlight-sweep.js +2 -2
- package/dist/effects/hologram.cjs +1 -1
- package/dist/effects/hologram.js +2 -2
- package/dist/effects/hud-frame.cjs +1 -1
- package/dist/effects/hud-frame.js +2 -2
- package/dist/effects/icon-pop.cjs +1 -1
- package/dist/effects/icon-pop.js +2 -2
- package/dist/effects/icon-swap.cjs +1 -1
- package/dist/effects/icon-swap.js +2 -2
- package/dist/effects/idle-reveal.cjs +1 -1
- package/dist/effects/idle-reveal.js +2 -2
- package/dist/effects/ink.cjs +1 -1
- package/dist/effects/ink.js +3 -3
- package/dist/effects/jump-cut.cjs +1 -1
- package/dist/effects/jump-cut.js +2 -2
- package/dist/effects/kaleido.cjs +1 -1
- package/dist/effects/kaleido.js +2 -2
- package/dist/effects/label-float.cjs +1 -1
- package/dist/effects/label-float.js +2 -2
- package/dist/effects/lantern-rise.cjs +1 -1
- package/dist/effects/lantern-rise.js +2 -2
- package/dist/effects/leaves.cjs +1 -1
- package/dist/effects/leaves.js +3 -3
- package/dist/effects/letterbox.cjs +1 -1
- package/dist/effects/letterbox.js +2 -2
- package/dist/effects/level-up.cjs +1 -1
- package/dist/effects/level-up.js +2 -2
- package/dist/effects/light-follow.cjs +1 -1
- package/dist/effects/light-follow.js +2 -2
- package/dist/effects/lightning.cjs +1 -1
- package/dist/effects/lightning.js +2 -2
- package/dist/effects/line-draw.cjs +1 -1
- package/dist/effects/line-draw.js +2 -2
- package/dist/effects/liquid-text.cjs +1 -1
- package/dist/effects/liquid-text.js +2 -2
- package/dist/effects/liquid-wipe.cjs +1 -1
- package/dist/effects/liquid-wipe.js +2 -2
- package/dist/effects/lottie-play.cjs +1 -1
- package/dist/effects/lottie-play.js +2 -2
- package/dist/effects/magnet.cjs +1 -1
- package/dist/effects/magnet.js +2 -2
- package/dist/effects/marching-ants.cjs +1 -1
- package/dist/effects/marching-ants.js +2 -2
- package/dist/effects/marker-pulse.cjs +1 -1
- package/dist/effects/marker-pulse.js +2 -2
- package/dist/effects/mention-glow.cjs +1 -1
- package/dist/effects/mention-glow.js +2 -2
- package/dist/effects/mesh-drift.cjs +1 -1
- package/dist/effects/mesh-drift.js +2 -2
- package/dist/effects/message-in.cjs +1 -1
- package/dist/effects/message-in.js +2 -2
- package/dist/effects/mosaic-flip.cjs +1 -1
- package/dist/effects/mosaic-flip.js +2 -2
- package/dist/effects/neon-ignite.cjs +1 -1
- package/dist/effects/neon-ignite.js +2 -2
- package/dist/effects/neon-pulse.cjs +1 -1
- package/dist/effects/neon-pulse.js +2 -2
- package/dist/effects/neon-write.cjs +1 -1
- package/dist/effects/neon-write.js +2 -2
- package/dist/effects/neu-press.cjs +1 -1
- package/dist/effects/neu-press.js +2 -2
- package/dist/effects/noise-reveal.cjs +1 -1
- package/dist/effects/noise-reveal.js +2 -2
- package/dist/effects/number-roll.cjs +1 -1
- package/dist/effects/number-roll.js +2 -2
- package/dist/effects/orbit-camera.cjs +1 -1
- package/dist/effects/orbit-camera.js +2 -2
- package/dist/effects/orbit-in.cjs +1 -1
- package/dist/effects/orbit-in.js +2 -2
- package/dist/effects/origami.cjs +1 -1
- package/dist/effects/origami.js +2 -2
- package/dist/effects/page-curl.cjs +1 -1
- package/dist/effects/page-curl.js +2 -2
- package/dist/effects/pan-reveal.cjs +1 -1
- package/dist/effects/pan-reveal.js +2 -2
- package/dist/effects/paper-unfold.cjs +1 -1
- package/dist/effects/paper-unfold.js +2 -2
- package/dist/effects/particle-text.cjs +1 -1
- package/dist/effects/particle-text.js +2 -2
- package/dist/effects/path-morph.cjs +1 -1
- package/dist/effects/path-morph.js +2 -2
- package/dist/effects/pearlescent.cjs +1 -1
- package/dist/effects/pearlescent.js +2 -2
- package/dist/effects/pencil-sketch.cjs +1 -1
- package/dist/effects/pencil-sketch.js +2 -2
- package/dist/effects/pin-drop.cjs +1 -1
- package/dist/effects/pin-drop.js +2 -2
- package/dist/effects/pinball.cjs +1 -1
- package/dist/effects/pinball.js +2 -2
- package/dist/effects/pinch-hint.cjs +1 -1
- package/dist/effects/pinch-hint.js +2 -2
- package/dist/effects/pixelate-in.cjs +1 -1
- package/dist/effects/pixelate-in.js +2 -2
- package/dist/effects/pointer-shadow.cjs +1 -1
- package/dist/effects/pointer-shadow.js +2 -2
- package/dist/effects/portal-open.cjs +1 -1
- package/dist/effects/portal-open.js +2 -2
- package/dist/effects/price-flip.cjs +1 -1
- package/dist/effects/price-flip.js +2 -2
- package/dist/effects/product-spin.cjs +1 -1
- package/dist/effects/product-spin.js +2 -2
- package/dist/effects/rack-focus.cjs +1 -1
- package/dist/effects/rack-focus.js +2 -2
- package/dist/effects/radial-spectrum.cjs +1 -1
- package/dist/effects/radial-spectrum.js +2 -2
- package/dist/effects/rain-glass.cjs +1 -1
- package/dist/effects/rain-glass.js +2 -2
- package/dist/effects/reaction-burst.cjs +1 -1
- package/dist/effects/reaction-burst.js +2 -2
- package/dist/effects/read-receipt.cjs +1 -1
- package/dist/effects/read-receipt.js +2 -2
- package/dist/effects/refraction.cjs +1 -1
- package/dist/effects/refraction.js +2 -2
- package/dist/effects/ring-sweep.cjs +1 -1
- package/dist/effects/ring-sweep.js +2 -2
- package/dist/effects/ripple-dissolve.cjs +1 -1
- package/dist/effects/ripple-dissolve.js +2 -2
- package/dist/effects/rope.cjs +1 -1
- package/dist/effects/rope.js +2 -2
- package/dist/effects/route-draw.cjs +1 -1
- package/dist/effects/route-draw.js +2 -2
- package/dist/effects/safe-fade.cjs +1 -1
- package/dist/effects/safe-fade.js +2 -2
- package/dist/effects/sakura.cjs +1 -1
- package/dist/effects/sakura.js +3 -3
- package/dist/effects/sale-shine.cjs +1 -1
- package/dist/effects/sale-shine.js +2 -2
- package/dist/effects/sankey-flow.cjs +1 -1
- package/dist/effects/sankey-flow.js +2 -2
- package/dist/effects/scanline-sweep.cjs +1 -1
- package/dist/effects/scanline-sweep.js +2 -2
- package/dist/effects/shatter.cjs +1 -1
- package/dist/effects/shatter.js +2 -2
- package/dist/effects/smoke.cjs +1 -1
- package/dist/effects/smoke.js +3 -3
- package/dist/effects/snowfall.cjs +1 -1
- package/dist/effects/snowfall.js +2 -2
- package/dist/effects/soft-body.cjs +1 -1
- package/dist/effects/soft-body.js +2 -2
- package/dist/effects/sound-particles.cjs +1 -1
- package/dist/effects/sound-particles.js +2 -2
- package/dist/effects/spatial-float.cjs +1 -1
- package/dist/effects/spatial-float.js +2 -2
- package/dist/effects/spectrum-mirror.cjs +1 -1
- package/dist/effects/spectrum-mirror.js +2 -2
- package/dist/effects/splash.cjs +1 -1
- package/dist/effects/splash.js +3 -3
- package/dist/effects/spooky-float.cjs +1 -1
- package/dist/effects/spooky-float.js +2 -2
- package/dist/effects/stock-pulse.cjs +1 -1
- package/dist/effects/stock-pulse.js +2 -2
- package/dist/effects/stream-text.cjs +1 -1
- package/dist/effects/stream-text.js +2 -2
- package/dist/effects/stroke-draw.cjs +1 -1
- package/dist/effects/stroke-draw.js +2 -2
- package/dist/effects/success-check.cjs +1 -1
- package/dist/effects/success-check.js +2 -2
- package/dist/effects/swipe-hint.cjs +1 -1
- package/dist/effects/swipe-hint.js +2 -2
- package/dist/effects/text-trail.cjs +1 -1
- package/dist/effects/text-trail.js +2 -2
- package/dist/effects/thinking-glow.cjs +1 -1
- package/dist/effects/thinking-glow.js +2 -2
- package/dist/effects/tilt-wobble.cjs +1 -1
- package/dist/effects/tilt-wobble.js +2 -2
- package/dist/effects/typing-dots.cjs +1 -1
- package/dist/effects/typing-dots.js +2 -2
- package/dist/effects/underline-sweep.cjs +1 -1
- package/dist/effects/underline-sweep.js +2 -2
- package/dist/effects/vhs-glitch.cjs +1 -1
- package/dist/effects/vhs-glitch.js +2 -2
- package/dist/effects/vine-grow.cjs +1 -1
- package/dist/effects/vine-grow.js +2 -2
- package/dist/effects/vinyl-spin.cjs +1 -1
- package/dist/effects/vinyl-spin.js +2 -2
- package/dist/effects/voice-wave.cjs +1 -1
- package/dist/effects/voice-wave.js +2 -2
- package/dist/effects/water-drop.cjs +1 -1
- package/dist/effects/water-drop.js +2 -2
- package/dist/effects/watercolor.cjs +1 -1
- package/dist/effects/watercolor.js +2 -2
- package/dist/effects/waveform-scope.cjs +1 -1
- package/dist/effects/waveform-scope.js +2 -2
- package/dist/effects/xmas-snow.cjs +1 -1
- package/dist/effects/xmas-snow.js +2 -2
- package/dist/effects/xp-gain.cjs +1 -1
- package/dist/effects/xp-gain.js +2 -2
- package/dist/effects/y2k-shine.cjs +1 -1
- package/dist/effects/y2k-shine.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/runtime/format-apng.iife.js +1 -1
- package/dist/runtime/format-apng.js +3 -3
- package/dist/runtime/format-css.cjs +3 -3
- package/dist/runtime/format-css.iife.js +1 -1
- package/dist/runtime/format-css.js +3 -3
- package/dist/runtime/format-gif.cjs +3 -3
- package/dist/runtime/format-gif.iife.js +1 -1
- package/dist/runtime/format-gif.js +3 -3
- 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 +4 -4
- package/dist/runtime/format-motion.iife.js +1 -1
- package/dist/runtime/format-motion.js +4 -4
- 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 +3 -3
- package/dist/runtime/format-sprite.iife.js +1 -1
- package/dist/runtime/format-sprite.js +3 -3
- package/dist/runtime/format-svg.cjs +3 -3
- package/dist/runtime/format-svg.iife.js +1 -1
- package/dist/runtime/format-svg.js +3 -3
- package/dist/runtime/format-webp.cjs +3 -3
- package/dist/runtime/format-webp.iife.js +1 -1
- package/dist/runtime/format-webp.js +3 -3
- 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 +3 -3
- package/dist/runtime/vector.iife.js +1 -1
- package/dist/runtime/vector.js +3 -3
- 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 +4 -4
- package/dist/widgets/badge-wall.cjs +1 -1
- package/dist/widgets/badge-wall.js +2 -2
- package/dist/widgets/bar-chart.cjs +1 -1
- package/dist/widgets/bar-chart.js +2 -2
- package/dist/widgets/bg-generator.cjs +1 -1
- package/dist/widgets/bg-generator.js +2 -2
- package/dist/widgets/carousel.cjs +1 -1
- package/dist/widgets/carousel.js +2 -2
- package/dist/widgets/cart-drawer.cjs +1 -1
- package/dist/widgets/cart-drawer.js +2 -2
- package/dist/widgets/chapter-nav.cjs +1 -1
- package/dist/widgets/chapter-nav.js +2 -2
- package/dist/widgets/chat-composer.cjs +1 -1
- package/dist/widgets/chat-composer.js +2 -2
- package/dist/widgets/clock-control.cjs +1 -1
- package/dist/widgets/clock-control.js +2 -2
- package/dist/widgets/code-export.cjs +1 -1
- package/dist/widgets/code-export.js +2 -2
- package/dist/widgets/color-picker.cjs +1 -1
- package/dist/widgets/color-picker.js +2 -2
- package/dist/widgets/command-palette.cjs +1 -1
- package/dist/widgets/command-palette.js +2 -2
- package/dist/widgets/compare.cjs +1 -1
- package/dist/widgets/compare.js +2 -2
- package/dist/widgets/countdown.cjs +1 -1
- package/dist/widgets/countdown.js +2 -2
- package/dist/widgets/cube-gallery.cjs +1 -1
- package/dist/widgets/cube-gallery.js +2 -2
- package/dist/widgets/date-picker.cjs +1 -1
- package/dist/widgets/date-picker.js +2 -2
- package/dist/widgets/disclosure.cjs +1 -1
- package/dist/widgets/disclosure.js +3 -3
- package/dist/widgets/dock.cjs +1 -1
- package/dist/widgets/dock.js +2 -2
- package/dist/widgets/dotlottie.cjs +1 -1
- package/dist/widgets/dotlottie.js +1 -1
- package/dist/widgets/equalizer.cjs +1 -1
- package/dist/widgets/equalizer.js +2 -2
- package/dist/widgets/festival-banner.cjs +1 -1
- package/dist/widgets/festival-banner.js +2 -2
- package/dist/widgets/field.cjs +1 -1
- package/dist/widgets/field.js +2 -2
- package/dist/widgets/file-drop.cjs +1 -1
- package/dist/widgets/file-drop.js +2 -2
- package/dist/widgets/gauge.cjs +1 -1
- package/dist/widgets/gauge.js +2 -2
- package/dist/widgets/gen-art.cjs +1 -1
- package/dist/widgets/gen-art.js +2 -2
- package/dist/widgets/gesture-sticker.cjs +1 -1
- package/dist/widgets/gesture-sticker.js +2 -2
- package/dist/widgets/gl-model.cjs +1 -1
- package/dist/widgets/gl-model.js +1 -1
- package/dist/widgets/gl-scene.cjs +2 -2
- package/dist/widgets/gl-scene.js +2 -2
- package/dist/widgets/globe.cjs +1 -1
- package/dist/widgets/globe.js +2 -2
- package/dist/widgets/gpu-particles.cjs +1 -1
- package/dist/widgets/gpu-particles.js +2 -2
- package/dist/widgets/gyro-card.cjs +1 -1
- package/dist/widgets/gyro-card.js +2 -2
- package/dist/widgets/hero-video.cjs +1 -1
- package/dist/widgets/hero-video.js +2 -2
- package/dist/widgets/hud-panel.cjs +1 -1
- package/dist/widgets/hud-panel.js +2 -2
- package/dist/widgets/hydrate.cjs +1 -1
- package/dist/widgets/hydrate.js +2 -2
- package/dist/widgets/install-button.cjs +1 -1
- package/dist/widgets/install-button.js +2 -2
- package/dist/widgets/kanban.cjs +1 -1
- package/dist/widgets/kanban.js +2 -2
- package/dist/widgets/keyframe-editor.cjs +5 -5
- package/dist/widgets/keyframe-editor.js +4 -4
- package/dist/widgets/kpi.cjs +1 -1
- package/dist/widgets/kpi.js +2 -2
- package/dist/widgets/leaderboard.cjs +1 -1
- package/dist/widgets/leaderboard.js +2 -2
- package/dist/widgets/liquid-nav.cjs +1 -1
- package/dist/widgets/liquid-nav.js +2 -2
- package/dist/widgets/location-card.cjs +1 -1
- package/dist/widgets/location-card.js +2 -2
- package/dist/widgets/lottie-icon.cjs +1 -1
- package/dist/widgets/lottie-icon.js +2 -2
- package/dist/widgets/lottie-player.cjs +2 -2
- package/dist/widgets/lottie-player.js +2 -2
- package/dist/widgets/lottie.cjs +1 -1
- package/dist/widgets/lottie.js +2 -2
- package/dist/widgets/lyrics.cjs +1 -1
- package/dist/widgets/lyrics.js +2 -2
- package/dist/widgets/masonry-flow.cjs +1 -1
- package/dist/widgets/masonry-flow.js +2 -2
- package/dist/widgets/menu-toggle.cjs +1 -1
- package/dist/widgets/menu-toggle.js +2 -2
- package/dist/widgets/menu.cjs +1 -1
- package/dist/widgets/menu.js +2 -2
- package/dist/widgets/message-list.cjs +1 -1
- package/dist/widgets/message-list.js +2 -2
- package/dist/widgets/milestones.cjs +1 -1
- package/dist/widgets/milestones.js +2 -2
- package/dist/widgets/modal.cjs +1 -1
- package/dist/widgets/modal.js +2 -2
- package/dist/widgets/motion-inspector.cjs +2 -2
- package/dist/widgets/motion-inspector.js +3 -3
- package/dist/widgets/motion-prefs.cjs +1 -1
- package/dist/widgets/motion-prefs.js +2 -2
- package/dist/widgets/motion-prompt.cjs +1 -1
- package/dist/widgets/motion-prompt.js +2 -2
- package/dist/widgets/motion-spec.cjs +1 -1
- package/dist/widgets/motion-spec.js +2 -2
- package/dist/widgets/motion.cjs +1 -1
- package/dist/widgets/motion.js +2 -2
- package/dist/widgets/music-player.cjs +1 -1
- package/dist/widgets/music-player.js +2 -2
- package/dist/widgets/native-preview.cjs +1 -1
- package/dist/widgets/native-preview.js +2 -2
- package/dist/widgets/nav-morph.cjs +1 -1
- package/dist/widgets/nav-morph.js +2 -2
- package/dist/widgets/notification-bell.cjs +1 -1
- package/dist/widgets/notification-bell.js +2 -2
- package/dist/widgets/odometer.cjs +1 -1
- package/dist/widgets/odometer.js +2 -2
- package/dist/widgets/organic-card.cjs +1 -1
- package/dist/widgets/organic-card.js +2 -2
- package/dist/widgets/otp.cjs +1 -1
- package/dist/widgets/otp.js +2 -2
- package/dist/widgets/pagination.cjs +1 -1
- package/dist/widgets/pagination.js +2 -2
- package/dist/widgets/panorama.cjs +1 -1
- package/dist/widgets/panorama.js +2 -2
- package/dist/widgets/parallax-layers.cjs +1 -1
- package/dist/widgets/parallax-layers.js +2 -2
- package/dist/widgets/pause-all.cjs +1 -1
- package/dist/widgets/pause-all.js +2 -2
- package/dist/widgets/perf-monitor.cjs +1 -1
- package/dist/widgets/perf-monitor.js +2 -2
- package/dist/widgets/physics-playground.cjs +2 -2
- package/dist/widgets/physics-playground.js +2 -2
- package/dist/widgets/plugin-card.cjs +3 -3
- package/dist/widgets/plugin-card.js +4 -4
- package/dist/widgets/plugin-store.cjs +1 -1
- package/dist/widgets/plugin-store.js +2 -2
- package/dist/widgets/presence.cjs +1 -1
- package/dist/widgets/presence.js +2 -2
- package/dist/widgets/prize-wheel.cjs +1 -1
- package/dist/widgets/prize-wheel.js +2 -2
- package/dist/widgets/product-gallery.cjs +1 -1
- package/dist/widgets/product-gallery.js +2 -2
- package/dist/widgets/progress-ring.cjs +1 -1
- package/dist/widgets/progress-ring.js +2 -2
- package/dist/widgets/prop-panel.cjs +1 -1
- package/dist/widgets/prop-panel.js +2 -2
- package/dist/widgets/pull-cord.cjs +1 -1
- package/dist/widgets/pull-cord.js +2 -2
- package/dist/widgets/radar.cjs +1 -1
- package/dist/widgets/radar.js +2 -2
- package/dist/widgets/reactions.cjs +1 -1
- package/dist/widgets/reactions.js +2 -2
- package/dist/widgets/red-envelope.cjs +1 -1
- package/dist/widgets/red-envelope.js +2 -2
- package/dist/widgets/retro-button.cjs +1 -1
- package/dist/widgets/retro-button.js +2 -2
- package/dist/widgets/rive.cjs +1 -1
- package/dist/widgets/rive.js +2 -2
- package/dist/widgets/route-transition.cjs +1 -1
- package/dist/widgets/route-transition.js +2 -2
- package/dist/widgets/scene.cjs +1 -1
- package/dist/widgets/scene.js +2 -2
- package/dist/widgets/scroll-ring.cjs +1 -1
- package/dist/widgets/scroll-ring.js +2 -2
- package/dist/widgets/scroll-scene.cjs +2 -2
- package/dist/widgets/scroll-scene.js +2 -2
- package/dist/widgets/segmented.cjs +1 -1
- package/dist/widgets/segmented.js +2 -2
- package/dist/widgets/shader-backdrop.cjs +1 -1
- package/dist/widgets/shader-backdrop.js +2 -2
- package/dist/widgets/sheet.cjs +1 -1
- package/dist/widgets/sheet.js +2 -2
- package/dist/widgets/shortcut.cjs +1 -1
- package/dist/widgets/shortcut.js +3 -3
- package/dist/widgets/skeleton-reveal.cjs +1 -1
- package/dist/widgets/skeleton-reveal.js +2 -2
- package/dist/widgets/sketch-chart.cjs +1 -1
- package/dist/widgets/sketch-chart.js +2 -2
- package/dist/widgets/smooth-scroll.cjs +2 -2
- package/dist/widgets/smooth-scroll.js +3 -3
- package/dist/widgets/snap-carousel.cjs +1 -1
- package/dist/widgets/snap-carousel.js +1 -1
- package/dist/widgets/sparkline.cjs +1 -1
- package/dist/widgets/sparkline.js +2 -2
- package/dist/widgets/spatial-card.cjs +1 -1
- package/dist/widgets/spatial-card.js +2 -2
- package/dist/widgets/star-rating.cjs +1 -1
- package/dist/widgets/star-rating.js +2 -2
- package/dist/widgets/stepper.cjs +1 -1
- package/dist/widgets/stepper.js +2 -2
- package/dist/widgets/sticky-wall.cjs +1 -1
- package/dist/widgets/sticky-wall.js +2 -2
- package/dist/widgets/stories.cjs +1 -1
- package/dist/widgets/stories.js +2 -2
- package/dist/widgets/suggestion-chips.cjs +1 -1
- package/dist/widgets/suggestion-chips.js +2 -2
- package/dist/widgets/swipe-deck.cjs +1 -1
- package/dist/widgets/swipe-deck.js +2 -2
- package/dist/widgets/switch.cjs +1 -1
- package/dist/widgets/switch.js +2 -2
- package/dist/widgets/tab-bar.cjs +1 -1
- package/dist/widgets/tab-bar.js +2 -2
- package/dist/widgets/terminal.cjs +1 -1
- package/dist/widgets/terminal.js +2 -2
- package/dist/widgets/text-splitter.cjs +3 -3
- package/dist/widgets/text-splitter.js +4 -4
- package/dist/widgets/theme-surface.cjs +1 -1
- package/dist/widgets/theme-surface.js +2 -2
- package/dist/widgets/theme-switcher.cjs +1 -1
- package/dist/widgets/theme-switcher.js +2 -2
- package/dist/widgets/tip.cjs +1 -1
- package/dist/widgets/tip.js +2 -2
- package/dist/widgets/toast-stack.cjs +1 -1
- package/dist/widgets/toast-stack.js +2 -2
- package/dist/widgets/token-editor.cjs +1 -1
- package/dist/widgets/token-editor.js +2 -2
- package/dist/widgets/upload-progress.cjs +1 -1
- package/dist/widgets/upload-progress.js +2 -2
- package/dist/widgets/video-card.cjs +1 -1
- package/dist/widgets/video-card.js +2 -2
- package/dist/widgets/voice-button.cjs +1 -1
- package/dist/widgets/voice-button.js +2 -2
- package/dist/widgets/volume-knob.cjs +1 -1
- package/dist/widgets/volume-knob.js +2 -2
- package/dist/widgets/weather-card.cjs +1 -1
- package/dist/widgets/weather-card.js +2 -2
- package/dist/widgets/worker-canvas.cjs +1 -1
- package/dist/widgets/worker-canvas.js +2 -2
- package/dist/widgets/xp-bar.cjs +1 -1
- package/dist/widgets/xp-bar.js +2 -2
- package/dist/widgets.umd.js +2 -2
- package/docs/ROADMAP.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 +2 -2
- 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 +50 -50
- package/docs/deprecations-v14.md +24 -16
- package/docs/migrating-to-v14.md +72 -28
- package/docs/motion-engine-v2.md +65 -0
- package/docs/performance.md +1 -1
- package/docs/presets.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/scene-v2.md +13 -5
- package/docs/scene-v2.schema.json +1 -1
- package/docs/timeline-doc.schema.json +1 -1
- package/docs/versions.md +5 -2
- package/figma-plugin/code.js +1 -1
- package/package.json +71 -7
package/dist/llms-full.txt
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Motionary
|
|
1
|
+
# Motionary 14.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@14/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@14/dist/runtime.iife.js"></script>
|
|
38
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
60
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
81
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
103
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
127
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
149
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
172
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
194
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
217
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
239
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
261
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
285
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
310
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
333
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
376
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
400
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
423
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
446
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
471
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/dist/runtime.iife.js"></script>
|
|
496
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/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@14/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@14/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@14/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@14/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@14/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@14/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@14/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@14/dist/components.umd.js
|
|
661
661
|
- Attributes: `duration`, `no-scale`
|
|
662
662
|
- Methods: `enable()`, `disable()`
|
|
663
663
|
|
|
@@ -679,7 +679,7 @@ Wrap a list or grid: items that are added fade in, removed ones fade out in plac
|
|
|
679
679
|
Set loading and every heading, paragraph, image and button inside becomes a shimmering placeholder of its own size — no extra markup.
|
|
680
680
|
|
|
681
681
|
- Import: `import { defineAutoSkeleton } from 'motionary/components/page'; defineAutoSkeleton();`
|
|
682
|
-
- CDN: https://unpkg.com/motionary@
|
|
682
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
683
683
|
- Attributes: `loading`
|
|
684
684
|
|
|
685
685
|
```html
|
|
@@ -694,7 +694,7 @@ Set loading and every heading, paragraph, image and button inside becomes a shim
|
|
|
694
694
|
Overlapping avatars that spread apart with a spring on hover; extras collapse into “+N”.
|
|
695
695
|
|
|
696
696
|
- Import: `import { defineAvatarStack } from 'motionary/components/ui'; defineAvatarStack();`
|
|
697
|
-
- CDN: https://unpkg.com/motionary@
|
|
697
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
698
698
|
- Attributes: `max`, `size`, `overlap`, `label`
|
|
699
699
|
- Methods: `adoptVariants()`, `mount()`
|
|
700
700
|
|
|
@@ -710,7 +710,7 @@ Overlapping avatars that spread apart with a spring on hover; extras collapse in
|
|
|
710
710
|
Appears after you scroll, shows reading progress as a ring and springs the page back up, then moves focus to the top.
|
|
711
711
|
|
|
712
712
|
- Import: `import { defineBackToTop } from 'motionary/components/page'; defineBackToTop();`
|
|
713
|
-
- CDN: https://unpkg.com/motionary@
|
|
713
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
714
714
|
- Attributes: `label`, `offset`, `focus-target`
|
|
715
715
|
|
|
716
716
|
```html
|
|
@@ -722,7 +722,7 @@ Appears after you scroll, shows reading progress as a ring and springs the page
|
|
|
722
722
|
Count or dot badge that bumps with a spring when its value changes; 99+ capping, optional pulse.
|
|
723
723
|
|
|
724
724
|
- Import: `import { defineBadge } from 'motionary/components/ui'; defineBadge();`
|
|
725
|
-
- CDN: https://unpkg.com/motionary@
|
|
725
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
726
726
|
- Attributes: `value`, `max`, `dot`, `label`, `show-zero`
|
|
727
727
|
|
|
728
728
|
```html
|
|
@@ -736,7 +736,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
736
736
|
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.
|
|
737
737
|
|
|
738
738
|
- Import: `import { defineBadgeWall } from 'motionary/components/widgets'; defineBadgeWall();`
|
|
739
|
-
- CDN: https://unpkg.com/motionary@
|
|
739
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
740
740
|
- Attributes: `label`
|
|
741
741
|
- Events: `usa:unlock`
|
|
742
742
|
- Methods: `unlock()`
|
|
@@ -754,7 +754,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
754
754
|
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.
|
|
755
755
|
|
|
756
756
|
- Import: `import { defineBarChart } from 'motionary/components/widgets'; defineBarChart();`
|
|
757
|
-
- CDN: https://unpkg.com/motionary@
|
|
757
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
758
758
|
- Attributes: `horizontal`, `unit`, `max`, `values`, `labels`, `label`
|
|
759
759
|
|
|
760
760
|
```html
|
|
@@ -767,7 +767,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
767
767
|
9.3: a background generator — pick a palette and a style (mesh gradient, grain, stripes, dots), shuffle the seed and copy the CSS.
|
|
768
768
|
|
|
769
769
|
- Import: `import { defineBgGenerator } from 'motionary/components/widgets'; defineBgGenerator();`
|
|
770
|
-
- CDN: https://unpkg.com/motionary@
|
|
770
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
771
771
|
- Attributes: `label`, `palette`, `style`, `seed`
|
|
772
772
|
- Events: `usa:change`
|
|
773
773
|
- Methods: `shuffle()`, `copy()`
|
|
@@ -781,7 +781,7 @@ Count or dot badge that bumps with a spring when its value changes; 99+ capping,
|
|
|
781
781
|
Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
782
782
|
|
|
783
783
|
- Import: `import { defineBlobs } from 'motionary/components/background'; defineBlobs();`
|
|
784
|
-
- CDN: https://unpkg.com/motionary@
|
|
784
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
785
785
|
- Attributes: `colors`, `speed`, `blur`
|
|
786
786
|
- Methods: `mount()`
|
|
787
787
|
|
|
@@ -794,7 +794,7 @@ Soft colour blobs that slowly morph and drift — a fluid gradient backdrop.
|
|
|
794
794
|
A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS / Android pattern for web and Windows web-view apps.
|
|
795
795
|
|
|
796
796
|
- Import: `import { defineBottomSheet } from 'motionary/components/ui'; defineBottomSheet();`
|
|
797
|
-
- CDN: https://unpkg.com/motionary@
|
|
797
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
798
798
|
- Attributes: `open`, `snap`, `start`
|
|
799
799
|
- Methods: `show()`, `close()`
|
|
800
800
|
|
|
@@ -807,7 +807,7 @@ A draggable sheet with snap points, inertia and drag-down-to-dismiss — the iOS
|
|
|
807
807
|
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".
|
|
808
808
|
|
|
809
809
|
- Import: `import { defineButton } from 'motionary/components/click'; defineButton();`
|
|
810
|
-
- CDN: https://unpkg.com/motionary@
|
|
810
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
811
811
|
- Attributes: `deform`, `state`, `shape`, `disabled`, `morph`, `haptic`, `reset`
|
|
812
812
|
- Events: `usa:submit`, `usa:state`
|
|
813
813
|
- Methods: `morphTo()`
|
|
@@ -825,7 +825,7 @@ Spring-driven button click deformation: squash & stretch, elastic border-radius
|
|
|
825
825
|
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).
|
|
826
826
|
|
|
827
827
|
- Import: `import { defineCard } from 'motionary/components/cards'; defineCard();`
|
|
828
|
-
- CDN: https://unpkg.com/motionary@
|
|
828
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
829
829
|
- Attributes: `effect`, `trigger`, `disabled`, `color`, `depth`
|
|
830
830
|
- Events: `usa:flip`, `usa:expand`, `usa:collapse`
|
|
831
831
|
- Methods: `flip()`, `expand()`, `collapse()`
|
|
@@ -849,7 +849,7 @@ Ten card effects you can combine (effect="lift sheen"): flip (hover or click, x/
|
|
|
849
849
|
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.
|
|
850
850
|
|
|
851
851
|
- Import: `import { defineCardStack } from 'motionary/components/cards'; defineCardStack();`
|
|
852
|
-
- CDN: https://unpkg.com/motionary@
|
|
852
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
853
853
|
- Attributes: `visible`, `offset`, `disabled`, `threshold`, `loop`
|
|
854
854
|
- Events: `usa:swipe`, `usa:empty`
|
|
855
855
|
- Methods: `swipe()`
|
|
@@ -867,7 +867,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
867
867
|
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.
|
|
868
868
|
|
|
869
869
|
- Import: `import { defineCarousel } from 'motionary/components/widgets'; defineCarousel();`
|
|
870
|
-
- CDN: https://unpkg.com/motionary@
|
|
870
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
871
871
|
- Attributes: `effect`, `autoplay`, `loop`, `no-controls`, `no-dots`, `label`, `index`
|
|
872
872
|
- Events: `usa:change`
|
|
873
873
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -885,7 +885,7 @@ A deck where the top card swipes away left or right (pointer, touch, arrow keys)
|
|
|
885
885
|
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.
|
|
886
886
|
|
|
887
887
|
- Import: `import { defineCarousel3d } from 'motionary/components/cards'; defineCarousel3d();`
|
|
888
|
-
- CDN: https://unpkg.com/motionary@
|
|
888
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
889
889
|
- Attributes: `radius`, `perspective`, `autoplay`, `index`
|
|
890
890
|
- Events: `usa:change`
|
|
891
891
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -903,7 +903,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
903
903
|
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.
|
|
904
904
|
|
|
905
905
|
- Import: `import { defineCartDrawer } from 'motionary/components/widgets'; defineCartDrawer();`
|
|
906
|
-
- CDN: https://unpkg.com/motionary@
|
|
906
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
907
907
|
- Attributes: `label`, `items`, `currency`
|
|
908
908
|
- Events: `usa:open`, `usa:close`, `usa:change`
|
|
909
909
|
- Methods: `add()`, `removeItem()`, `toggle()`
|
|
@@ -918,7 +918,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
918
918
|
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.
|
|
919
919
|
|
|
920
920
|
- Import: `import { defineChapterNav } from 'motionary/components/widgets'; defineChapterNav();`
|
|
921
|
-
- CDN: https://unpkg.com/motionary@
|
|
921
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
922
922
|
- Attributes: `for`, `orientation`, `label`
|
|
923
923
|
- Events: `usa:chapter`
|
|
924
924
|
- Methods: `goTo()`
|
|
@@ -936,7 +936,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
936
936
|
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.
|
|
937
937
|
|
|
938
938
|
- Import: `import { defineChatComposer } from 'motionary/components/widgets'; defineChatComposer();`
|
|
939
|
-
- CDN: https://unpkg.com/motionary@
|
|
939
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
940
940
|
- Attributes: `placeholder`, `label`, `rows`, `busy`, `value`
|
|
941
941
|
- Events: `usa:stop`, `usa:send`
|
|
942
942
|
- Methods: `send()`, `clear()`
|
|
@@ -951,7 +951,7 @@ Items on a 3D ring, rotated by drag, arrow keys, clicks or autoplay — with spr
|
|
|
951
951
|
The circle draws itself, then a check, cross or exclamation strokes in with a pop. Great after a payment or upload.
|
|
952
952
|
|
|
953
953
|
- Import: `import { defineCheck } from 'motionary/components/feedback'; defineCheck();`
|
|
954
|
-
- CDN: https://unpkg.com/motionary@
|
|
954
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
955
955
|
- Attributes: `kind`, `size`, `label`, `start`
|
|
956
956
|
- Events: `usa:complete`
|
|
957
957
|
- Methods: `play()`, `reset()`
|
|
@@ -965,7 +965,7 @@ The circle draws itself, then a check, cross or exclamation strokes in with a po
|
|
|
965
965
|
Form-associated checkbox: the box springs and the check draws itself; indeterminate state, circle shape.
|
|
966
966
|
|
|
967
967
|
- Import: `import { defineCheckbox } from 'motionary/components/click'; defineCheckbox();`
|
|
968
|
-
- CDN: https://unpkg.com/motionary@
|
|
968
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
969
969
|
- Attributes: `checked`, `indeterminate`, `disabled`, `label`, `value`
|
|
970
970
|
- Events: `usa:change`
|
|
971
971
|
- Methods: `toggle()`
|
|
@@ -979,7 +979,7 @@ Form-associated checkbox: the box springs and the check draws itself; indetermin
|
|
|
979
979
|
Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, press-spring and error shake — combinable, keyboard-friendly, optional haptics.
|
|
980
980
|
|
|
981
981
|
- Import: `import { defineClick } from 'motionary/components/click'; defineClick();`
|
|
982
|
-
- CDN: https://unpkg.com/motionary@
|
|
982
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
983
983
|
- Attributes: `effect`, `disabled`, `trigger`, `color`, `count`, `shape`, `haptic`
|
|
984
984
|
- Events: `usa:click-effect`
|
|
985
985
|
- Methods: `play()`, `shake()`
|
|
@@ -995,7 +995,7 @@ Wrap anything: ripple, burst (circle, star, heart, emoji), confetti, squish, pre
|
|
|
995
995
|
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).
|
|
996
996
|
|
|
997
997
|
- Import: `import { defineClockControl } from 'motionary/components/widgets'; defineClockControl();`
|
|
998
|
-
- CDN: https://unpkg.com/motionary@
|
|
998
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
999
999
|
- Attributes: `speeds`, `label`
|
|
1000
1000
|
- Events: `usa:change`
|
|
1001
1001
|
|
|
@@ -1015,7 +1015,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1015
1015
|
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.
|
|
1016
1016
|
|
|
1017
1017
|
- Import: `import { defineCodeExport } from 'motionary/components/widgets'; defineCodeExport();`
|
|
1018
|
-
- CDN: https://unpkg.com/motionary@
|
|
1018
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1019
1019
|
- Attributes: `for`, `formats`
|
|
1020
1020
|
- Events: `usa:copy`
|
|
1021
1021
|
- Methods: `copy()`
|
|
@@ -1031,7 +1031,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1031
1031
|
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.
|
|
1032
1032
|
|
|
1033
1033
|
- Import: `import { defineColorPicker } from 'motionary/components/widgets'; defineColorPicker();`
|
|
1034
|
-
- CDN: https://unpkg.com/motionary@
|
|
1034
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1035
1035
|
- Attributes: `swatches`
|
|
1036
1036
|
- Events: `usa:change`, `usa:input`
|
|
1037
1037
|
|
|
@@ -1044,7 +1044,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1044
1044
|
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).
|
|
1045
1045
|
|
|
1046
1046
|
- Import: `import { defineCommandPalette } from 'motionary/components/widgets'; defineCommandPalette();`
|
|
1047
|
-
- CDN: https://unpkg.com/motionary@
|
|
1047
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1048
1048
|
- Attributes: `placeholder`, `label`, `hotkey`, `inline`
|
|
1049
1049
|
- Events: `usa:run`, `usa:open`, `usa:close`
|
|
1050
1050
|
- Methods: `setCommands()`, `show()`, `close()`, `toggle()`
|
|
@@ -1062,7 +1062,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1062
1062
|
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.
|
|
1063
1063
|
|
|
1064
1064
|
- Import: `import { defineCompare } from 'motionary/components/widgets'; defineCompare();`
|
|
1065
|
-
- CDN: https://unpkg.com/motionary@
|
|
1065
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1066
1066
|
- Attributes: `orientation`, `labels`, `label`, `position`, `hover`, `intro`
|
|
1067
1067
|
- Events: `usa:change`
|
|
1068
1068
|
|
|
@@ -1078,7 +1078,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1078
1078
|
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.
|
|
1079
1079
|
|
|
1080
1080
|
- Import: `import { defineCountdown } from 'motionary/components/widgets'; defineCountdown();`
|
|
1081
|
-
- CDN: https://unpkg.com/motionary@
|
|
1081
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1082
1082
|
- Attributes: `to`, `seconds`, `units`, `labels`, `label`
|
|
1083
1083
|
- Events: `usa:tick`, `usa:done`
|
|
1084
1084
|
- Methods: `start()`, `stop()`
|
|
@@ -1092,7 +1092,7 @@ createTimeline().add(a, [{ opacity: 0 }, { opacity: 1 }], 400).add(b, [{ transfo
|
|
|
1092
1092
|
Counts up to a number when visible, locale-formatted with tabular digits. Set .value to animate live dashboards.
|
|
1093
1093
|
|
|
1094
1094
|
- Import: `import { defineCounter } from 'motionary/components/text'; defineCounter();`
|
|
1095
|
-
- CDN: https://unpkg.com/motionary@
|
|
1095
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1096
1096
|
- Attributes: `to`, `decimals`, `locale`, `prefix`, `suffix`, `grouping`, `from`, `start`, `duration`
|
|
1097
1097
|
- Events: `usa:complete`
|
|
1098
1098
|
- Methods: `play()`, `format()`
|
|
@@ -1106,7 +1106,7 @@ Counts up to a number when visible, locale-formatted with tabular digits. Set .v
|
|
|
1106
1106
|
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.
|
|
1107
1107
|
|
|
1108
1108
|
- Import: `import { defineCube } from 'motionary/components/depth'; defineCube();`
|
|
1109
|
-
- CDN: https://unpkg.com/motionary@
|
|
1109
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1110
1110
|
- Attributes: `size`, `autoplay`, `perspective`
|
|
1111
1111
|
- Events: `usa:change`
|
|
1112
1112
|
- Methods: `show()`, `next()`, `prev()`
|
|
@@ -1122,7 +1122,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1122
1122
|
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.
|
|
1123
1123
|
|
|
1124
1124
|
- Import: `import { defineCubeGallery } from 'motionary/components/widgets'; defineCubeGallery();`
|
|
1125
|
-
- CDN: https://unpkg.com/motionary@
|
|
1125
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1126
1126
|
- Attributes: `axis`, `autoplay`, `label`
|
|
1127
1127
|
- Events: `usa:change`
|
|
1128
1128
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -1140,7 +1140,7 @@ Up to six children become the faces of a CSS 3D cube. Drag / swipe, arrow keys,
|
|
|
1140
1140
|
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.)
|
|
1141
1141
|
|
|
1142
1142
|
- Import: `import { defineCursor } from 'motionary/components/page'; defineCursor();`
|
|
1143
|
-
- CDN: https://unpkg.com/motionary@
|
|
1143
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1144
1144
|
- Attributes: `mode`, `size`, `color`, `hide-native`, `targets`
|
|
1145
1145
|
|
|
1146
1146
|
```html
|
|
@@ -1152,7 +1152,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1152
1152
|
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.
|
|
1153
1153
|
|
|
1154
1154
|
- Import: `import { defineDatePicker } from 'motionary/components/widgets'; defineDatePicker();`
|
|
1155
|
-
- CDN: https://unpkg.com/motionary@
|
|
1155
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1156
1156
|
- Attributes: `min`, `max`, `first-day`, `locale`
|
|
1157
1157
|
- Events: `usa:change`
|
|
1158
1158
|
- Methods: `showMonth()`
|
|
@@ -1166,7 +1166,7 @@ A spring-lagged ring, a magnetic ring that wraps buttons and links, or a soft gl
|
|
|
1166
1166
|
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.
|
|
1167
1167
|
|
|
1168
1168
|
- Import: `import { defineDepth } from 'motionary/components/depth'; defineDepth();`
|
|
1169
|
-
- CDN: https://unpkg.com/motionary@
|
|
1169
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1170
1170
|
- Attributes: `source`, `strength`, `rotate`
|
|
1171
1171
|
- Methods: `requestPermission()`
|
|
1172
1172
|
|
|
@@ -1185,7 +1185,7 @@ Layers with data-depth (-1…1) shift and scale by depth as the pointer moves, t
|
|
|
1185
1185
|
Animated modal, side drawers and bottom sheet on the native <dialog>: top layer, focus trap, Esc, backdrop click.
|
|
1186
1186
|
|
|
1187
1187
|
- Import: `import { defineDialog } from 'motionary/components/transitions'; defineDialog();`
|
|
1188
|
-
- CDN: https://unpkg.com/motionary@
|
|
1188
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1189
1189
|
- Attributes: `open`, `kind`, `label`, `no-esc`, `no-backdrop-close`
|
|
1190
1190
|
- Events: `usa:open`, `usa:beforeclose`, `usa:close`
|
|
1191
1191
|
- Slots: default
|
|
@@ -1204,7 +1204,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1204
1204
|
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.
|
|
1205
1205
|
|
|
1206
1206
|
- Import: `import { defineDisclosure } from 'motionary/components/widgets'; defineDisclosure();`
|
|
1207
|
-
- CDN: https://unpkg.com/motionary@
|
|
1207
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1208
1208
|
- Attributes: `multiple`, `spring`
|
|
1209
1209
|
- Events: `usa:toggle`
|
|
1210
1210
|
- Methods: `toggle()`, `openAll()`, `closeAll()`
|
|
@@ -1221,7 +1221,7 @@ Animated modal, side drawers and bottom sheet on the native <dialog>: top layer,
|
|
|
1221
1221
|
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.
|
|
1222
1222
|
|
|
1223
1223
|
- Import: `import { defineDistort } from 'motionary/components/webgl'; defineDistort();`
|
|
1224
|
-
- CDN: https://unpkg.com/motionary@
|
|
1224
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1225
1225
|
|
|
1226
1226
|
```html
|
|
1227
1227
|
<usa-distort>
|
|
@@ -1234,7 +1234,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1234
1234
|
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.
|
|
1235
1235
|
|
|
1236
1236
|
- Import: `import { defineDock } from 'motionary/components/widgets'; defineDock();`
|
|
1237
|
-
- CDN: https://unpkg.com/motionary@
|
|
1237
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1238
1238
|
- Attributes: `orientation`, `magnify`, `range`, `label`, `bounce`
|
|
1239
1239
|
|
|
1240
1240
|
```html
|
|
@@ -1250,7 +1250,7 @@ The image bulges and splits into RGB around the pointer. Without WebGL (or a cro
|
|
|
1250
1250
|
A dot grid that swells and links up with lines around the pointer.
|
|
1251
1251
|
|
|
1252
1252
|
- Import: `import { defineDotNetwork } from 'motionary/components/background'; defineDotNetwork();`
|
|
1253
|
-
- CDN: https://unpkg.com/motionary@
|
|
1253
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1254
1254
|
- Attributes: `gap`, `radius`, `color`
|
|
1255
1255
|
- Methods: `mount()`
|
|
1256
1256
|
|
|
@@ -1263,7 +1263,7 @@ A dot grid that swells and links up with lines around the pointer.
|
|
|
1263
1263
|
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.
|
|
1264
1264
|
|
|
1265
1265
|
- Import: `import { defineDotLottie } from 'motionary/components/dotlottie'; defineDotLottie();`
|
|
1266
|
-
- CDN: https://unpkg.com/motionary@
|
|
1266
|
+
- CDN: https://unpkg.com/motionary@14/dist/components/dotlottie.js
|
|
1267
1267
|
- Attributes: `theme`, `state-machine`
|
|
1268
1268
|
- Events: `usa:error`, `usa:state`, `usa:custom`, `usa:runtime-missing`
|
|
1269
1269
|
- Methods: `fire()`, `setInput()`, `setTheme()`
|
|
@@ -1282,12 +1282,12 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
1282
1282
|
```
|
|
1283
1283
|
|
|
1284
1284
|
```html
|
|
1285
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1286
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1287
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1285
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
1286
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/vector.iife.js"></script>
|
|
1287
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/lottie-state.iife.js"></script>
|
|
1288
1288
|
<!-- then the component bundles -->
|
|
1289
|
-
<script src="https://unpkg.com/motionary@
|
|
1290
|
-
<script src="https://unpkg.com/motionary@
|
|
1289
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
1290
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
1291
1291
|
```
|
|
1292
1292
|
|
|
1293
1293
|
```html
|
|
@@ -1299,7 +1299,7 @@ defineDotLottie(); // registers <usa-dotlottie> — after the prerequisites
|
|
|
1299
1299
|
Double tap or double click a photo to pop a heart (or any emoji) at the tap point. L for keyboard users.
|
|
1300
1300
|
|
|
1301
1301
|
- Import: `import { defineDoubleTap } from 'motionary/components/click'; defineDoubleTap();`
|
|
1302
|
-
- CDN: https://unpkg.com/motionary@
|
|
1302
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1303
1303
|
- Attributes: `disabled`, `delay`, `icon`, `color`
|
|
1304
1304
|
- Events: `usa:double-tap`
|
|
1305
1305
|
- Methods: `pop()`
|
|
@@ -1315,7 +1315,7 @@ Double tap or double click a photo to pop a heart (or any emoji) at the tap poin
|
|
|
1315
1315
|
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.
|
|
1316
1316
|
|
|
1317
1317
|
- Import: `import { defineDraggable } from 'motionary/components/physics'; defineDraggable();`
|
|
1318
|
-
- CDN: https://unpkg.com/motionary@
|
|
1318
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1319
1319
|
- Attributes: `axis`, `disabled`, `preset`, `bounds`, `spring-back`, `inertia`, `snap`, `step`
|
|
1320
1320
|
- Events: `usa:settle`, `usa:drag-start`, `usa:drag`, `usa:drag-end`
|
|
1321
1321
|
- Methods: `moveTo()`, `reset()`
|
|
@@ -1332,7 +1332,7 @@ Drag with mouse, touch, pen or arrow keys. spring-back returns home with a wobbl
|
|
|
1332
1332
|
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.
|
|
1333
1333
|
|
|
1334
1334
|
- Import: `import { defineDraw } from 'motionary/components/svg'; defineDraw();`
|
|
1335
|
-
- CDN: https://unpkg.com/motionary@
|
|
1335
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1336
1336
|
- Attributes: `duration`, `stagger`, `trigger`, `repeat`
|
|
1337
1337
|
- Events: `usa:complete`
|
|
1338
1338
|
- Methods: `play()`
|
|
@@ -1348,7 +1348,7 @@ Every stroke of the SVG inside draws itself — on view, hover, click or scrubbe
|
|
|
1348
1348
|
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.
|
|
1349
1349
|
|
|
1350
1350
|
- Import: `import { defineDrawer } from 'motionary/components/ui'; defineDrawer();`
|
|
1351
|
-
- CDN: https://unpkg.com/motionary@
|
|
1351
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1352
1352
|
- Methods: `show()`, `close()`
|
|
1353
1353
|
|
|
1354
1354
|
```html
|
|
@@ -1361,7 +1361,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1361
1361
|
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.
|
|
1362
1362
|
|
|
1363
1363
|
- Import: `import { defineEqualizer } from 'motionary/components/widgets'; defineEqualizer();`
|
|
1364
|
-
- CDN: https://unpkg.com/motionary@
|
|
1364
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1365
1365
|
- Attributes: `bands`, `preset`, `label`
|
|
1366
1366
|
- Events: `usa:change`
|
|
1367
1367
|
- Methods: `applyPreset()`
|
|
@@ -1376,7 +1376,7 @@ A side panel that springs in, drags / swipes closed, traps the page behind a bac
|
|
|
1376
1376
|
A floating action button whose actions fan out with a staggered spring: up, down, left, right or radial.
|
|
1377
1377
|
|
|
1378
1378
|
- Import: `import { defineFab } from 'motionary/components/ui'; defineFab();`
|
|
1379
|
-
- CDN: https://unpkg.com/motionary@
|
|
1379
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1380
1380
|
- Attributes: `direction`, `gap`
|
|
1381
1381
|
- Events: `usa:toggle`
|
|
1382
1382
|
- Methods: `toggle()`
|
|
@@ -1394,7 +1394,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1394
1394
|
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.
|
|
1395
1395
|
|
|
1396
1396
|
- Import: `import { defineFestivalBanner } from 'motionary/components/widgets'; defineFestivalBanner();`
|
|
1397
|
-
- CDN: https://unpkg.com/motionary@
|
|
1397
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1398
1398
|
- Attributes: `theme`, `label`, `dismissible`
|
|
1399
1399
|
- Events: `usa:dismiss`
|
|
1400
1400
|
- Methods: `dismiss()`
|
|
@@ -1408,7 +1408,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1408
1408
|
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.
|
|
1409
1409
|
|
|
1410
1410
|
- Import: `import { defineField } from 'motionary/components/widgets'; defineField();`
|
|
1411
|
-
- CDN: https://unpkg.com/motionary@
|
|
1411
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1412
1412
|
- Attributes: `label`, `hint`, `error`, `strength`
|
|
1413
1413
|
- Events: `usa:invalid`, `usa:valid`
|
|
1414
1414
|
- Methods: `validate()`
|
|
@@ -1423,7 +1423,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1423
1423
|
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.
|
|
1424
1424
|
|
|
1425
1425
|
- Import: `import { defineFileDrop } from 'motionary/components/widgets'; defineFileDrop();`
|
|
1426
|
-
- CDN: https://unpkg.com/motionary@
|
|
1426
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1427
1427
|
- Attributes: `label`, `accept`, `multiple`, `simulate`
|
|
1428
1428
|
- Events: `usa:files`
|
|
1429
1429
|
- Methods: `setProgress()`, `addFiles()`, `clear()`
|
|
@@ -1441,7 +1441,7 @@ A floating action button whose actions fan out with a staggered spring: up, down
|
|
|
1441
1441
|
Full-screen sections that snap one at a time, with keyboard paging, dot navigation and a usa:section event.
|
|
1442
1442
|
|
|
1443
1443
|
- Import: `import { defineFullpage } from 'motionary/components/page'; defineFullpage();`
|
|
1444
|
-
- CDN: https://unpkg.com/motionary@
|
|
1444
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1445
1445
|
- Attributes: `dots`, `axis`
|
|
1446
1446
|
- Events: `usa:section`
|
|
1447
1447
|
- Methods: `go()`, `next()`, `prev()`
|
|
@@ -1458,7 +1458,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1458
1458
|
<usa-fx> plays any registered effect on its child: pulse, pop, jelly, wiggle, heartbeat, bounce, flash (≤ 2 per second), tada, shake. Click the button.
|
|
1459
1459
|
|
|
1460
1460
|
- Import: `import { defineFx } from 'motionary/components/fx'; defineFx();`
|
|
1461
|
-
- CDN: https://unpkg.com/motionary@
|
|
1461
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1462
1462
|
- Attributes: `effect`, `trigger`, `options`, `self`, `once`
|
|
1463
1463
|
- Methods: `play()`
|
|
1464
1464
|
|
|
@@ -1473,7 +1473,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1473
1473
|
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".
|
|
1474
1474
|
|
|
1475
1475
|
- Import: `import { defineGauge } from 'motionary/components/widgets'; defineGauge();`
|
|
1476
|
-
- CDN: https://unpkg.com/motionary@
|
|
1476
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1477
1477
|
- Attributes: `min`, `max`, `zones`, `unit`, `label`, `value`
|
|
1478
1478
|
|
|
1479
1479
|
```html
|
|
@@ -1485,7 +1485,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1485
1485
|
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.
|
|
1486
1486
|
|
|
1487
1487
|
- Import: `import { defineGenArt } from 'motionary/components/widgets'; defineGenArt();`
|
|
1488
|
-
- CDN: https://unpkg.com/motionary@
|
|
1488
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1489
1489
|
- Attributes: `art`, `seed`, `palette`, `label`
|
|
1490
1490
|
- Events: `usa:generate`
|
|
1491
1491
|
- Methods: `generate()`, `toDataURL()`
|
|
@@ -1499,7 +1499,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1499
1499
|
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").
|
|
1500
1500
|
|
|
1501
1501
|
- Import: `import { defineGestureFx } from 'motionary/components/effects'; defineGestureFx();`
|
|
1502
|
-
- CDN: https://unpkg.com/motionary@
|
|
1502
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1503
1503
|
- Attributes: `gesture`, `effect`, `options`, `self`, `velocity`, `angle`, `duration`
|
|
1504
1504
|
|
|
1505
1505
|
```html
|
|
@@ -1513,7 +1513,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1513
1513
|
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).
|
|
1514
1514
|
|
|
1515
1515
|
- Import: `import { defineGestureSticker } from 'motionary/components/widgets'; defineGestureSticker();`
|
|
1516
|
-
- CDN: https://unpkg.com/motionary@
|
|
1516
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1517
1517
|
- Attributes: `min`, `max`, `label`
|
|
1518
1518
|
- Events: `usa:transform`
|
|
1519
1519
|
- Methods: `transformTo()`, `reset()`
|
|
@@ -1529,7 +1529,7 @@ Full-screen sections that snap one at a time, with keyboard paging, dot navigati
|
|
|
1529
1529
|
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.
|
|
1530
1530
|
|
|
1531
1531
|
- Import: `import { defineGlModel } from 'motionary/components/gl-model'; defineGlModel();`
|
|
1532
|
-
- CDN: https://unpkg.com/motionary@
|
|
1532
|
+
- CDN: https://unpkg.com/motionary@14/dist/components/gl-model.js
|
|
1533
1533
|
- Events: `usa:runtime-missing`
|
|
1534
1534
|
- Requires: motionary/runtime/gl + motionary/runtime/format-gltf + motionary/runtime/gltf-decoders + draco3d + basis_transcoder.js
|
|
1535
1535
|
- 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`
|
|
@@ -1550,15 +1550,15 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
1550
1550
|
```
|
|
1551
1551
|
|
|
1552
1552
|
```html
|
|
1553
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1554
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1555
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1556
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1553
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
1554
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/gl.iife.js"></script>
|
|
1555
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/format-gltf.iife.js"></script>
|
|
1556
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/gltf-decoders.iife.js"></script>
|
|
1557
1557
|
<script src="https://www.gstatic.com/draco/versioned/decoders/1.5.7/draco_decoder.js"></script>
|
|
1558
1558
|
<script src="https://cdn.jsdelivr.net/gh/BinomialLLC/basis_universal@1.16.4/webgl/transcoder/build/basis_transcoder.js"></script>
|
|
1559
1559
|
<!-- then the component bundles -->
|
|
1560
|
-
<script src="https://unpkg.com/motionary@
|
|
1561
|
-
<script src="https://unpkg.com/motionary@
|
|
1560
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
1561
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
1562
1562
|
```
|
|
1563
1563
|
|
|
1564
1564
|
```html
|
|
@@ -1570,7 +1570,7 @@ defineGlModel(); // registers <usa-gl-model> — after the prerequisites
|
|
|
1570
1570
|
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.
|
|
1571
1571
|
|
|
1572
1572
|
- Import: `import { defineGlScene } from 'motionary/components/widgets'; defineGlScene();`
|
|
1573
|
-
- CDN: https://unpkg.com/motionary@
|
|
1573
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1574
1574
|
- Attributes: `src`, `shape`, `color`, `metallic`, `roughness`, `background`, `exposure`, `controls`, `auto-rotate`, `video`, `video-scrub`, `label`, `animation`, `animation-speed`
|
|
1575
1575
|
- Events: `usa:error`, `usa:load`, `usa:runtime-missing`
|
|
1576
1576
|
- Methods: `reload()`
|
|
@@ -1591,14 +1591,14 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1591
1591
|
```
|
|
1592
1592
|
|
|
1593
1593
|
```html
|
|
1594
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1595
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1596
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1597
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1598
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
1594
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
1595
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/gl.iife.js"></script>
|
|
1596
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/format-gltf.iife.js"></script>
|
|
1597
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/format-obj.iife.js"></script>
|
|
1598
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/gltf-anim.iife.js"></script>
|
|
1599
1599
|
<!-- then the component bundles -->
|
|
1600
|
-
<script src="https://unpkg.com/motionary@
|
|
1601
|
-
<script src="https://unpkg.com/motionary@
|
|
1600
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
1601
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
1602
1602
|
```
|
|
1603
1603
|
|
|
1604
1604
|
```html
|
|
@@ -1610,7 +1610,7 @@ defineGlScene(); // registers <usa-gl-scene> — after the prerequisites
|
|
|
1610
1610
|
An RGB-split, sliced glitch — always on or on hover.
|
|
1611
1611
|
|
|
1612
1612
|
- Import: `import { defineGlitch } from 'motionary/components/text'; defineGlitch();`
|
|
1613
|
-
- CDN: https://unpkg.com/motionary@
|
|
1613
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1614
1614
|
- Attributes: `text`, `intensity`
|
|
1615
1615
|
- Methods: `mount()`, `splitChars()`
|
|
1616
1616
|
|
|
@@ -1623,7 +1623,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1623
1623
|
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.
|
|
1624
1624
|
|
|
1625
1625
|
- Import: `import { defineGlobe } from 'motionary/components/widgets'; defineGlobe();`
|
|
1626
|
-
- CDN: https://unpkg.com/motionary@
|
|
1626
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1627
1627
|
- Attributes: `markers`, `speed`, `tilt`, `lon`
|
|
1628
1628
|
- Events: `usa:focus`
|
|
1629
1629
|
- Methods: `flyTo()`
|
|
@@ -1638,7 +1638,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1638
1638
|
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.
|
|
1639
1639
|
|
|
1640
1640
|
- Import: `import { defineGpuParticles } from 'motionary/components/widgets'; defineGpuParticles();`
|
|
1641
|
-
- CDN: https://unpkg.com/motionary@
|
|
1641
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1642
1642
|
- Attributes: `count`, `mode`, `colors`, `size`, `speed`, `trail`, `pointer`, `label`
|
|
1643
1643
|
- Events: `usa:backend`
|
|
1644
1644
|
|
|
@@ -1651,7 +1651,7 @@ An RGB-split, sliced glitch — always on or on hover.
|
|
|
1651
1651
|
Text filled with a multi-colour gradient that keeps flowing.
|
|
1652
1652
|
|
|
1653
1653
|
- Import: `import { defineGradientText } from 'motionary/components/text'; defineGradientText();`
|
|
1654
|
-
- CDN: https://unpkg.com/motionary@
|
|
1654
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1655
1655
|
- Attributes: `colors`, `speed`, `angle`
|
|
1656
1656
|
- Methods: `mount()`, `splitChars()`
|
|
1657
1657
|
|
|
@@ -1664,7 +1664,7 @@ Text filled with a multi-colour gradient that keeps flowing.
|
|
|
1664
1664
|
An SVG-noise grain overlay — no image to ship. animated makes it jitter like film.
|
|
1665
1665
|
|
|
1666
1666
|
- Import: `import { defineGrain } from 'motionary/components/background'; defineGrain();`
|
|
1667
|
-
- CDN: https://unpkg.com/motionary@
|
|
1667
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1668
1668
|
- Attributes: `opacity`, `blend`, `scale`
|
|
1669
1669
|
|
|
1670
1670
|
```html
|
|
@@ -1678,7 +1678,7 @@ An SVG-noise grain overlay — no image to ship. animated makes it jitter like f
|
|
|
1678
1678
|
A line grid behind the content that lights up around the pointer.
|
|
1679
1679
|
|
|
1680
1680
|
- Import: `import { defineGridGlow } from 'motionary/components/background'; defineGridGlow();`
|
|
1681
|
-
- CDN: https://unpkg.com/motionary@
|
|
1681
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1682
1682
|
- Attributes: `size`, `radius`, `color`
|
|
1683
1683
|
- Methods: `mount()`
|
|
1684
1684
|
|
|
@@ -1693,7 +1693,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1693
1693
|
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.
|
|
1694
1694
|
|
|
1695
1695
|
- Import: `import { defineGyroCard } from 'motionary/components/widgets'; defineGyroCard();`
|
|
1696
|
-
- CDN: https://unpkg.com/motionary@
|
|
1696
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1697
1697
|
- Attributes: `max`, `glare`
|
|
1698
1698
|
- Events: `usa:tilt`
|
|
1699
1699
|
- Methods: `tilt()`, `wobble()`
|
|
@@ -1710,7 +1710,7 @@ A line grid behind the content that lights up around the pointer.
|
|
|
1710
1710
|
The text draws itself stroke by stroke, then fills in — signatures, hero words.
|
|
1711
1711
|
|
|
1712
1712
|
- Import: `import { defineHandwriting } from 'motionary/components/text'; defineHandwriting();`
|
|
1713
|
-
- CDN: https://unpkg.com/motionary@
|
|
1713
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1714
1714
|
- Attributes: `text`, `size`, `font`, `stroke`, `duration`
|
|
1715
1715
|
- Events: `usa:complete`
|
|
1716
1716
|
- Methods: `mount()`, `splitChars()`
|
|
@@ -1724,7 +1724,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1724
1724
|
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.
|
|
1725
1725
|
|
|
1726
1726
|
- Import: `import { defineHeroVideo } from 'motionary/components/widgets'; defineHeroVideo();`
|
|
1727
|
-
- CDN: https://unpkg.com/motionary@
|
|
1727
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1728
1728
|
- Attributes: `label`, `scrub`, `poster`
|
|
1729
1729
|
- Methods: `toggle()`
|
|
1730
1730
|
|
|
@@ -1740,7 +1740,7 @@ The text draws itself stroke by stroke, then fills in — signatures, hero words
|
|
|
1740
1740
|
Press and hold (pointer, Space or Enter) while a ring fills; releasing early rewinds. For destructive actions.
|
|
1741
1741
|
|
|
1742
1742
|
- Import: `import { defineHold } from 'motionary/components/click'; defineHold();`
|
|
1743
|
-
- CDN: https://unpkg.com/motionary@
|
|
1743
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1744
1744
|
- Attributes: `duration`, `disabled`, `color`, `label`
|
|
1745
1745
|
- Events: `usa:progress`, `usa:confirm`, `usa:cancel`
|
|
1746
1746
|
- Methods: `cancel()`
|
|
@@ -1754,7 +1754,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1754
1754
|
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.
|
|
1755
1755
|
|
|
1756
1756
|
- Import: `import { defineHudPanel } from 'motionary/components/widgets'; defineHudPanel();`
|
|
1757
|
-
- CDN: https://unpkg.com/motionary@
|
|
1757
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1758
1758
|
- Attributes: `title`, `status`, `color`
|
|
1759
1759
|
- Events: `usa:boot`
|
|
1760
1760
|
- Methods: `boot()`
|
|
@@ -1771,7 +1771,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1771
1771
|
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.
|
|
1772
1772
|
|
|
1773
1773
|
- Import: `import { defineHydrate } from 'motionary/components/widgets'; defineHydrate();`
|
|
1774
|
-
- CDN: https://unpkg.com/motionary@
|
|
1774
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1775
1775
|
- Attributes: `effect`, `stagger`, `duration`
|
|
1776
1776
|
- Events: `usa:hydrated`
|
|
1777
1777
|
- Methods: `replay()`
|
|
@@ -1790,7 +1790,7 @@ Press and hold (pointer, Space or Enter) while a ring fills; releasing early rew
|
|
|
1790
1790
|
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.
|
|
1791
1791
|
|
|
1792
1792
|
- Import: `import { defineIconMorph } from 'motionary/components/click'; defineIconMorph();`
|
|
1793
|
-
- CDN: https://unpkg.com/motionary@
|
|
1793
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1794
1794
|
- Attributes: `icons`, `size`, `toggle`, `index`, `preset`, `labels`
|
|
1795
1795
|
- Events: `usa:change`
|
|
1796
1796
|
- Methods: `next()`, `show()`
|
|
@@ -1805,13 +1805,13 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1805
1805
|
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.
|
|
1806
1806
|
|
|
1807
1807
|
- Import: `import { defineInstallButton } from 'motionary/components/widgets'; defineInstallButton();`
|
|
1808
|
-
- CDN: https://unpkg.com/motionary@
|
|
1808
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1809
1809
|
- Attributes: `package`, `managers`, `cdn`, `dev`, `manager`
|
|
1810
1810
|
- Events: `usa:copy`
|
|
1811
1811
|
- Methods: `command()`, `copy()`
|
|
1812
1812
|
|
|
1813
1813
|
```html
|
|
1814
|
-
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@
|
|
1814
|
+
<usa-install-button package="motionary" managers="npm pnpm yarn bun cdn" cdn="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></usa-install-button>
|
|
1815
1815
|
```
|
|
1816
1816
|
|
|
1817
1817
|
### <usa-kanban> — Kanban board (drag-sort)
|
|
@@ -1819,7 +1819,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1819
1819
|
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.
|
|
1820
1820
|
|
|
1821
1821
|
- Import: `import { defineKanban } from 'motionary/components/widgets'; defineKanban();`
|
|
1822
|
-
- CDN: https://unpkg.com/motionary@
|
|
1822
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1823
1823
|
- Attributes: `label`
|
|
1824
1824
|
- Events: `usa:move`
|
|
1825
1825
|
- Methods: `cardsOf()`, `move()`
|
|
@@ -1840,7 +1840,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1840
1840
|
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.
|
|
1841
1841
|
|
|
1842
1842
|
- Import: `import { defineKeyframeEditor } from 'motionary/components/widgets'; defineKeyframeEditor();`
|
|
1843
|
-
- CDN: https://unpkg.com/motionary@
|
|
1843
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1844
1844
|
- Attributes: `for`
|
|
1845
1845
|
- Events: `usa:change`
|
|
1846
1846
|
- Methods: `toJSON()`, `play()`, `seek()`
|
|
@@ -1859,7 +1859,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1859
1859
|
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.
|
|
1860
1860
|
|
|
1861
1861
|
- Import: `import { defineKpi } from 'motionary/components/widgets'; defineKpi();`
|
|
1862
|
-
- CDN: https://unpkg.com/motionary@
|
|
1862
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1863
1863
|
- Attributes: `label`, `delta`, `caption`, `trend`, `invert`, `locale`
|
|
1864
1864
|
|
|
1865
1865
|
```html
|
|
@@ -1871,7 +1871,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1871
1871
|
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.
|
|
1872
1872
|
|
|
1873
1873
|
- Import: `import { defineLeaderboard } from 'motionary/components/widgets'; defineLeaderboard();`
|
|
1874
|
-
- CDN: https://unpkg.com/motionary@
|
|
1874
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1875
1875
|
- Attributes: `label`, `limit`, `me`
|
|
1876
1876
|
- Events: `usa:rank`
|
|
1877
1877
|
- Methods: `setScore()`
|
|
@@ -1890,7 +1890,7 @@ Icons that morph point-by-point with a spring: play ↔ pause, menu ↔ close, p
|
|
|
1890
1890
|
A heart that pops with a spring and bursts into particles; aria-pressed, optional count.
|
|
1891
1891
|
|
|
1892
1892
|
- Import: `import { defineLike } from 'motionary/components/click'; defineLike();`
|
|
1893
|
-
- CDN: https://unpkg.com/motionary@
|
|
1893
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1894
1894
|
- Attributes: `liked`, `count`, `label`, `disabled`, `size`, `color`, `haptic`
|
|
1895
1895
|
- Events: `usa:change`
|
|
1896
1896
|
- Methods: `toggle()`
|
|
@@ -1904,7 +1904,7 @@ A heart that pops with a spring and bursts into particles; aria-pressed, optiona
|
|
|
1904
1904
|
Click or tap to send water ripples through the image; hover adds a gentle wobble. The plain image stays when WebGL is unavailable.
|
|
1905
1905
|
|
|
1906
1906
|
- Import: `import { defineLiquid } from 'motionary/components/webgl'; defineLiquid();`
|
|
1907
|
-
- CDN: https://unpkg.com/motionary@
|
|
1907
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1908
1908
|
|
|
1909
1909
|
```html
|
|
1910
1910
|
<usa-liquid strength="1">
|
|
@@ -1917,7 +1917,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1917
1917
|
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).
|
|
1918
1918
|
|
|
1919
1919
|
- Import: `import { defineLiquidNav } from 'motionary/components/widgets'; defineLiquidNav();`
|
|
1920
|
-
- CDN: https://unpkg.com/motionary@
|
|
1920
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1921
1921
|
- Attributes: `label`, `value`
|
|
1922
1922
|
- Events: `usa:change`
|
|
1923
1923
|
|
|
@@ -1932,7 +1932,7 @@ Click or tap to send water ripples through the image; hover adds a gentle wobble
|
|
|
1932
1932
|
A slim NProgress-style bar for route changes and fetches: loadingBar.start() trickles, done() completes and fades.
|
|
1933
1933
|
|
|
1934
1934
|
- Import: `import { defineLoadingBar } from 'motionary/components/page'; defineLoadingBar();`
|
|
1935
|
-
- CDN: https://unpkg.com/motionary@
|
|
1935
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
1936
1936
|
- Attributes: `label`, `color`, `height`
|
|
1937
1937
|
- Methods: `start()`, `set()`, `done()`
|
|
1938
1938
|
|
|
@@ -1948,7 +1948,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1948
1948
|
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).
|
|
1949
1949
|
|
|
1950
1950
|
- Import: `import { defineLocationCard } from 'motionary/components/widgets'; defineLocationCard();`
|
|
1951
|
-
- CDN: https://unpkg.com/motionary@
|
|
1951
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1952
1952
|
- Attributes: `name`, `address`, `lat`, `lon`, `from-lat`, `from-lon`, `distance`, `href`, `unit`
|
|
1953
1953
|
- Events: `usa:arrive`
|
|
1954
1954
|
- Methods: `replay()`
|
|
@@ -1963,7 +1963,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1963
1963
|
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.
|
|
1964
1964
|
|
|
1965
1965
|
- Import: `import { defineLottie } from 'motionary/components/widgets'; defineLottie();`
|
|
1966
|
-
- CDN: https://unpkg.com/motionary@
|
|
1966
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1967
1967
|
- Attributes: `src`, `loop`, `speed`, `label`
|
|
1968
1968
|
- Events: `usa:error`, `usa:load`, `usa:complete`
|
|
1969
1969
|
- Methods: `play()`, `pause()`, `stop()`
|
|
@@ -1977,7 +1977,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1977
1977
|
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.
|
|
1978
1978
|
|
|
1979
1979
|
- Import: `import { defineLottieIcon } from 'motionary/components/widgets'; defineLottieIcon();`
|
|
1980
|
-
- CDN: https://unpkg.com/motionary@
|
|
1980
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1981
1981
|
- Attributes: `name`, `size`, `color`, `label`, `trigger`
|
|
1982
1982
|
- Methods: `play()`
|
|
1983
1983
|
|
|
@@ -1991,7 +1991,7 @@ A slim NProgress-style bar for route changes and fetches: loadingBar.start() tri
|
|
|
1991
1991
|
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.
|
|
1992
1992
|
|
|
1993
1993
|
- Import: `import { defineLottiePlayer } from 'motionary/components/widgets'; defineLottiePlayer();`
|
|
1994
|
-
- CDN: https://unpkg.com/motionary@
|
|
1994
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
1995
1995
|
- Attributes: `src`, `animation`, `autoplay`, `loop`, `speed`, `mode`, `segment`, `hover`, `scrub`, `fit`, `background`, `label`
|
|
1996
1996
|
- Events: `usa:complete`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
1997
1997
|
- Methods: `play()`, `pause()`, `stop()`, `seek()`
|
|
@@ -2009,11 +2009,11 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2009
2009
|
```
|
|
2010
2010
|
|
|
2011
2011
|
```html
|
|
2012
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2013
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2012
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
2013
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/vector.iife.js"></script>
|
|
2014
2014
|
<!-- then the component bundles -->
|
|
2015
|
-
<script src="https://unpkg.com/motionary@
|
|
2016
|
-
<script src="https://unpkg.com/motionary@
|
|
2015
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
2016
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
2017
2017
|
```
|
|
2018
2018
|
|
|
2019
2019
|
```html
|
|
@@ -2025,7 +2025,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2025
2025
|
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.
|
|
2026
2026
|
|
|
2027
2027
|
- Import: `import { defineLyrics } from 'motionary/components/widgets'; defineLyrics();`
|
|
2028
|
-
- CDN: https://unpkg.com/motionary@
|
|
2028
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2029
2029
|
- Attributes: `label`, `for`
|
|
2030
2030
|
- Events: `usa:seek`
|
|
2031
2031
|
|
|
@@ -2043,7 +2043,7 @@ defineLottiePlayer(); // registers <usa-lottie-player> — after the prerequisit
|
|
|
2043
2043
|
Content leans toward the pointer when it comes near and springs back. Fine pointers only; off under reduced motion.
|
|
2044
2044
|
|
|
2045
2045
|
- Import: `import { defineMagnetic } from 'motionary/components/interaction'; defineMagnetic();`
|
|
2046
|
-
- CDN: https://unpkg.com/motionary@
|
|
2046
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2047
2047
|
- Attributes: `strength`, `radius`, `disabled`
|
|
2048
2048
|
|
|
2049
2049
|
```html
|
|
@@ -2055,7 +2055,7 @@ Content leans toward the pointer when it comes near and springs back. Fine point
|
|
|
2055
2055
|
A seamless infinite ticker with constant speed, pause on hover, soft edges and vertical mode. Clones are hidden from AT.
|
|
2056
2056
|
|
|
2057
2057
|
- Import: `import { defineMarquee } from 'motionary/components/background'; defineMarquee();`
|
|
2058
|
-
- CDN: https://unpkg.com/motionary@
|
|
2058
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2059
2059
|
- Attributes: `speed`, `direction`, `gap`, `paused`, `pause-on-hover`
|
|
2060
2060
|
- Methods: `pause()`, `resume()`
|
|
2061
2061
|
|
|
@@ -2071,7 +2071,7 @@ A seamless infinite ticker with constant speed, pause on hover, soft edges and v
|
|
|
2071
2071
|
Reveal images or sections through a growing mask: circle, diamond, star, iris or wipes, from any origin.
|
|
2072
2072
|
|
|
2073
2073
|
- Import: `import { defineMaskReveal } from 'motionary/components/svg'; defineMaskReveal();`
|
|
2074
|
-
- CDN: https://unpkg.com/motionary@
|
|
2074
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2075
2075
|
- Attributes: `shape`, `at`, `duration`, `delay`, `trigger`, `repeat`
|
|
2076
2076
|
- Events: `usa:complete`
|
|
2077
2077
|
- Methods: `reveal()`
|
|
@@ -2087,7 +2087,7 @@ Reveal images or sections through a growing mask: circle, diamond, star, iris or
|
|
|
2087
2087
|
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.
|
|
2088
2088
|
|
|
2089
2089
|
- Import: `import { defineMasonry } from 'motionary/components/layout'; defineMasonry();`
|
|
2090
|
-
- CDN: https://unpkg.com/motionary@
|
|
2090
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2091
2091
|
- Attributes: `columns`, `min`, `gap`
|
|
2092
2092
|
- Methods: `enable()`, `disable()`
|
|
2093
2093
|
|
|
@@ -2103,7 +2103,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2103
2103
|
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.
|
|
2104
2104
|
|
|
2105
2105
|
- Import: `import { defineMasonryFlow } from 'motionary/components/widgets'; defineMasonryFlow();`
|
|
2106
|
-
- CDN: https://unpkg.com/motionary@
|
|
2106
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2107
2107
|
- Attributes: `min`, `gap`
|
|
2108
2108
|
- Events: `usa:layout`
|
|
2109
2109
|
- Methods: `layout()`, `filter()`, `shuffle()`, `sort()`
|
|
@@ -2122,7 +2122,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2122
2122
|
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.
|
|
2123
2123
|
|
|
2124
2124
|
- Import: `import { defineMenu } from 'motionary/components/widgets'; defineMenu();`
|
|
2125
|
-
- CDN: https://unpkg.com/motionary@
|
|
2125
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2126
2126
|
- Attributes: `placement`, `effect`
|
|
2127
2127
|
- Events: `usa:select`, `usa:open`, `usa:close`
|
|
2128
2128
|
- Methods: `open()`, `close()`, `toggle()`
|
|
@@ -2142,7 +2142,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2142
2142
|
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).
|
|
2143
2143
|
|
|
2144
2144
|
- Import: `import { defineMenuToggle } from 'motionary/components/widgets'; defineMenuToggle();`
|
|
2145
|
-
- CDN: https://unpkg.com/motionary@
|
|
2145
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2146
2146
|
- Attributes: `variant`, `label`, `for`
|
|
2147
2147
|
- Events: `usa:toggle`
|
|
2148
2148
|
- Methods: `toggle()`
|
|
@@ -2157,7 +2157,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2157
2157
|
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.
|
|
2158
2158
|
|
|
2159
2159
|
- Import: `import { defineMessageList } from 'motionary/components/widgets'; defineMessageList();`
|
|
2160
|
-
- CDN: https://unpkg.com/motionary@
|
|
2160
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2161
2161
|
- Attributes: `label`
|
|
2162
2162
|
- Events: `usa:message`
|
|
2163
2163
|
- Methods: `push()`, `typing()`
|
|
@@ -2175,7 +2175,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2175
2175
|
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.
|
|
2176
2176
|
|
|
2177
2177
|
- Import: `import { defineMilestones } from 'motionary/components/widgets'; defineMilestones();`
|
|
2178
|
-
- CDN: https://unpkg.com/motionary@
|
|
2178
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2179
2179
|
- Attributes: `layout`
|
|
2180
2180
|
- Events: `usa:reach`
|
|
2181
2181
|
|
|
@@ -2192,7 +2192,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2192
2192
|
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.
|
|
2193
2193
|
|
|
2194
2194
|
- Import: `import { defineModal } from 'motionary/components/widgets'; defineModal();`
|
|
2195
|
-
- CDN: https://unpkg.com/motionary@
|
|
2195
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2196
2196
|
- Attributes: `effect`, `label`, `persistent`
|
|
2197
2197
|
- Events: `usa:open`, `usa:close`
|
|
2198
2198
|
- Methods: `show()`, `close()`, `toggle()`
|
|
@@ -2211,7 +2211,7 @@ Pinterest-style masonry: items drop into the shortest column and glide when the
|
|
|
2211
2211
|
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.
|
|
2212
2212
|
|
|
2213
2213
|
- Import: `import { defineMorph } from 'motionary/components/svg'; defineMorph();`
|
|
2214
|
-
- CDN: https://unpkg.com/motionary@
|
|
2214
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2215
2215
|
- Attributes: `paths`, `trigger`, `duration`, `interval`
|
|
2216
2216
|
- Events: `usa:change`
|
|
2217
2217
|
- Methods: `next()`
|
|
@@ -2226,7 +2226,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2226
2226
|
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.
|
|
2227
2227
|
|
|
2228
2228
|
- Import: `import { defineMotion } from 'motionary/components/widgets'; defineMotion();`
|
|
2229
|
-
- CDN: https://unpkg.com/motionary@
|
|
2229
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2230
2230
|
- Attributes: `rules`
|
|
2231
2231
|
- Events: `usa:motion-error`
|
|
2232
2232
|
|
|
@@ -2244,7 +2244,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2244
2244
|
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.
|
|
2245
2245
|
|
|
2246
2246
|
- Import: `import { defineMotionInspector } from 'motionary/components/widgets'; defineMotionInspector();`
|
|
2247
|
-
- CDN: https://unpkg.com/motionary@
|
|
2247
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2248
2248
|
- Attributes: `scope`, `interval`
|
|
2249
2249
|
- Events: `usa:change`
|
|
2250
2250
|
- Methods: `refresh()`, `pauseAll()`, `playAll()`, `setRate()`, `animations()`
|
|
@@ -2258,7 +2258,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2258
2258
|
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.
|
|
2259
2259
|
|
|
2260
2260
|
- Import: `import { defineMotionPrefs } from 'motionary/components/widgets'; defineMotionPrefs();`
|
|
2261
|
-
- CDN: https://unpkg.com/motionary@
|
|
2261
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2262
2262
|
- Attributes: `label`
|
|
2263
2263
|
- Events: `usa:change`
|
|
2264
2264
|
- Methods: `reset()`
|
|
@@ -2272,7 +2272,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2272
2272
|
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.
|
|
2273
2273
|
|
|
2274
2274
|
- Import: `import { defineMotionPrompt } from 'motionary/components/widgets'; defineMotionPrompt();`
|
|
2275
|
-
- CDN: https://unpkg.com/motionary@
|
|
2275
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2276
2276
|
- Attributes: `value`, `format`, `placeholder`, `label`
|
|
2277
2277
|
- Events: `usa:suggest`, `usa:copy`
|
|
2278
2278
|
- Methods: `suggest()`
|
|
@@ -2286,7 +2286,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2286
2286
|
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.
|
|
2287
2287
|
|
|
2288
2288
|
- Import: `import { defineMotionSpec } from 'motionary/components/widgets'; defineMotionSpec();`
|
|
2289
|
-
- CDN: https://unpkg.com/motionary@
|
|
2289
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2290
2290
|
- Attributes: `rules`, `label`
|
|
2291
2291
|
- Events: `usa:copy`
|
|
2292
2292
|
- Methods: `play()`
|
|
@@ -2300,7 +2300,7 @@ Morph an SVG path through a list of shapes (paths="A | B | C") on click, hover,
|
|
|
2300
2300
|
Let users pick Off · Low · Normal · High for the whole app; scales every component, persists, and Off equals reduced motion.
|
|
2301
2301
|
|
|
2302
2302
|
- Import: `import { defineMotionSwitch } from 'motionary/components/page'; defineMotionSwitch();`
|
|
2303
|
-
- CDN: https://unpkg.com/motionary@
|
|
2303
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2304
2304
|
- Attributes: `labels`, `label`
|
|
2305
2305
|
- Events: `usa:change`
|
|
2306
2306
|
|
|
@@ -2314,7 +2314,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2314
2314
|
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.
|
|
2315
2315
|
|
|
2316
2316
|
- Import: `import { defineMotionTheme } from 'motionary/components/effects'; defineMotionTheme();`
|
|
2317
|
-
- CDN: https://unpkg.com/motionary@
|
|
2317
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2318
2318
|
- Attributes: `name`
|
|
2319
2319
|
|
|
2320
2320
|
```html
|
|
@@ -2330,7 +2330,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2330
2330
|
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.
|
|
2331
2331
|
|
|
2332
2332
|
- Import: `import { defineMusicPlayer } from 'motionary/components/widgets'; defineMusicPlayer();`
|
|
2333
|
-
- CDN: https://unpkg.com/motionary@
|
|
2333
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2334
2334
|
- Attributes: `title`, `artist`, `cover`, `src`, `duration`
|
|
2335
2335
|
- Events: `usa:play`, `usa:pause`, `usa:seek`
|
|
2336
2336
|
- Methods: `play()`, `pause()`, `toggle()`, `seek()`
|
|
@@ -2346,7 +2346,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2346
2346
|
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.
|
|
2347
2347
|
|
|
2348
2348
|
- Import: `import { defineNativePreview } from 'motionary/components/widgets'; defineNativePreview();`
|
|
2349
|
-
- CDN: https://unpkg.com/motionary@
|
|
2349
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2350
2350
|
- Attributes: `rules`, `platform`, `name`
|
|
2351
2351
|
- Events: `usa:replay`
|
|
2352
2352
|
- Methods: `replay()`, `code()`
|
|
@@ -2362,7 +2362,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2362
2362
|
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.
|
|
2363
2363
|
|
|
2364
2364
|
- Import: `import { defineNavMorph } from 'motionary/components/widgets'; defineNavMorph();`
|
|
2365
|
-
- CDN: https://unpkg.com/motionary@
|
|
2365
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2366
2366
|
- Attributes: `indicator`, `label`, `active`
|
|
2367
2367
|
- Events: `usa:change`
|
|
2368
2368
|
|
|
@@ -2379,7 +2379,7 @@ Let users pick Off · Low · Normal · High for the whole app; scales every comp
|
|
|
2379
2379
|
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.
|
|
2380
2380
|
|
|
2381
2381
|
- Import: `import { defineNavbar } from 'motionary/components/ui'; defineNavbar();`
|
|
2382
|
-
- CDN: https://unpkg.com/motionary@
|
|
2382
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2383
2383
|
- Attributes: `target`, `threshold`
|
|
2384
2384
|
- Events: `usa:hide`, `usa:show`
|
|
2385
2385
|
- Methods: `show()`
|
|
@@ -2395,7 +2395,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2395
2395
|
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.
|
|
2396
2396
|
|
|
2397
2397
|
- Import: `import { defineNotificationBell } from 'motionary/components/widgets'; defineNotificationBell();`
|
|
2398
|
-
- CDN: https://unpkg.com/motionary@
|
|
2398
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2399
2399
|
- Attributes: `label`
|
|
2400
2400
|
- Events: `usa:notify`, `usa:read`
|
|
2401
2401
|
- Methods: `notify()`, `markAllRead()`, `ring()`
|
|
@@ -2412,7 +2412,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2412
2412
|
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.
|
|
2413
2413
|
|
|
2414
2414
|
- Import: `import { defineOdometer } from 'motionary/components/widgets'; defineOdometer();`
|
|
2415
|
-
- CDN: https://unpkg.com/motionary@
|
|
2415
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2416
2416
|
- Attributes: `value`, `locale`, `decimals`, `prefix`, `suffix`, `duration`
|
|
2417
2417
|
|
|
2418
2418
|
```html
|
|
@@ -2425,7 +2425,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2425
2425
|
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.
|
|
2426
2426
|
|
|
2427
2427
|
- Import: `import { defineOrganicCard } from 'motionary/components/widgets'; defineOrganicCard();`
|
|
2428
|
-
- CDN: https://unpkg.com/motionary@
|
|
2428
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2429
2429
|
- Attributes: `tint`, `seed`
|
|
2430
2430
|
- Methods: `morph()`
|
|
2431
2431
|
|
|
@@ -2440,7 +2440,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2440
2440
|
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.
|
|
2441
2441
|
|
|
2442
2442
|
- Import: `import { defineOtp } from 'motionary/components/widgets'; defineOtp();`
|
|
2443
|
-
- CDN: https://unpkg.com/motionary@
|
|
2443
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2444
2444
|
- Attributes: `length`, `mode`, `label`, `value`
|
|
2445
2445
|
- Events: `usa:complete`
|
|
2446
2446
|
- Methods: `fillCode()`, `clear()`, `error()`, `success()`
|
|
@@ -2455,7 +2455,7 @@ Hides while you scroll down, slides back on the first scroll up; shrink makes it
|
|
|
2455
2455
|
A scroll container whose edges stretch with iOS-style rubber-band resistance and spring back — touch, trackpad and wheel.
|
|
2456
2456
|
|
|
2457
2457
|
- Import: `import { defineOverscroll } from 'motionary/components/physics'; defineOverscroll();`
|
|
2458
|
-
- CDN: https://unpkg.com/motionary@
|
|
2458
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2459
2459
|
- Attributes: `axis`, `disabled`, `max`, `preset`
|
|
2460
2460
|
|
|
2461
2461
|
```html
|
|
@@ -2469,7 +2469,7 @@ A scroll container whose edges stretch with iOS-style rubber-band resistance and
|
|
|
2469
2469
|
Product cards reveal and lift, “Add to cart” presses and flies the product into the cart (which bumps), prices count up, badges pulse.
|
|
2470
2470
|
|
|
2471
2471
|
- Import: `import { definePack } from 'motionary/components/packs'; definePack();`
|
|
2472
|
-
- CDN: https://unpkg.com/motionary@
|
|
2472
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2473
2473
|
- Attributes: `name`
|
|
2474
2474
|
|
|
2475
2475
|
```html
|
|
@@ -2488,7 +2488,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2488
2488
|
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.
|
|
2489
2489
|
|
|
2490
2490
|
- Import: `import { definePagination } from 'motionary/components/widgets'; definePagination();`
|
|
2491
|
-
- CDN: https://unpkg.com/motionary@
|
|
2491
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2492
2492
|
- Attributes: `total`, `siblings`, `label`
|
|
2493
2493
|
- Events: `usa:change`
|
|
2494
2494
|
|
|
@@ -2501,7 +2501,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2501
2501
|
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.
|
|
2502
2502
|
|
|
2503
2503
|
- Import: `import { definePanorama } from 'motionary/components/widgets'; definePanorama();`
|
|
2504
|
-
- CDN: https://unpkg.com/motionary@
|
|
2504
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2505
2505
|
- Attributes: `src`, `autorotate`, `label`
|
|
2506
2506
|
- Events: `usa:xr`, `usa:xr-request`, `usa:look`
|
|
2507
2507
|
- Methods: `lookAt()`
|
|
@@ -2515,7 +2515,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2515
2515
|
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.
|
|
2516
2516
|
|
|
2517
2517
|
- Import: `import { defineParallaxLayers } from 'motionary/components/widgets'; defineParallaxLayers();`
|
|
2518
|
-
- CDN: https://unpkg.com/motionary@
|
|
2518
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2519
2519
|
- Attributes: `range`, `engine`, `horizontal`, `pointer`, `strength`, `preview`
|
|
2520
2520
|
- Events: `usa:progress`
|
|
2521
2521
|
- Methods: `layers()`
|
|
@@ -2532,7 +2532,7 @@ Product cards reveal and lift, “Add to cart” presses and flies the product i
|
|
|
2532
2532
|
A canvas constellation that drifts away from the pointer. Runs only while visible, DPR ≤ 2, a still frame under reduced motion.
|
|
2533
2533
|
|
|
2534
2534
|
- Import: `import { defineParticles } from 'motionary/components/background'; defineParticles();`
|
|
2535
|
-
- CDN: https://unpkg.com/motionary@
|
|
2535
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2536
2536
|
- Attributes: `count`, `color`, `size`, `speed`, `links`, `interactive`, `paused`
|
|
2537
2537
|
- Methods: `reset()`
|
|
2538
2538
|
|
|
@@ -2545,7 +2545,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2545
2545
|
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.
|
|
2546
2546
|
|
|
2547
2547
|
- Import: `import { definePauseAll } from 'motionary/components/widgets'; definePauseAll();`
|
|
2548
|
-
- CDN: https://unpkg.com/motionary@
|
|
2548
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2549
2549
|
- Attributes: `label`, `scope`, `resume-label`
|
|
2550
2550
|
- Events: `usa:pause-all`
|
|
2551
2551
|
- Methods: `toggle()`
|
|
@@ -2559,7 +2559,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2559
2559
|
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.
|
|
2560
2560
|
|
|
2561
2561
|
- Import: `import { definePerfMonitor } from 'motionary/components/widgets'; definePerfMonitor();`
|
|
2562
|
-
- CDN: https://unpkg.com/motionary@
|
|
2562
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2563
2563
|
- Attributes: `corner`, `warn`
|
|
2564
2564
|
- Events: `usa:jank`
|
|
2565
2565
|
|
|
@@ -2572,7 +2572,7 @@ A canvas constellation that drifts away from the pointer. Runs only while visibl
|
|
|
2572
2572
|
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.
|
|
2573
2573
|
|
|
2574
2574
|
- Import: `import { definePhysicsPlayground } from 'motionary/components/widgets'; definePhysicsPlayground();`
|
|
2575
|
-
- CDN: https://unpkg.com/motionary@
|
|
2575
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2576
2576
|
- Attributes: `preset`, `src`, `gravity`, `spawn`, `label`
|
|
2577
2577
|
- Events: `usa:collision`, `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2578
2578
|
- Methods: `reset()`, `play()`, `pause()`, `toScene()`
|
|
@@ -2591,12 +2591,12 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2591
2591
|
```
|
|
2592
2592
|
|
|
2593
2593
|
```html
|
|
2594
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2595
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2596
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2594
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
2595
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/physics.iife.js"></script>
|
|
2596
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/format-scene.iife.js"></script>
|
|
2597
2597
|
<!-- then the component bundles -->
|
|
2598
|
-
<script src="https://unpkg.com/motionary@
|
|
2599
|
-
<script src="https://unpkg.com/motionary@
|
|
2598
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
2599
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
2600
2600
|
```
|
|
2601
2601
|
|
|
2602
2602
|
```html
|
|
@@ -2608,7 +2608,7 @@ definePhysicsPlayground(); // registers <usa-physics-playground> — after the p
|
|
|
2608
2608
|
Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, double-tap to toggle; scale and position spring back inside the bounds.
|
|
2609
2609
|
|
|
2610
2610
|
- Import: `import { definePinchZoom } from 'motionary/components/gesture'; definePinchZoom();`
|
|
2611
|
-
- CDN: https://unpkg.com/motionary@
|
|
2611
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2612
2612
|
- Attributes: `min`, `max`, `preset`, `double-tap`
|
|
2613
2613
|
- Events: `usa:zoom`
|
|
2614
2614
|
- Methods: `zoomTo()`
|
|
@@ -2624,7 +2624,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2624
2624
|
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).
|
|
2625
2625
|
|
|
2626
2626
|
- Import: `import { definePlayer } from 'motionary/components/effects'; definePlayer();`
|
|
2627
|
-
- CDN: https://unpkg.com/motionary@
|
|
2627
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2628
2628
|
- Attributes: `src`, `trigger`, `loop`, `rate`, `controls`
|
|
2629
2629
|
- Events: `usa:finish`, `usa:ready`
|
|
2630
2630
|
- Methods: `load()`, `play()`, `pause()`, `seek()`
|
|
@@ -2641,7 +2641,7 @@ Pinch with two fingers or Ctrl + wheel / trackpad pinch, pan while zoomed, doubl
|
|
|
2641
2641
|
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.
|
|
2642
2642
|
|
|
2643
2643
|
- Import: `import { definePluginCard } from 'motionary/components/widgets'; definePluginCard();`
|
|
2644
|
-
- CDN: https://unpkg.com/motionary@
|
|
2644
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2645
2645
|
- Attributes: `name`, `title`, `version`, `author`, `engine`, `downloads`, `integrity`, `src`
|
|
2646
2646
|
- Events: `usa:toggle`, `usa:verified`, `usa:runtime-missing`
|
|
2647
2647
|
- Methods: `toggle()`, `verify()`, `compat()`
|
|
@@ -2658,10 +2658,10 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2658
2658
|
```
|
|
2659
2659
|
|
|
2660
2660
|
```html
|
|
2661
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
2661
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
2662
2662
|
<!-- then the component bundles -->
|
|
2663
|
-
<script src="https://unpkg.com/motionary@
|
|
2664
|
-
<script src="https://unpkg.com/motionary@
|
|
2663
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
2664
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
2665
2665
|
```
|
|
2666
2666
|
|
|
2667
2667
|
```html
|
|
@@ -2675,7 +2675,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2675
2675
|
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).
|
|
2676
2676
|
|
|
2677
2677
|
- Import: `import { definePluginStore } from 'motionary/components/widgets'; definePluginStore();`
|
|
2678
|
-
- CDN: https://unpkg.com/motionary@
|
|
2678
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2679
2679
|
- Attributes: `query`, `label`
|
|
2680
2680
|
- Events: `usa:install`, `usa:install-error`
|
|
2681
2681
|
- Methods: `search()`, `install()`
|
|
@@ -2693,7 +2693,7 @@ definePluginCard(); // registers <usa-plugin-card> — after the prerequisites
|
|
|
2693
2693
|
Click-to-open panel that springs from its trigger; Esc / outside click closes, focus returns.
|
|
2694
2694
|
|
|
2695
2695
|
- Import: `import { definePopover } from 'motionary/components/ui'; definePopover();`
|
|
2696
|
-
- CDN: https://unpkg.com/motionary@
|
|
2696
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2697
2697
|
- Attributes: `placement`
|
|
2698
2698
|
- Methods: `toggle()`
|
|
2699
2699
|
|
|
@@ -2709,7 +2709,7 @@ Click-to-open panel that springs from its trigger; Esc / outside click closes, f
|
|
|
2709
2709
|
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.
|
|
2710
2710
|
|
|
2711
2711
|
- Import: `import { definePostFx } from 'motionary/components/webgl'; definePostFx();`
|
|
2712
|
-
- CDN: https://unpkg.com/motionary@
|
|
2712
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2713
2713
|
|
|
2714
2714
|
```html
|
|
2715
2715
|
<usa-post-fx effects="vignette grain" intensity="0.6">
|
|
@@ -2722,7 +2722,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2722
2722
|
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.
|
|
2723
2723
|
|
|
2724
2724
|
- Import: `import { definePresence } from 'motionary/components/widgets'; definePresence();`
|
|
2725
|
-
- CDN: https://unpkg.com/motionary@
|
|
2725
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2726
2726
|
- Attributes: `status`, `speaking`, `name`, `src`
|
|
2727
2727
|
|
|
2728
2728
|
```html
|
|
@@ -2736,7 +2736,7 @@ Chainable GPU passes over an image (4.8): vignette, grain, chromatic aberration,
|
|
|
2736
2736
|
Tactile press: dips while pressed and springs back, or bounces once with bounce. Mouse, touch, pen and keyboard.
|
|
2737
2737
|
|
|
2738
2738
|
- Import: `import { definePress } from 'motionary/components/interaction'; definePress();`
|
|
2739
|
-
- CDN: https://unpkg.com/motionary@
|
|
2739
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2740
2740
|
- Attributes: `disabled`, `scale`, `bounce`
|
|
2741
2741
|
|
|
2742
2742
|
```html
|
|
@@ -2748,7 +2748,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2748
2748
|
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.
|
|
2749
2749
|
|
|
2750
2750
|
- Import: `import { definePrizeWheel } from 'motionary/components/widgets'; definePrizeWheel();`
|
|
2751
|
-
- CDN: https://unpkg.com/motionary@
|
|
2751
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2752
2752
|
- Attributes: `segments`, `label`, `turns`, `duration`
|
|
2753
2753
|
- Events: `usa:result`
|
|
2754
2754
|
- Methods: `spin()`
|
|
@@ -2762,7 +2762,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2762
2762
|
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.
|
|
2763
2763
|
|
|
2764
2764
|
- Import: `import { defineProductGallery } from 'motionary/components/widgets'; defineProductGallery();`
|
|
2765
|
-
- CDN: https://unpkg.com/motionary@
|
|
2765
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2766
2766
|
- Attributes: `index`, `nozoom`, `zoom`
|
|
2767
2767
|
- Events: `usa:change`
|
|
2768
2768
|
- Methods: `go()`, `next()`, `prev()`
|
|
@@ -2780,7 +2780,7 @@ Tactile press: dips while pressed and springs back, or bounces once with bounce.
|
|
|
2780
2780
|
Determinate bars glide between values; without a value it shows the Fluent indeterminate animation. Paused / error states.
|
|
2781
2781
|
|
|
2782
2782
|
- Import: `import { defineProgress } from 'motionary/components/feedback'; defineProgress();`
|
|
2783
|
-
- CDN: https://unpkg.com/motionary@
|
|
2783
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2784
2784
|
- Attributes: `value`, `max`, `indeterminate`, `label`
|
|
2785
2785
|
- Events: `usa:complete`
|
|
2786
2786
|
|
|
@@ -2794,7 +2794,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2794
2794
|
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%.
|
|
2795
2795
|
|
|
2796
2796
|
- Import: `import { defineProgressRing } from 'motionary/components/widgets'; defineProgressRing();`
|
|
2797
|
-
- CDN: https://unpkg.com/motionary@
|
|
2797
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2798
2798
|
- Attributes: `variant`, `value`, `max`, `gradient`, `no-label`, `duration`
|
|
2799
2799
|
- Events: `usa:complete`
|
|
2800
2800
|
|
|
@@ -2810,7 +2810,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2810
2810
|
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.
|
|
2811
2811
|
|
|
2812
2812
|
- Import: `import { definePropPanel } from 'motionary/components/widgets'; definePropPanel();`
|
|
2813
|
-
- CDN: https://unpkg.com/motionary@
|
|
2813
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2814
2814
|
- Attributes: `for`, `props`, `label`
|
|
2815
2815
|
- Events: `usa:prop`
|
|
2816
2816
|
- Methods: `reset()`
|
|
@@ -2825,7 +2825,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2825
2825
|
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".
|
|
2826
2826
|
|
|
2827
2827
|
- Import: `import { definePullCord } from 'motionary/components/widgets'; definePullCord();`
|
|
2828
|
-
- CDN: https://unpkg.com/motionary@
|
|
2828
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2829
2829
|
- Attributes: `label`, `threshold`
|
|
2830
2830
|
- Events: `usa:change`
|
|
2831
2831
|
- Methods: `toggle()`
|
|
@@ -2839,7 +2839,7 @@ Determinate bars glide between values; without a value it shows the Fluent indet
|
|
|
2839
2839
|
Pull down at the top of a list: the spinner stretches in with rubber-band resistance; release past the threshold to refresh.
|
|
2840
2840
|
|
|
2841
2841
|
- Import: `import { definePullRefresh } from 'motionary/components/ui'; definePullRefresh();`
|
|
2842
|
-
- CDN: https://unpkg.com/motionary@
|
|
2842
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2843
2843
|
- Attributes: `threshold`, `disabled`, `label`
|
|
2844
2844
|
- Methods: `refresh()`
|
|
2845
2845
|
|
|
@@ -2855,7 +2855,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2855
2855
|
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.
|
|
2856
2856
|
|
|
2857
2857
|
- Import: `import { defineRadar } from 'motionary/components/widgets'; defineRadar();`
|
|
2858
|
-
- CDN: https://unpkg.com/motionary@
|
|
2858
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2859
2859
|
- Attributes: `targets`, `rings`, `speed`, `label`
|
|
2860
2860
|
- Events: `usa:ping`
|
|
2861
2861
|
- Methods: `setTargets()`
|
|
@@ -2869,7 +2869,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2869
2869
|
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.
|
|
2870
2870
|
|
|
2871
2871
|
- Import: `import { defineReactions } from 'motionary/components/widgets'; defineReactions();`
|
|
2872
|
-
- CDN: https://unpkg.com/motionary@
|
|
2872
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2873
2873
|
- Attributes: `emojis`, `counts`, `picker`
|
|
2874
2874
|
- Events: `usa:react`
|
|
2875
2875
|
- Methods: `toggle()`
|
|
@@ -2883,7 +2883,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2883
2883
|
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.
|
|
2884
2884
|
|
|
2885
2885
|
- Import: `import { defineRedEnvelope } from 'motionary/components/widgets'; defineRedEnvelope();`
|
|
2886
|
-
- CDN: https://unpkg.com/motionary@
|
|
2886
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2887
2887
|
- Attributes: `amount`, `currency`, `message`, `from`, `opened`
|
|
2888
2888
|
- Events: `usa:open`
|
|
2889
2889
|
- Methods: `open()`, `close()`
|
|
@@ -2897,7 +2897,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2897
2897
|
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).
|
|
2898
2898
|
|
|
2899
2899
|
- Import: `import { defineRetroButton } from 'motionary/components/widgets'; defineRetroButton();`
|
|
2900
|
-
- CDN: https://unpkg.com/motionary@
|
|
2900
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2901
2901
|
- Attributes: `variant`, `disabled`, `type`
|
|
2902
2902
|
|
|
2903
2903
|
```html
|
|
@@ -2910,7 +2910,7 @@ Pull down at the top of a list: the spinner stretches in with rubber-band resist
|
|
|
2910
2910
|
Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects, replay on re-entry with repeat.
|
|
2911
2911
|
|
|
2912
2912
|
- Import: `import { defineReveal } from 'motionary/components/reveal'; defineReveal();`
|
|
2913
|
-
- CDN: https://unpkg.com/motionary@
|
|
2913
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2914
2914
|
- Attributes: `effect`, `distance`, `repeat`, `threshold`, `root-margin`, `duration`, `delay`, `easing`
|
|
2915
2915
|
- Events: `usa:enter`, `usa:leave`, `usa:complete`
|
|
2916
2916
|
- Methods: `reveal()`, `reset()`
|
|
@@ -2926,7 +2926,7 @@ Fade, slide, zoom, blur or flip content in as it enters the viewport. 12 effects
|
|
|
2926
2926
|
Ink ripple from the pointer — or from the centre for Space/Enter — on any button, list item or card.
|
|
2927
2927
|
|
|
2928
2928
|
- Import: `import { defineRipple } from 'motionary/components/interaction'; defineRipple();`
|
|
2929
|
-
- CDN: https://unpkg.com/motionary@
|
|
2929
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
2930
2930
|
- Attributes: `disabled`, `centered`, `color`, `opacity`, `duration`
|
|
2931
2931
|
- Methods: `ripple()`
|
|
2932
2932
|
|
|
@@ -2939,7 +2939,7 @@ Ink ripple from the pointer — or from the centre for Space/Enter — on any bu
|
|
|
2939
2939
|
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.
|
|
2940
2940
|
|
|
2941
2941
|
- Import: `import { defineRive } from 'motionary/components/widgets'; defineRive();`
|
|
2942
|
-
- CDN: https://unpkg.com/motionary@
|
|
2942
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2943
2943
|
- Attributes: `src`, `artboard`, `animation`, `state-machine`, `autoplay`, `fit`, `label`, `runtime-src`
|
|
2944
2944
|
- Events: `usa:load`, `usa:error`, `usa:runtime-missing`
|
|
2945
2945
|
- Methods: `play()`, `pause()`, `input()`
|
|
@@ -2958,8 +2958,8 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2958
2958
|
```html
|
|
2959
2959
|
<script src="https://unpkg.com/@rive-app/canvas@2.44.1/rive.js"></script>
|
|
2960
2960
|
<!-- then the component bundles -->
|
|
2961
|
-
<script src="https://unpkg.com/motionary@
|
|
2962
|
-
<script src="https://unpkg.com/motionary@
|
|
2961
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
2962
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
2963
2963
|
```
|
|
2964
2964
|
|
|
2965
2965
|
```html
|
|
@@ -2971,7 +2971,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2971
2971
|
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.
|
|
2972
2972
|
|
|
2973
2973
|
- Import: `import { defineRouteTransition } from 'motionary/components/widgets'; defineRouteTransition();`
|
|
2974
|
-
- CDN: https://unpkg.com/motionary@
|
|
2974
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2975
2975
|
- Attributes: `effect`, `engine`, `cross-document`, `current`, `links`, `history`, `selector`
|
|
2976
2976
|
- Events: `usa:navigate`, `usa:navigated`
|
|
2977
2977
|
- Methods: `navigate()`
|
|
@@ -2988,7 +2988,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
2988
2988
|
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.
|
|
2989
2989
|
|
|
2990
2990
|
- Import: `import { defineScene } from 'motionary/components/widgets'; defineScene();`
|
|
2991
|
-
- CDN: https://unpkg.com/motionary@
|
|
2991
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
2992
2992
|
- Attributes: `camera`, `strength`, `autoplay`
|
|
2993
2993
|
- Events: `usa:shot`
|
|
2994
2994
|
- Methods: `setProgress()`
|
|
@@ -3005,7 +3005,7 @@ defineRive(); // registers <usa-rive> — after the prerequisites
|
|
|
3005
3005
|
Decodes text out of random glyphs, left to right. Trigger on view, hover/focus or manually.
|
|
3006
3006
|
|
|
3007
3007
|
- Import: `import { defineScramble } from 'motionary/components/text'; defineScramble();`
|
|
3008
|
-
- CDN: https://unpkg.com/motionary@
|
|
3008
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3009
3009
|
- Attributes: `text`, `trigger`, `duration`, `chars`
|
|
3010
3010
|
- Events: `usa:complete`
|
|
3011
3011
|
- Methods: `play()`
|
|
@@ -3019,7 +3019,7 @@ Decodes text out of random glyphs, left to right. Trigger on view, hover/focus o
|
|
|
3019
3019
|
Words light up one by one as you read down the page, or a highlighter marker sweeps behind the text.
|
|
3020
3020
|
|
|
3021
3021
|
- Import: `import { defineScrollHighlight } from 'motionary/components/text'; defineScrollHighlight();`
|
|
3022
|
-
- CDN: https://unpkg.com/motionary@
|
|
3022
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3023
3023
|
- Attributes: `mode`, `text`, `color`, `dim`
|
|
3024
3024
|
- Methods: `mount()`
|
|
3025
3025
|
|
|
@@ -3033,7 +3033,7 @@ Words light up one by one as you read down the page, or a highlighter marker swe
|
|
|
3033
3033
|
Reading progress of the page or of one article. Compositor-only scaleX, role="progressbar".
|
|
3034
3034
|
|
|
3035
3035
|
- Import: `import { defineScrollProgress } from 'motionary/components/reveal'; defineScrollProgress();`
|
|
3036
|
-
- CDN: https://unpkg.com/motionary@
|
|
3036
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3037
3037
|
- Attributes: `target`, `label`
|
|
3038
3038
|
- Events: `usa:progress`
|
|
3039
3039
|
- Methods: `update()`
|
|
@@ -3049,7 +3049,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
3049
3049
|
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.
|
|
3050
3050
|
|
|
3051
3051
|
- Import: `import { defineScrollRing } from 'motionary/components/widgets'; defineScrollRing();`
|
|
3052
|
-
- CDN: https://unpkg.com/motionary@
|
|
3052
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3053
3053
|
- Attributes: `for`, `engine`, `label`, `back-to-top`, `size`, `thickness`, `horizontal`, `preview`
|
|
3054
3054
|
- Events: `usa:progress`, `usa:top`
|
|
3055
3055
|
|
|
@@ -3062,7 +3062,7 @@ Reading progress of the page or of one article. Compositor-only scaleX, role="pr
|
|
|
3062
3062
|
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.
|
|
3063
3063
|
|
|
3064
3064
|
- Import: `import { defineScrollScene } from 'motionary/components/widgets'; defineScrollScene();`
|
|
3065
|
-
- CDN: https://unpkg.com/motionary@
|
|
3065
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3066
3066
|
- Attributes: `start`, `end`, `scrub`, `pin`, `markers`, `stagger`, `toggle-class`, `preview`
|
|
3067
3067
|
- Events: `usa:enter`, `usa:leave`, `usa:progress`, `usa:runtime-missing`
|
|
3068
3068
|
- Methods: `refresh()`, `timeline()`
|
|
@@ -3080,11 +3080,11 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
3080
3080
|
```
|
|
3081
3081
|
|
|
3082
3082
|
```html
|
|
3083
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3084
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3083
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
3084
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/scroll.iife.js"></script>
|
|
3085
3085
|
<!-- then the component bundles -->
|
|
3086
|
-
<script src="https://unpkg.com/motionary@
|
|
3087
|
-
<script src="https://unpkg.com/motionary@
|
|
3086
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
3087
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
3088
3088
|
```
|
|
3089
3089
|
|
|
3090
3090
|
```html
|
|
@@ -3099,7 +3099,7 @@ defineScrollScene(); // registers <usa-scroll-scene> — after the prerequisites
|
|
|
3099
3099
|
A pinned graphic while [data-step] blocks scroll past; the active step drives the graphic via attributes, a CSS variable and events.
|
|
3100
3100
|
|
|
3101
3101
|
- Import: `import { defineScrolly } from 'motionary/components/reveal'; defineScrolly();`
|
|
3102
|
-
- CDN: https://unpkg.com/motionary@
|
|
3102
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3103
3103
|
- Attributes: `offset`
|
|
3104
3104
|
- Events: `usa:step`
|
|
3105
3105
|
|
|
@@ -3116,7 +3116,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
3116
3116
|
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.
|
|
3117
3117
|
|
|
3118
3118
|
- Import: `import { defineSegmented } from 'motionary/components/widgets'; defineSegmented();`
|
|
3119
|
-
- CDN: https://unpkg.com/motionary@
|
|
3119
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3120
3120
|
- Attributes: `variant`, `label`, `value`
|
|
3121
3121
|
- Events: `usa:change`
|
|
3122
3122
|
|
|
@@ -3133,7 +3133,7 @@ A pinned graphic while [data-step] blocks scroll past; the active step drives th
|
|
|
3133
3133
|
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.
|
|
3134
3134
|
|
|
3135
3135
|
- Import: `import { defineShader } from 'motionary/components/webgl'; defineShader();`
|
|
3136
|
-
- CDN: https://unpkg.com/motionary@
|
|
3136
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3137
3137
|
|
|
3138
3138
|
```html
|
|
3139
3139
|
<usa-shader preset="aurora" speed="1">
|
|
@@ -3152,7 +3152,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3152
3152
|
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.
|
|
3153
3153
|
|
|
3154
3154
|
- Import: `import { defineShaderBackdrop } from 'motionary/components/widgets'; defineShaderBackdrop();`
|
|
3155
|
-
- CDN: https://unpkg.com/motionary@
|
|
3155
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3156
3156
|
- Attributes: `preset`, `post`, `colors`, `speed`, `intensity`, `label`
|
|
3157
3157
|
- Events: `usa:backend`
|
|
3158
3158
|
|
|
@@ -3167,7 +3167,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3167
3167
|
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.
|
|
3168
3168
|
|
|
3169
3169
|
- Import: `import { defineSheet } from 'motionary/components/widgets'; defineSheet();`
|
|
3170
|
-
- CDN: https://unpkg.com/motionary@
|
|
3170
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3171
3171
|
- Attributes: `side`, `label`, `persistent`
|
|
3172
3172
|
- Events: `usa:open`, `usa:close`
|
|
3173
3173
|
- Methods: `show()`, `close()`, `toggle()`
|
|
@@ -3186,7 +3186,7 @@ A GPU shader behind your content: gradient, plasma, waves or aurora presets —
|
|
|
3186
3186
|
A light sweep across gradient-filled text. CSS only; colours and speed via attributes or custom properties.
|
|
3187
3187
|
|
|
3188
3188
|
- Import: `import { defineShimmerText } from 'motionary/components/text'; defineShimmerText();`
|
|
3189
|
-
- CDN: https://unpkg.com/motionary@
|
|
3189
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3190
3190
|
- Attributes: `duration`, `color`, `shine`, `angle`
|
|
3191
3191
|
|
|
3192
3192
|
```html
|
|
@@ -3198,7 +3198,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
3198
3198
|
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.
|
|
3199
3199
|
|
|
3200
3200
|
- Import: `import { defineShortcut } from 'motionary/components/widgets'; defineShortcut();`
|
|
3201
|
-
- CDN: https://unpkg.com/motionary@
|
|
3201
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3202
3202
|
- Attributes: `keys`, `label`, `listen`, `for`
|
|
3203
3203
|
- Events: `usa:trigger`
|
|
3204
3204
|
- Methods: `press()`
|
|
@@ -3213,7 +3213,7 @@ A light sweep across gradient-filled text. CSS only; colours and speed via attri
|
|
|
3213
3213
|
Shimmering placeholders while loading; remove loading and the real content fades in. aria-busy included.
|
|
3214
3214
|
|
|
3215
3215
|
- Import: `import { defineSkeleton } from 'motionary/components/feedback'; defineSkeleton();`
|
|
3216
|
-
- CDN: https://unpkg.com/motionary@
|
|
3216
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3217
3217
|
- Attributes: `loading`, `lines`, `width`, `height`, `circle`, `avatar`, `radius`
|
|
3218
3218
|
- Events: `usa:loaded`
|
|
3219
3219
|
|
|
@@ -3228,7 +3228,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3228
3228
|
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.
|
|
3229
3229
|
|
|
3230
3230
|
- Import: `import { defineSkeletonReveal } from 'motionary/components/widgets'; defineSkeletonReveal();`
|
|
3231
|
-
- CDN: https://unpkg.com/motionary@
|
|
3231
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3232
3232
|
- Attributes: `loading`, `variant`
|
|
3233
3233
|
- Events: `usa:reveal`
|
|
3234
3234
|
- Methods: `reveal()`
|
|
@@ -3247,7 +3247,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3247
3247
|
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.
|
|
3248
3248
|
|
|
3249
3249
|
- Import: `import { defineSketchChart } from 'motionary/components/widgets'; defineSketchChart();`
|
|
3250
|
-
- CDN: https://unpkg.com/motionary@
|
|
3250
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3251
3251
|
- Attributes: `values`, `labels`, `type`, `color`, `label`
|
|
3252
3252
|
- Events: `usa:drawn`
|
|
3253
3253
|
- Methods: `setValues()`, `redraw()`
|
|
@@ -3261,7 +3261,7 @@ Shimmering placeholders while loading; remove loading and the real content fades
|
|
|
3261
3261
|
A form-associated range slider: spring-following thumb, value bubble, full keyboard support (arrows, Page Up/Down, Home/End).
|
|
3262
3262
|
|
|
3263
3263
|
- Import: `import { defineSlider } from 'motionary/components/ui'; defineSlider();`
|
|
3264
|
-
- CDN: https://unpkg.com/motionary@
|
|
3264
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3265
3265
|
- Attributes: `min`, `max`, `disabled`, `label`, `step`, `value`
|
|
3266
3266
|
- Events: `usa:input`, `usa:change`
|
|
3267
3267
|
|
|
@@ -3274,7 +3274,7 @@ A form-associated range slider: spring-following thumb, value bubble, full keybo
|
|
|
3274
3274
|
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.
|
|
3275
3275
|
|
|
3276
3276
|
- Import: `import { defineSmoothScroll } from 'motionary/components/widgets'; defineSmoothScroll();`
|
|
3277
|
-
- CDN: https://unpkg.com/motionary@
|
|
3277
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3278
3278
|
- Attributes: `lerp`, `duration`, `ease`, `wheel-multiplier`, `horizontal`, `touch`, `anchors`, `offset`, `wrapper`, `preview`
|
|
3279
3279
|
- Events: `usa:scroll`, `usa:ready`, `usa:runtime-missing`
|
|
3280
3280
|
- Methods: `glideTo()`, `stop()`, `resume()`
|
|
@@ -3292,11 +3292,11 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3292
3292
|
```
|
|
3293
3293
|
|
|
3294
3294
|
```html
|
|
3295
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3296
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3295
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
3296
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/smooth.iife.js"></script>
|
|
3297
3297
|
<!-- then the component bundles -->
|
|
3298
|
-
<script src="https://unpkg.com/motionary@
|
|
3299
|
-
<script src="https://unpkg.com/motionary@
|
|
3298
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
3299
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
3300
3300
|
```
|
|
3301
3301
|
|
|
3302
3302
|
```html
|
|
@@ -3308,7 +3308,7 @@ defineSmoothScroll(); // registers <usa-smooth-scroll> — after the prerequisit
|
|
|
3308
3308
|
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).
|
|
3309
3309
|
|
|
3310
3310
|
- Import: `import { defineSnapCarousel } from 'motionary/components/snap-carousel'; defineSnapCarousel();`
|
|
3311
|
-
- CDN: https://unpkg.com/motionary@
|
|
3311
|
+
- CDN: https://unpkg.com/motionary@14/dist/components/snap-carousel.js
|
|
3312
3312
|
- Attributes: `align`, `gap`, `autoplay`, `no-controls`, `no-dots`, `label`, `index`
|
|
3313
3313
|
- Events: `usa:change`, `usa:runtime-missing`
|
|
3314
3314
|
- Methods: `next()`, `prev()`, `goTo()`
|
|
@@ -3326,11 +3326,11 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3326
3326
|
```
|
|
3327
3327
|
|
|
3328
3328
|
```html
|
|
3329
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3330
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3329
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
3330
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/drag-snap.iife.js"></script>
|
|
3331
3331
|
<!-- then the component bundles -->
|
|
3332
|
-
<script src="https://unpkg.com/motionary@
|
|
3333
|
-
<script src="https://unpkg.com/motionary@
|
|
3332
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
3333
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
3334
3334
|
```
|
|
3335
3335
|
|
|
3336
3336
|
```html
|
|
@@ -3346,7 +3346,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3346
3346
|
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.
|
|
3347
3347
|
|
|
3348
3348
|
- Import: `import { defineSparkline } from 'motionary/components/widgets'; defineSparkline();`
|
|
3349
|
-
- CDN: https://unpkg.com/motionary@
|
|
3349
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3350
3350
|
- Attributes: `variant`, `color`, `values`, `label`
|
|
3351
3351
|
|
|
3352
3352
|
```html
|
|
@@ -3358,7 +3358,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3358
3358
|
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.
|
|
3359
3359
|
|
|
3360
3360
|
- Import: `import { defineSpatialCard } from 'motionary/components/widgets'; defineSpatialCard();`
|
|
3361
|
-
- CDN: https://unpkg.com/motionary@
|
|
3361
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3362
3362
|
- Events: `usa:focus-depth`
|
|
3363
3363
|
|
|
3364
3364
|
```html
|
|
@@ -3374,7 +3374,7 @@ defineSnapCarousel(); // registers <usa-snap-carousel> — after the prerequisit
|
|
|
3374
3374
|
Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting dots, ring, typing dots, pulse and bars.
|
|
3375
3375
|
|
|
3376
3376
|
- Import: `import { defineSpinner } from 'motionary/components/feedback'; defineSpinner();`
|
|
3377
|
-
- CDN: https://unpkg.com/motionary@
|
|
3377
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3378
3378
|
- Attributes: `kind`, `size`, `label`
|
|
3379
3379
|
|
|
3380
3380
|
```html
|
|
@@ -3387,7 +3387,7 @@ Six indeterminate indicators: the WinUI progress ring, the Windows 10 orbiting d
|
|
|
3387
3387
|
An app launch screen that leaves (fade, scale, slide-up, circle) once the page has loaded — never sooner than min ms.
|
|
3388
3388
|
|
|
3389
3389
|
- Import: `import { defineSplash } from 'motionary/components/page'; defineSplash();`
|
|
3390
|
-
- CDN: https://unpkg.com/motionary@
|
|
3390
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3391
3391
|
- Attributes: `label`, `manual`, `min`, `exit`
|
|
3392
3392
|
- Events: `usa:done`
|
|
3393
3393
|
- Methods: `done()`
|
|
@@ -3403,7 +3403,7 @@ An app launch screen that leaves (fade, scale, slide-up, circle) once the page h
|
|
|
3403
3403
|
Splits a headline into letters or words and cascades them in: rise, fade, blur, flip or pop. Words never break.
|
|
3404
3404
|
|
|
3405
3405
|
- Import: `import { defineSplitText } from 'motionary/components/text'; defineSplitText();`
|
|
3406
|
-
- CDN: https://unpkg.com/motionary@
|
|
3406
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3407
3407
|
- Attributes: `by`, `text`, `from`, `stagger`, `duration`, `delay`, `trigger`, `repeat`
|
|
3408
3408
|
- Events: `usa:complete`
|
|
3409
3409
|
- Methods: `play()`, `reset()`
|
|
@@ -3417,7 +3417,7 @@ Splits a headline into letters or words and cascades them in: rise, fade, blur,
|
|
|
3417
3417
|
The Windows Fluent “Reveal” effect: a light follows the pointer, lighting the borders of nearby items and the hovered one.
|
|
3418
3418
|
|
|
3419
3419
|
- Import: `import { defineSpotlight } from 'motionary/components/interaction'; defineSpotlight();`
|
|
3420
|
-
- CDN: https://unpkg.com/motionary@
|
|
3420
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3421
3421
|
- Attributes: `size`, `color`, `border`
|
|
3422
3422
|
|
|
3423
3423
|
```html
|
|
@@ -3433,7 +3433,7 @@ The Windows Fluent “Reveal” effect: a light follows the pointer, lighting th
|
|
|
3433
3433
|
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.
|
|
3434
3434
|
|
|
3435
3435
|
- Import: `import { defineSpring } from 'motionary/components/physics'; defineSpring();`
|
|
3436
|
-
- CDN: https://unpkg.com/motionary@
|
|
3436
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3437
3437
|
- Attributes: `effect`, `trigger`, `repeat`, `stiffness`, `damping`, `mass`, `preset`, `duration`, `delay`
|
|
3438
3438
|
- Events: `usa:complete`
|
|
3439
3439
|
- Methods: `play()`, `reset()`
|
|
@@ -3452,7 +3452,7 @@ bounce-in, pop and drop entrances with true spring timing (CSS linear() easing),
|
|
|
3452
3452
|
Reveals direct children one after another — lists, grids, feature rows.
|
|
3453
3453
|
|
|
3454
3454
|
- Import: `import { defineStagger } from 'motionary/components/reveal'; defineStagger();`
|
|
3455
|
-
- CDN: https://unpkg.com/motionary@
|
|
3455
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3456
3456
|
- Attributes: `effect`, `repeat`, `threshold`, `distance`, `interval`, `delay`, `duration`, `easing`
|
|
3457
3457
|
- Events: `usa:enter`, `usa:complete`
|
|
3458
3458
|
- Methods: `reveal()`, `reset()`
|
|
@@ -3470,7 +3470,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3470
3470
|
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.
|
|
3471
3471
|
|
|
3472
3472
|
- Import: `import { defineStarRating } from 'motionary/components/widgets'; defineStarRating();`
|
|
3473
|
-
- CDN: https://unpkg.com/motionary@
|
|
3473
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3474
3474
|
- Attributes: `max`, `icon`, `readonly`, `step`, `label`, `value`
|
|
3475
3475
|
- Events: `usa:change`
|
|
3476
3476
|
|
|
@@ -3484,7 +3484,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3484
3484
|
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.
|
|
3485
3485
|
|
|
3486
3486
|
- Import: `import { defineStepper } from 'motionary/components/widgets'; defineStepper();`
|
|
3487
|
-
- CDN: https://unpkg.com/motionary@
|
|
3487
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3488
3488
|
- Attributes: `orientation`, `label`, `clickable`
|
|
3489
3489
|
- Events: `usa:change`
|
|
3490
3490
|
- Methods: `next()`, `prev()`
|
|
@@ -3503,7 +3503,7 @@ Reveals direct children one after another — lists, grids, feature rows.
|
|
|
3503
3503
|
Cards stick while you scroll and the covered ones shrink and dim as the next slides over them.
|
|
3504
3504
|
|
|
3505
3505
|
- Import: `import { defineStickyStack } from 'motionary/components/cards'; defineStickyStack();`
|
|
3506
|
-
- CDN: https://unpkg.com/motionary@
|
|
3506
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3507
3507
|
- Attributes: `top`, `gap`, `scale`
|
|
3508
3508
|
- Methods: `update()`
|
|
3509
3509
|
|
|
@@ -3520,7 +3520,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3520
3520
|
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.
|
|
3521
3521
|
|
|
3522
3522
|
- Import: `import { defineStickyWall } from 'motionary/components/widgets'; defineStickyWall();`
|
|
3523
|
-
- CDN: https://unpkg.com/motionary@
|
|
3523
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3524
3524
|
- Attributes: `seed`, `label`
|
|
3525
3525
|
- Events: `usa:pick`
|
|
3526
3526
|
- Methods: `pick()`
|
|
@@ -3538,7 +3538,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3538
3538
|
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.
|
|
3539
3539
|
|
|
3540
3540
|
- Import: `import { defineStories } from 'motionary/components/widgets'; defineStories();`
|
|
3541
|
-
- CDN: https://unpkg.com/motionary@
|
|
3541
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3542
3542
|
- Attributes: `duration`, `loop`
|
|
3543
3543
|
- Events: `usa:end`, `usa:change`
|
|
3544
3544
|
- Methods: `next()`, `prev()`, `goTo()`, `pause()`, `play()`
|
|
@@ -3555,7 +3555,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3555
3555
|
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.
|
|
3556
3556
|
|
|
3557
3557
|
- Import: `import { defineStory } from 'motionary/components/effects'; defineStory();`
|
|
3558
|
-
- CDN: https://unpkg.com/motionary@
|
|
3558
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3559
3559
|
- Attributes: `template`, `zoom`, `label`
|
|
3560
3560
|
- Events: `usa:step`
|
|
3561
3561
|
|
|
@@ -3573,7 +3573,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3573
3573
|
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.
|
|
3574
3574
|
|
|
3575
3575
|
- Import: `import { defineSuggestionChips } from 'motionary/components/widgets'; defineSuggestionChips();`
|
|
3576
|
-
- CDN: https://unpkg.com/motionary@
|
|
3576
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3577
3577
|
- Attributes: `items`, `label`, `dismiss`
|
|
3578
3578
|
- Events: `usa:pick`
|
|
3579
3579
|
- Methods: `setItems()`
|
|
@@ -3587,7 +3587,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3587
3587
|
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(), ← / →.
|
|
3588
3588
|
|
|
3589
3589
|
- Import: `import { defineSwipeDeck } from 'motionary/components/widgets'; defineSwipeDeck();`
|
|
3590
|
-
- CDN: https://unpkg.com/motionary@
|
|
3590
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3591
3591
|
- Attributes: `label`, `threshold`
|
|
3592
3592
|
- Events: `usa:swipe`, `usa:empty`
|
|
3593
3593
|
- Methods: `like()`, `nope()`, `undo()`
|
|
@@ -3605,7 +3605,7 @@ Cards stick while you scroll and the covered ones shrink and dim as the next sli
|
|
|
3605
3605
|
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.
|
|
3606
3606
|
|
|
3607
3607
|
- Import: `import { defineSwipeable } from 'motionary/components/gesture'; defineSwipeable();`
|
|
3608
|
-
- CDN: https://unpkg.com/motionary@
|
|
3608
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3609
3609
|
- Attributes: `axis`, `disabled`, `distance`, `dismiss`, `preset`
|
|
3610
3610
|
- Events: `usa:swipe`, `usa:dismiss`
|
|
3611
3611
|
- Methods: `swipe()`, `reset()`
|
|
@@ -3621,7 +3621,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3621
3621
|
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.
|
|
3622
3622
|
|
|
3623
3623
|
- Import: `import { defineSwitch } from 'motionary/components/widgets'; defineSwitch();`
|
|
3624
|
-
- CDN: https://unpkg.com/motionary@
|
|
3624
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3625
3625
|
- Attributes: `variant`, `label`, `name`, `value`, `disabled`
|
|
3626
3626
|
- Events: `usa:change`
|
|
3627
3627
|
- Methods: `toggle()`
|
|
@@ -3635,7 +3635,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3635
3635
|
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.
|
|
3636
3636
|
|
|
3637
3637
|
- Import: `import { defineTabBar } from 'motionary/components/widgets'; defineTabBar();`
|
|
3638
|
-
- CDN: https://unpkg.com/motionary@
|
|
3638
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3639
3639
|
- Attributes: `indicator`, `label`, `selected`
|
|
3640
3640
|
- Events: `usa:change`
|
|
3641
3641
|
- Methods: `select()`
|
|
@@ -3656,7 +3656,7 @@ Swipe-to-dismiss and swipe actions: content follows the finger, flies out on a f
|
|
|
3656
3656
|
Accessible tabs whose indicator slides between tabs with a spring; panels slide in from the direction you moved. Line or pill indicator.
|
|
3657
3657
|
|
|
3658
3658
|
- Import: `import { defineTabs } from 'motionary/components/ui'; defineTabs();`
|
|
3659
|
-
- CDN: https://unpkg.com/motionary@
|
|
3659
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3660
3660
|
- Attributes: `indicator`
|
|
3661
3661
|
- Events: `usa:change`
|
|
3662
3662
|
- Methods: `select()`
|
|
@@ -3674,7 +3674,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3674
3674
|
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.
|
|
3675
3675
|
|
|
3676
3676
|
- Import: `import { defineTerminal } from 'motionary/components/widgets'; defineTerminal();`
|
|
3677
|
-
- CDN: https://unpkg.com/motionary@
|
|
3677
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3678
3678
|
- Attributes: `title`, `prompt`, `theme`, `speed`, `loop`
|
|
3679
3679
|
- Events: `usa:done`
|
|
3680
3680
|
- Methods: `replay()`, `skip()`
|
|
@@ -3691,7 +3691,7 @@ Accessible tabs whose indicator slides between tabs with a spring; panels slide
|
|
|
3691
3691
|
Cycles words in place — the box keeps the width of the longest word, so nothing around it reflows.
|
|
3692
3692
|
|
|
3693
3693
|
- Import: `import { defineTextRotate } from 'motionary/components/text'; defineTextRotate();`
|
|
3694
|
-
- CDN: https://unpkg.com/motionary@
|
|
3694
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3695
3695
|
- Attributes: `words`, `interval`, `paused`, `effect`
|
|
3696
3696
|
- Events: `usa:change`
|
|
3697
3697
|
- Methods: `next()`
|
|
@@ -3705,7 +3705,7 @@ Build <usa-text-rotate words="fast|tiny|typed"></usa-text-rotate> apps
|
|
|
3705
3705
|
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.
|
|
3706
3706
|
|
|
3707
3707
|
- Import: `import { defineTextSplitter } from 'motionary/components/widgets'; defineTextSplitter();`
|
|
3708
|
-
- CDN: https://unpkg.com/motionary@
|
|
3708
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3709
3709
|
- Attributes: `split`, `effect`, `stagger`, `duration`, `loop`, `trigger`
|
|
3710
3710
|
- Events: `usa:split`, `usa:done`, `usa:runtime-missing`
|
|
3711
3711
|
- Methods: `replay()`, `pieces()`
|
|
@@ -3723,11 +3723,11 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3723
3723
|
```
|
|
3724
3724
|
|
|
3725
3725
|
```html
|
|
3726
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3727
|
-
<script src="https://cdn.jsdelivr.net/npm/motionary@
|
|
3726
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime.iife.js"></script>
|
|
3727
|
+
<script src="https://cdn.jsdelivr.net/npm/motionary@14/dist/runtime/text.iife.js"></script>
|
|
3728
3728
|
<!-- then the component bundles -->
|
|
3729
|
-
<script src="https://unpkg.com/motionary@
|
|
3730
|
-
<script src="https://unpkg.com/motionary@
|
|
3729
|
+
<script src="https://unpkg.com/motionary@14/dist/components.umd.js"></script>
|
|
3730
|
+
<script src="https://unpkg.com/motionary@14/dist/widgets.umd.js"></script>
|
|
3731
3731
|
```
|
|
3732
3732
|
|
|
3733
3733
|
```html
|
|
@@ -3739,7 +3739,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3739
3739
|
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.
|
|
3740
3740
|
|
|
3741
3741
|
- Import: `import { defineThemeSurface } from 'motionary/components/widgets'; defineThemeSurface();`
|
|
3742
|
-
- CDN: https://unpkg.com/motionary@
|
|
3742
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3743
3743
|
- Attributes: `theme`
|
|
3744
3744
|
- Events: `usa:theme`
|
|
3745
3745
|
|
|
@@ -3754,7 +3754,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3754
3754
|
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.
|
|
3755
3755
|
|
|
3756
3756
|
- Import: `import { defineThemeSwitcher } from 'motionary/components/widgets'; defineThemeSwitcher();`
|
|
3757
|
-
- CDN: https://unpkg.com/motionary@
|
|
3757
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3758
3758
|
- Attributes: `themes`, `target`, `label`, `persist`, `value`
|
|
3759
3759
|
- Events: `usa:change`
|
|
3760
3760
|
|
|
@@ -3767,7 +3767,7 @@ defineTextSplitter(); // registers <usa-text-splitter> — after the prerequisit
|
|
|
3767
3767
|
Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y for parallax layers inside.
|
|
3768
3768
|
|
|
3769
3769
|
- Import: `import { defineTilt } from 'motionary/components/interaction'; defineTilt();`
|
|
3770
|
-
- CDN: https://unpkg.com/motionary@
|
|
3770
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3771
3771
|
- Attributes: `max`, `scale`, `perspective`, `glare`, `reverse`, `disabled`
|
|
3772
3772
|
|
|
3773
3773
|
```html
|
|
@@ -3781,7 +3781,7 @@ Tilts toward the pointer in 3D with an optional glare; exposes --usa-tilt-x/y fo
|
|
|
3781
3781
|
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.
|
|
3782
3782
|
|
|
3783
3783
|
- Import: `import { defineTimeline } from 'motionary/components/timeline'; defineTimeline();`
|
|
3784
|
-
- CDN: https://unpkg.com/motionary@
|
|
3784
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3785
3785
|
- Attributes: `scrub`, `trigger`, `overlap`, `duration`, `stagger`, `smooth`, `repeat`
|
|
3786
3786
|
- Events: `usa:complete`
|
|
3787
3787
|
- Methods: `play()`, `reverse()`, `seek()`
|
|
@@ -3799,7 +3799,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3799
3799
|
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.
|
|
3800
3800
|
|
|
3801
3801
|
- Import: `import { defineTip } from 'motionary/components/widgets'; defineTip();`
|
|
3802
|
-
- CDN: https://unpkg.com/motionary@
|
|
3802
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3803
3803
|
- Attributes: `text`, `placement`, `trigger`, `delay`
|
|
3804
3804
|
- Events: `usa:open`, `usa:close`
|
|
3805
3805
|
- Methods: `show()`, `hide()`
|
|
@@ -3819,7 +3819,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3819
3819
|
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.
|
|
3820
3820
|
|
|
3821
3821
|
- Import: `import { defineToastStack } from 'motionary/components/widgets'; defineToastStack();`
|
|
3822
|
-
- CDN: https://unpkg.com/motionary@
|
|
3822
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3823
3823
|
- Attributes: `position`, `duration`, `max`
|
|
3824
3824
|
- Events: `usa:show`, `usa:dismiss`
|
|
3825
3825
|
- Methods: `show()`, `dismiss()`, `clear()`
|
|
@@ -3835,7 +3835,7 @@ Every data-tl child becomes a step in document order. data-at ('-=200', '<', 'la
|
|
|
3835
3835
|
toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP and announces politely (errors assertively).
|
|
3836
3836
|
|
|
3837
3837
|
- Import: `import { defineToaster } from 'motionary/components/feedback'; defineToaster();`
|
|
3838
|
-
- CDN: https://unpkg.com/motionary@
|
|
3838
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3839
3839
|
- Attributes: `label`, `position`, `max`
|
|
3840
3840
|
- Events: `usa:toast`
|
|
3841
3841
|
- Methods: `show()`, `clear()`
|
|
@@ -3853,7 +3853,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3853
3853
|
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.
|
|
3854
3854
|
|
|
3855
3855
|
- Import: `import { defineTokenEditor } from 'motionary/components/widgets'; defineTokenEditor();`
|
|
3856
|
-
- CDN: https://unpkg.com/motionary@
|
|
3856
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3857
3857
|
- Attributes: `apply`, `format`, `groups`, `label`
|
|
3858
3858
|
- Events: `usa:export`, `usa:import`, `usa:change`
|
|
3859
3859
|
- Methods: `exportJSON()`, `importJSON()`
|
|
@@ -3867,7 +3867,7 @@ toast("Saved") slides a notification in; it pauses on hover, stacks with FLIP an
|
|
|
3867
3867
|
Types text, or cycles through phrases with delete and pause. Full text stays available to screen readers.
|
|
3868
3868
|
|
|
3869
3869
|
- Import: `import { defineTypewriter } from 'motionary/components/text'; defineTypewriter();`
|
|
3870
|
-
- CDN: https://unpkg.com/motionary@
|
|
3870
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3871
3871
|
- Attributes: `text`, `words`, `start`, `speed`, `delete-speed`, `pause`, `loop`, `delay`
|
|
3872
3872
|
- Events: `usa:complete`
|
|
3873
3873
|
- Methods: `start()`, `stop()`, `restart()`
|
|
@@ -3881,7 +3881,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3881
3881
|
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.
|
|
3882
3882
|
|
|
3883
3883
|
- Import: `import { defineUploadProgress } from 'motionary/components/widgets'; defineUploadProgress();`
|
|
3884
|
-
- CDN: https://unpkg.com/motionary@
|
|
3884
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3885
3885
|
- Attributes: `name`, `size`, `value`, `status`, `message`
|
|
3886
3886
|
- Events: `usa:retry`, `usa:done`, `usa:error`
|
|
3887
3887
|
|
|
@@ -3895,7 +3895,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3895
3895
|
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).
|
|
3896
3896
|
|
|
3897
3897
|
- Import: `import { defineVideoCard } from 'motionary/components/widgets'; defineVideoCard();`
|
|
3898
|
-
- CDN: https://unpkg.com/motionary@
|
|
3898
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3899
3899
|
- Attributes: `label`, `duration`
|
|
3900
3900
|
- Events: `usa:open`
|
|
3901
3901
|
|
|
@@ -3912,7 +3912,7 @@ Types text, or cycles through phrases with delete and pause. Full text stays ava
|
|
|
3912
3912
|
One view at a time with direction-aware slide, fade, scale or drill transitions — tabs, wizards, app pages.
|
|
3913
3913
|
|
|
3914
3914
|
- Import: `import { defineViewSwitch } from 'motionary/components/transitions'; defineViewSwitch();`
|
|
3915
|
-
- CDN: https://unpkg.com/motionary@
|
|
3915
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3916
3916
|
- Attributes: `active`, `duration`, `effect`
|
|
3917
3917
|
- Events: `usa:change`
|
|
3918
3918
|
- Methods: `show()`
|
|
@@ -3929,7 +3929,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3929
3929
|
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.
|
|
3930
3930
|
|
|
3931
3931
|
- Import: `import { defineVoiceButton } from 'motionary/components/widgets'; defineVoiceButton();`
|
|
3932
|
-
- CDN: https://unpkg.com/motionary@
|
|
3932
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3933
3933
|
- Attributes: `label`, `bars`, `listening`
|
|
3934
3934
|
- Methods: `toggle()`
|
|
3935
3935
|
|
|
@@ -3943,7 +3943,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3943
3943
|
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".
|
|
3944
3944
|
|
|
3945
3945
|
- Import: `import { defineVolumeKnob } from 'motionary/components/widgets'; defineVolumeKnob();`
|
|
3946
|
-
- CDN: https://unpkg.com/motionary@
|
|
3946
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3947
3947
|
- Attributes: `min`, `max`, `label`
|
|
3948
3948
|
- Events: `usa:change`, `usa:input`
|
|
3949
3949
|
|
|
@@ -3956,7 +3956,7 @@ One view at a time with direction-aware slide, fade, scale or drill transitions
|
|
|
3956
3956
|
Interactive water ripples on a canvas over the content: move or tap to disturb the surface.
|
|
3957
3957
|
|
|
3958
3958
|
- Import: `import { defineWaterRipple } from 'motionary/components/background'; defineWaterRipple();`
|
|
3959
|
-
- CDN: https://unpkg.com/motionary@
|
|
3959
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3960
3960
|
- Attributes: `damping`, `color`, `strength`
|
|
3961
3961
|
- Methods: `mount()`
|
|
3962
3962
|
|
|
@@ -3971,7 +3971,7 @@ Interactive water ripples on a canvas over the content: move or tap to disturb t
|
|
|
3971
3971
|
Letters bob in a travelling wave — playful headlines and loading labels.
|
|
3972
3972
|
|
|
3973
3973
|
- Import: `import { defineWaveText } from 'motionary/components/text'; defineWaveText();`
|
|
3974
|
-
- CDN: https://unpkg.com/motionary@
|
|
3974
|
+
- CDN: https://unpkg.com/motionary@14/dist/components.umd.js
|
|
3975
3975
|
- Attributes: `text`, `amplitude`, `speed`, `stagger`
|
|
3976
3976
|
- Methods: `mount()`, `splitChars()`
|
|
3977
3977
|
|
|
@@ -3984,7 +3984,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3984
3984
|
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.
|
|
3985
3985
|
|
|
3986
3986
|
- Import: `import { defineWeatherCard } from 'motionary/components/widgets'; defineWeatherCard();`
|
|
3987
|
-
- CDN: https://unpkg.com/motionary@
|
|
3987
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
3988
3988
|
- Attributes: `condition`, `temp`, `place`, `unit`, `label`
|
|
3989
3989
|
|
|
3990
3990
|
```html
|
|
@@ -3996,7 +3996,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
3996
3996
|
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.
|
|
3997
3997
|
|
|
3998
3998
|
- Import: `import { defineWorkerCanvas } from 'motionary/components/widgets'; defineWorkerCanvas();`
|
|
3999
|
-
- CDN: https://unpkg.com/motionary@
|
|
3999
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
4000
4000
|
- Attributes: `scene`, `label`
|
|
4001
4001
|
- Events: `usa:backend`
|
|
4002
4002
|
|
|
@@ -4009,7 +4009,7 @@ Letters bob in a travelling wave — playful headlines and loading labels.
|
|
|
4009
4009
|
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).
|
|
4010
4010
|
|
|
4011
4011
|
- Import: `import { defineXpBar } from 'motionary/components/widgets'; defineXpBar();`
|
|
4012
|
-
- CDN: https://unpkg.com/motionary@
|
|
4012
|
+
- CDN: https://unpkg.com/motionary@14/dist/widgets.umd.js
|
|
4013
4013
|
- Attributes: `level`, `xp`, `per`
|
|
4014
4014
|
- Events: `usa:levelup`, `usa:xp`
|
|
4015
4015
|
- Methods: `add()`
|