Installation
Package Manager
Install MotionRail using your preferred package manager:
bash
npm install motionrailbash
pnpm add motionrailbash
yarn add motionrailbash
bun add motionrailCDN
You can also use MotionRail via CDN:
html
<!-- ES Module -->
<script type="module">
import { MotionRail } from "https://esm.sh/motionrail";
</script>
<!-- UMD (for older browsers) -->
<script src="https://unpkg.com/motionrail@latest/main/dist/motionrail.umd.js"></script>
<link
rel="stylesheet"
href="https://unpkg.com/motionrail@latest/main/dist/style.css"
/>Next Steps
- Quick Start - Get started with a basic example
- Configuration - Learn about all available options
- Framework Integrations - Use with your framework