# Before and After Components, Reinvented

> New takes on the before and after for React: before and after section and video comparison grid. Each has a live preview and a shadcn install command.

Live page: https://keyframeui.com/patterns/comparison

## New takes on it

- [Noise Gate](https://keyframeui.com/components/noise-gate.md) (Before and After Section): Noisy alerts drift under a calm panel. Install: `npx shadcn@latest add @keyframeui/noise-gate-demo`
- [Sync Grid](https://keyframeui.com/components/sync-grid.md) (Video Comparison Grid): Scrub one video and the others follow to that frame. Install: `npx shadcn@latest add @keyframeui/sync-grid-demo`

## Can stand in for one

- [Paint Reveal](https://keyframeui.com/components/paint-reveal.md) (Hover Image Reveal): Not a before and after at heart, but it can stand in for one: the pointer paints a second photo through the first. Install: `npx shadcn@latest add @keyframeui/paint-reveal-demo`
- [Xray Lens](https://keyframeui.com/components/xray-lens.md) (Hover Reveal Magnifier): Not a before and after at heart, but it can stand in for one: a loupe peels the UI back to the data underneath. Install: `npx shadcn@latest add @keyframeui/xray-lens-demo`
