An animated full-screen navigation overlay with staggered background layer reveals, masked link animations, and built-in themes. Built with motion/react and Tailwind CSS.
$ npx shadcn@latest add https://akshitr.com/r/full-screen-nav.json
import { FullScreenNav } from "@/components/full-screen-nav";
export default function FullScreenNavDemo() {
return <FullScreenNav />;
}| Prop | Type | Default | Description |
|---|---|---|---|
| logo? | React.ReactNode | logo | Content rendered in the top-left of the nav bar. Accepts a string, an image, or any React element. |
| socials? | NavLink[] | - | Secondary links rendered in the right column. On mobile these wrap into a horizontal row. Hidden when empty. |
| legal? | NavLink[] | - | Small links rendered below socials. Hidden on mobile. Hidden when empty. |
| primaryLinks? | NavLink[] | - | Large typographic links rendered in the left column of the overlay. Each item requires a label and href. |
| theme? | NavTheme | aurora | Controls the background layer colors, panel color, link color, and muted color. |
| className? | string | - | Additional classes applied to the sticky nav bar element. Useful for adjusting position or blending with your page header |
| layersType? | LayersType | normal | Controls the background layer blend mode |
NavLinkinterface NavLink {
label: string;
href: string;
}NavThemetype NavTheme =
| "ice-mint"
| "aurora"
| "sunset"
| "slate-fog"
| "indigo-dust"
| "graphite-violet"
| "ember"
| "rose-quartz"
| "forest"
| "paper"
| "chalk"
| "deep-ocean"
| "neural"
| "grape-night"
| "peach-glow"
| "electric-lime"
| "desert-gold"
| "mono-fade"
| "toxic";LayersTypetype LayersType = "blend" | "fade" | "normal";