Skip to content
Back to skills

Motion

ASecurity

Animation wrapper components using Framer Motion for staggered group animations. Provides MotionGroup (parent) and MotionItem (child) with pre-configured variants.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aireactnode

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add reaviz/skills --skill motion --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Motion?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Motion
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/reaviz-motion/badge)](https://www.skillsdirectory.com/skills/reaviz-motion)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Motion

Animation wrapper components using Framer Motion for staggered group animations. Provides MotionGroup (parent) and MotionItem (child) with pre-configured variants.

## Import

```tsx
import { MotionGroup, MotionItem } from 'reablocks';
```

## MotionGroup

Container that staggers children animations.

### MotionGroup Props

Extends Framer Motion `HTMLMotionProps<'div'>`, plus:

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `children` | `ReactNode` | — | MotionItem children |

Pre-configured variants: stagger children 0.07s delay, 0.2s initial delay.

## MotionItem

Individual animated item within a MotionGroup.

### MotionItem Props

Extends Framer Motion `HTMLMotionProps<'div'>`, plus:

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `direction` | `'horizontal' \| 'vertical'` | `'vertical'` | Animation direction |
| `children` | `ReactNode` | — | Content |

- **vertical**: Animates y: -20→0 with opacity 0→1
- **horizontal**: Animates x: -100%→0% with opacity 0→1

## Basic Usage

```tsx
<MotionGroup>
  <MotionItem>First item</MotionItem>
  <MotionItem>Second item (staggered)</MotionItem>
  <MotionItem>Third item (staggered)</MotionItem>
</MotionGroup>
```

## Horizontal Animation

```tsx
<MotionGroup>
  <MotionItem direction="horizontal">Slides in from left</MotionItem>
</MotionGroup>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.