Stack
Depth-layered mega menu with stacked cards and 3D perspective effects.
Main Features of Stack
How to Use Stack in Next.js
Installation Guide for Stack
Props
Customize the component with these props
| Property | Type | Default | Description |
|---|---|---|---|
buttonText | string | "Layers" | Button text. |
layers | Array<{level: number, title: string, description?: string}> | [] | Array of layer objects. |
backgroundColor | string | "#e0e0e0" | Background color (hex, rgb, or hsl). |
layerBgColor | string | "#ffffff" | Layer card background color. |
layerTitleColor | string | "#171717" | Layer title text color. |
