# Motion Scroll Driven Css

Pure css scroll driven animations fade in on scroll.

- id: `motion-scroll-driven-css`
- Page: https://agentic-ui-kit.com/components/motion-scroll-driven-css
- Live preview: https://agentic-ui-kit.com/live/component/motion-scroll-driven-css?piece=motion-scroll-driven-css

## Install

```bash
agentic-ui add motion-scroll-driven-css
npx shadcn@4.17.0 add @agentic-ui/motion-scroll-driven-css
```

## Metadata

- **Level:** block
- **Category:** motion
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** css-animation-timeline, fade-in-recipe, reveal-wipe-recipe, parallax-recipe, progress-bar-recipe, custom-range, supports-fallback, no-javascript-animation, reduced-motion-fallback
- **Intents:** communicate
- **Suits domains:** marketing, saas, media, knowledge
- **Interaction:** scroll
- **Screen role:** overview
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** pure css scroll driven animations fade in on scroll, animation-timeline view() reveal and parallax recipes, css scroll progress bar with no javascript, scroll-driven animation with a fallback for browsers without support
- **Avoid when:** The animation must also run in every browser (use motion-reveal-on-scroll, which falls back to an observer), Values must be read in JavaScript (use motion-scroll-tracing-beam or motion-scroll-expand), A pinned or multi-step scroll story is wanted (use motion-scrollytelling-section), Enterprise personality, where the scroll group is not allowed (the final state is shown)
- **Preserve when adapting:** supports-guard, final-state-fallback, validated-range, aria-hidden-bar
- **Replace when adapting:** recipe, range, shift, source, children
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **npm dependencies:** @agentic-ui/motion, @agentic-ui/tokens, react
- **Motion:** profile subtle, library css, reduced-motion fallback yes, target 60 fps
- **Registry dependencies:** lib-motion
