Navigation Shop
Store navigation whose categories open full-width flyouts of link columns and featured tiles, laid out beside, above or captioned, and fold into a tabbed menu sheet on narrow screens.
Parts
| Part | File | Does |
|---|---|---|
| NavigationShop | NavigationShop.vue | Shows store navigation with full-width flyouts of link columns and featured tiles, laid out beside, above or captioned, plus a mobile menu. |
Styling
All of Navigation Shop’s styles live in navigation-shop.json. New to styling in Frontic UI? How styling works →
Install
- npm packages
- @lucide/vue
- @vueuse/core
- class-variance-authority
Built from
API reference
Shows store navigation with full-width flyouts of link columns and featured tiles, laid out beside, above or captioned, plus a mobile menu. Renders a <div>.
Props 9
| Prop | Type | Default | |
|---|---|---|---|
| layout | NavigationLayout | 'beside' | |
| |||
| categories* | NavigationCategory[] | — | |
| |||
| pages | NavigationLink[] | [] | |
| |||
| menuLabel | string | 'Open menu' | |
| |||
| sheetTitle | string | 'Navigation menu' | |
| |||
| featuredCta | string | 'Shop now' | |
| |||
| class | ClassValue | — | |
| |||
| open | boolean | false | |
| |||
| menu | string | '' | |
| |||
Events 2
| Event | Payload | |
|---|---|---|
| update:open | value: boolean | |
| ||
| update:menu | value: string | |
| ||
Slots 1
| Slot | Slot props | |
|---|---|---|
| mobile-footer | { close: () => void; } | |
| ||