Installation
Install the component
Run the following command to install the component and its dependencies:
npx @motion-core/cli add radial-galleryImport the component
Import the component into your Svelte file:
import { RadialGallery } from "$lib/motion-core";import { RadialGallery } from "$lib/motion-core";Usage
Props
RadialGallery
| Prop | Type | Default |
|---|---|---|
items | T[] | — |
children | Snippet<[T, number]> | — |
radius | number | 600 |
duration | number | 20 |
reversed | boolean | false |
offset | number | 0 |
gap | number | 0 |
elementSize | number | 100 |
class | string | — |







