# Vertical Theme Wipe Toggle

> VerticalThemeWipeToggle — Top/Bottom Reveal Animated Theme Switch  A modern React theme toggle button offering a visually dramatic full-page transition using the View Transitions API. Seamlessly reveal your dark or light mode with a vertical wipe animation that moves from either the top or bottom of the screen, creating a cinematic experience for users. No theme context or extra dependencies needed—this pure DOM implementation plugs into any Tailwind or Framer Motion app with ease.  Features:  Directional vertical animation: top→bottom or bottom→top with a simple prop  Hardware-accelerated, native-page transitions (View Transitions API)  Compatible with React, Tailwind CSS, and motion UI  No next-themes or global context required—just DOM and localStorage  Accessible, fast, and flicker-free  Easily extendable for line/diagonal/horizontal effects  Use Cases: Perfect for dashboards, admin panels, landing pages, or any web app wanting a premium-feeling, full-screen theme swap effect.

- Author: [Arunachalam](https://21st.dev/@arunachalam)
- License: unknown
- npm dependencies: lucide-react, framer-motion
- Live preview: https://21st.dev/@arunachalam/components/vertical-theme-wipe-toggle

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/arunachalam/vertical-theme-wipe-toggle?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
