### 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
Due to the nature of the component, testing in full-screen mode is recommended.
Due to the nature of the component, testing in full-screen mode is recommended.
{item.description}
Create