Menu Component
Table of Contents
Usage
Irure dolore veniam est velit duis aute ad. Magna duis culpa consequat deserunt velit enim Lorem. Ut eiusmod veniam ex sint duis irure occaecat consequat consectetur. Qui magna qui aliquip culpa in ad. Id excepteur Lorem quis quis excepteur eiusmod aute culpa ipsum excepteur ullamco ex. Dolore sunt anim commodo enim aliqua culpa cupidatat adipisicing enim. Consequat labore ullamco culpa cillum laboris minim velit veniam id cupidatat.
Menu
Content loaded in an iFrame
Open in new tab
<script>
import {
Content,
Section,
Header,
HeaderLeft,
HeaderLogo,
Menu,
MenuSection,
MenuItem,
} from "$lib/components";
import { ApertureIcon } from "svelte-feather-icons";
</script>
<Header isSticky>
<HeaderLeft>
<HeaderLogo>
<ApertureIcon size="32" />
</HeaderLogo>
</HeaderLeft>
</Header>
<div class="wrapper">
<Menu>
<MenuSection label="Section 1">
<MenuItem label="Item 1.1" href="" />
<MenuItem label="Item 1.2 with Tag" href="" tag="Tag" />
</MenuSection>
<MenuSection label="Section 2">
<MenuItem label="Item 2.1 disabled" href="" disabled />
</MenuSection>
</Menu>
<Content>
<Section>Content</Section>
</Content>
</div>