Logo

Sierra-95/svelte-ui

Layout Menu

Layout Menu

The layout menu is a prebuilt interface with a header, a menu, and an application entry point. It’s designed to save developers time on setup so they can focus on real development work.

Getting Started

Define a sections file. The contents will be mapped to the Layout Menu.

  1. Labels are used to classify routes that fall under a category. Leave empty if a route is independent
  2. A hr is automatically added after category name if label is included.
  3. The prefered icons are from https://fontawesome.com/ as they work well with Themes.
javascript
Loading...

Import the sections file and layout component in a +layout.svelte file.

svelte
Loading...

And thats it!

More header content ?

The header can carry much more content, including searchbars, theme switchers, and more.

svelte
Loading...