### Global Installation Source: https://motion-core.dev/docs/cli-guide/quick-start Install the CLI globally using npm. ```bash npm install -g @motion-core/cli ``` -------------------------------- ### Configuration File Source: https://motion-core.dev/docs/cli-guide/quick-start Example motion-core.json configuration file. ```json { "$schema": "https://motion-core.dev/registry/schema/config-schema.json", "tailwind": { "css": "src/routes/layout.css" }, "aliases": { "components": { "filesystem": "src/lib/motion-core", "import": "$lib/motion-core" }, "helpers": { "filesystem": "src/lib/motion-core/helpers", "import": "$lib/motion-core/helpers" }, "utils": { "filesystem": "src/lib/motion-core/utils", "import": "$lib/motion-core/utils" }, "assets": { "filesystem": "src/lib/motion-core/assets", "import": "$lib/motion-core/assets" } }, "aliasPrefixes": { "components": "$lib/motion-core" }, "exports": { "components": { "barrel": "src/lib/motion-core/index.ts", "strategy": "named" } } } ``` -------------------------------- ### Usage without installation Source: https://motion-core.dev/docs/cli-guide/quick-start Run the CLI directly using npx. ```bash npx @motion-core/cli init ``` -------------------------------- ### Examples of adding components Source: https://motion-core.dev/docs/cli-guide/add Demonstrates how to install single or multiple components and how to preview changes without modifying the filesystem. ```bash # Install a single component motion-core add glass-pane # Install multiple components and all of their internal dependencies motion-core add glass-pane image-trail # Preview without writing motion-core add logo-carousel --dry-run ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/floating-menu Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add floating-menu ``` ```bash npx @motion-core/cli add floating-menu ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/slideshow Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add slideshow ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/weight-wave Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add weight-wave ``` ```bash npx @motion-core/cli add weight-wave ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/video-player Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add video-player ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/halo Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add halo ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/preloader Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add preloader ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/flip-card-stack Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add flip-card-stack ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/magnetic Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add magnetic ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/interactive-grid Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add interactive-grid ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/infinite-gallery Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add infinite-gallery ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/card-3d Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add card-3d ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/image-trail Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add image-trail ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/split-reveal Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add split-reveal ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/stacking-words Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add stacking-words ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/text-repel Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add text-repel ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/plasma-grid Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add plasma-grid ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/globe Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add globe ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/lava-lamp Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add lava-lamp ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/text-loop Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add text-loop ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/marquee Command to install the Marquee component and its dependencies. ```bash npx @motion-core/cli add marquee ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/split-hover Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add split-hover ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/water-ripple Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add water-ripple ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/ascii-renderer Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add ascii-renderer ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/fluid-simulation Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add fluid-simulation ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/flip-grid Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add flip-grid ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/text-scramble Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add text-scramble ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/infinite-physics-gallery Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add infinite-physics-gallery ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/specular-band Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add specular-band ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/card-stack Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add card-stack ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/glitter-cloth Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add glitter-cloth ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/glass-pane Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add glass-pane ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/neural-noise Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add neural-noise ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/macos-dock Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add macos-dock ``` -------------------------------- ### Example Source: https://motion-core.dev/docs/stacking-words Example of how to use the StackingWords component in a Svelte file. ```typescript

Scroll Down

We craft interfaces where motion carries meaning, guiding each transition with rhythm, contrast, and intention so every section unfolds with clarity as you scroll.

You Made It

``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/logo-carousel Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add logo-carousel ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/god-rays Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add god-rays ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/glass-logo Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add glass-logo ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/fake-3d-image Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add fake-3d-image ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/glass-slideshow Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add glass-slideshow ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/pixelated-image Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add pixelated-image ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/dithered-image Run the following command to install the component and its dependencies: ```bash npx @motion-core/cli add dithered-image ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/weight-wave Example of how to use the WeightWave component in a Svelte file. ```svelte Motion Core ``` ```svelte Motion Core ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/plasma-grid Example of how to use the PlasmaGrid component in a Svelte file. ```svelte ``` -------------------------------- ### Install the component Source: https://motion-core.dev/docs/fluid-image-reveal Run the following command to install the component and its dependencies. ```bash npx @motion-core/cli add fluid-image-reveal ``` -------------------------------- ### Usage Example Source: https://motion-core.dev/docs/video-player Example of how to use the VideoPlayer component in a Svelte file. ```typescript
``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/lava-lamp Example of how to use the LavaLamp component in a Svelte file. ```svelte ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/infinite-gallery Example of how to use the InfiniteGallery component in a Svelte file. ```typescript ``` -------------------------------- ### Usage Example Source: https://motion-core.dev/docs/interactive-grid Example of how to use the InteractiveGrid component in a Svelte file. ```svelte ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/glass-pane Example of how to use the GlassPane component with various props. ```svelte ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/god-rays Example of how to use the GodRays component in a Svelte file. ```svelte ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/glass-slideshow Example of how to use the GlassSlideshow component in a Svelte file. ```svelte ``` -------------------------------- ### Sample output (human-readable) Source: https://motion-core.dev/docs/cli-guide/list Example of the human-readable table output for the 'motion-core list' command. ```bash › Motion Core Registry components › Motion Core Registry v0.1.0 - 28 components › Curated Motion Core Svelte components › canvas › 13 components › ASCII Renderer › A retro-styled renderer that converts images into character-based visuals with configurable scanlines. › slug: ascii-renderer › Dithered Image › An image display component that applies various ordered dithering algorithms (Bayer, Halftone, Void & Cluster). › slug: dithered-image › Install components › motion-core add glass-pane › motion-core add logo-carousel --dry-run ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/infinite-physics-gallery Example of how to use the InfinitePhysicsGallery component in a Svelte file. ```typescript ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/glass-logo Example of how to use the GlassLogo component in a Svelte file. ```typescript ``` -------------------------------- ### Install Radial Gallery Source: https://motion-core.dev/docs/radial-gallery Command to install the Radial Gallery component and its dependencies. ```bash npx @motion-core/cli add radial-gallery ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/flip-grid This is an example of how to use the FlipGrid component in a Svelte file. ```svelte
{#each images as src, i (src)} Demo {i} {/each}
``` -------------------------------- ### Install Rubiks Cube Component Source: https://motion-core.dev/docs/rubiks-cube Command to install the Rubiks Cube component and its dependencies. ```bash npx @motion-core/cli add rubiks-cube ``` -------------------------------- ### ExampleMacosDock.svelte Source: https://motion-core.dev/docs/macos-dock Example usage of the MacosDock component. ```svelte
``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/fake-3d-image Example of how to use the Fake3DImage component with its props. ```svelte ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/ascii-renderer Example of how to use the AsciiRenderer component in a Svelte file. ```svelte ``` -------------------------------- ### ExampleFluidSimulation.svelte Source: https://motion-core.dev/docs/fluid-simulation Example usage of the FluidSimulation component. ```svelte ``` -------------------------------- ### Example Source: https://motion-core.dev/docs/split-reveal SplitReveal.svelte ```svelte {#key `${mode}-${duration}-${stagger}-${delay}`} We’re using GSAP’s SplitText to break this content into lines, words, and individual characters. Experiment with staggered tweens, custom ease functions, and dynamic transforms to bring your headlines to life. {/key} ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/image-trail This is an example of how to use the ImageTrail component in a Svelte file, including its props and configuration. ```typescript ``` -------------------------------- ### ExampleHalo.svelte Source: https://motion-core.dev/docs/halo Example usage of the Halo component in a Svelte file. ```svelte ``` -------------------------------- ### ExampleFloatingMenu.svelte Source: https://motion-core.dev/docs/floating-menu Example usage of the FloatingMenu component. ```svelte

Due to the nature of the component, testing in full-screen mode is recommended.

{#snippet logo()} {/snippet}
``` ```svelte

Due to the nature of the component, testing in full-screen mode is recommended.

{#snippet logo()} {/snippet}
``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/fluid-image-reveal Example of how to use the FluidImageReveal component in a Svelte file, including setting various props. ```svelte ``` -------------------------------- ### Example Source: https://motion-core.dev/docs/flip-card-stack Content layout is fully controlled in the snippet. ```typescript
{#snippet children(item)}
{item.alt}

{item.title}

{item.description}

{/snippet}
``` -------------------------------- ### ExampleTextLoop.svelte Source: https://motion-core.dev/docs/text-loop Example usage of the TextLoop component. ```svelte

Create today

``` -------------------------------- ### ExampleSlideshow.svelte Source: https://motion-core.dev/docs/slideshow Example usage of the Slideshow component with images. ```svelte ``` -------------------------------- ### Invoke CLI Source: https://motion-core.dev/docs/cli-guide/quick-start Invoke the CLI directly using the motion-core command. ```bash motion-core --help ``` -------------------------------- ### Usage Source: https://motion-core.dev/docs/cli-guide/list Demonstrates how to list components in a human-readable table or as structured JSON. ```bash # Human-readable table grouped by category motion-core list # Structured JSON for tooling or scripts motion-core list --json ``` -------------------------------- ### Init Command Usage Source: https://motion-core.dev/docs/cli-guide/init The basic command to initialize Motion Core in a Svelte workspace. ```bash motion-core init [--dry-run] ``` ```bash motion-core init [--dry-run] ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/text-repel Example of how to use the TextRepel component in a Svelte file. ```svelte Motion reacts to the cursor with a soft field of spatial tension. ``` -------------------------------- ### Sample output (JSON) Source: https://motion-core.dev/docs/cli-guide/list Example of the JSON output for the 'motion-core list --json' command. ```json { "components": [ { "category": "canvas", "description": "A retro-styled renderer that converts images into character-based visuals with configurable scanlines.", "name": "ASCII Renderer", "slug": "ascii-renderer" }, { "category": "canvas", "description": "An image display component that applies various ordered dithering algorithms (Bayer, Halftone, Void & Cluster).", "name": "Dithered Image", "slug": "dithered-image" } ], "registry": { "components": 28, "description": "Curated Motion Core Svelte components", "name": "Motion Core Registry", "version": "0.1.0" } } ``` -------------------------------- ### Usage Example Source: https://motion-core.dev/docs/water-ripple Example of how to use the WaterRipple component in a Svelte file. ```svelte ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/neural-noise Example of how to use the NeuralNoise component in a Svelte file. ```typescript ``` -------------------------------- ### Magnetic Button Example Source: https://motion-core.dev/docs/magnetic Example usage of the Magnetic component in a Svelte file. ```svelte ``` -------------------------------- ### Usage Example Source: https://motion-core.dev/docs/pixelated-image Example of how to use the PixelatedImage component in a Svelte file. ```typescript ``` -------------------------------- ### Example Usage Source: https://motion-core.dev/docs/glitter-cloth Example of how to use the GlitterCloth component in a Svelte file. ```svelte ```