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.
- Labels are used to classify routes that fall under a category. Leave empty if a route is independent
- A hr is automatically added after category name if label is included.
- 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...