# Directional Slide In

https://fieldbook.lizardi.mx/components/directional-slide-in

Category: Animation
![Still of the Directional Slide In component, a Fieldbook UI component in Animation.](https://fieldbook.lizardi.mx/thumbs/directional-slide-in.webp)
Preview video: https://ejpqcxcjbiyabxkx.public.blob.vercel-storage.com/previews/directional-slide-in-5092550447.mp4 (5 s, silent)

Directional Slide In: A reveal that pushes content in from any of the four sides by a set distance and lets a spring absorb the arrival.

## Frameworks

react, vue, svelte, astro, html

## Preview controls

These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.

| Name | Type | Default | Options or constraints |
| --- | --- | --- | --- |
| direction | select | up | Options: up, down, left, right |
| offset | number | 100 | From 8 to 300; step 4 |
| delay | number | 0 | From 0 to 1000; step 50 |
| stagger | number | 100 | From 0 to 400; step 10 |
| accent | color | #FF4D8D | No additional limit in the metadata. |

## Usage notes

Directional Slide In uses the card preview frame with a light/dark theme setting.

### Which frameworks are available for Directional Slide In?

Directional Slide In is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.

### What does Directional Slide In depend on?

The React metadata lists these npm dependencies beyond React: motion.

### What accessibility details are visible in Directional Slide In?

The React source for Directional Slide In includes: The source scan found no explicit native form/navigation elements, ARIA attributes or keyboard handlers in index.tsx. These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.

### How does Directional Slide In handle reduced motion?

Directional Slide In reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduced ? REST : (trigger === "view" &amp;&amp; !revealed) ? away : REST; reduced ? \{ duration: 0 \} : \{ ...SPRING, delay: delay / 1000 \}; reduced \|\| shouldReveal ? REST : away. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.

## Install through MCP

Connect your client, call get_component to retrieve the implementation, then get_install_command for installation instructions. Choose a listed framework, integrate the returned source and verify it in your application.

```json
{
  "tool": "get_component",
  "arguments": {
    "slug": "directional-slide-in",
    "framework": "react"
  }
}
```

[For agents](https://fieldbook.lizardi.mx/docs/agents)
[MCP](https://fieldbook.lizardi.mx/api/mcp)

## Related open components

- [Composable Reveal](https://fieldbook.lizardi.mx/components/composable-reveal)
- [Burst particle emitter](https://fieldbook.lizardi.mx/components/burst-particle-emitter)
- [Orbiting Avatar Intro](https://fieldbook.lizardi.mx/components/orbiting-avatar-intro)
- [Spring easing toggle](https://fieldbook.lizardi.mx/components/spring-easing-toggle)
- [Tile reveal swap](https://fieldbook.lizardi.mx/components/tile-reveal-swap)
- [Archetype morph shape](https://fieldbook.lizardi.mx/components/archetype-morph-shape)
