Navigation Menu

Top-level navigation with optional nested groups.

Examples

Installation

Install the package, then import only the components a route uses. Exports are tree-shakable.

Install
pnpm add fractalsvelte
Import
<script lang="ts">
	import { NavigationMenu } from 'fractalsvelte';
</script>

Usage

Usage
<script lang="ts">
	import { NavigationMenu } from 'fractalsvelte';
</script>

<NavigationMenu items={items} />

Props

PropTypeDefaultDescription
itemsItem[]-The list of items to render.