Layouts
A list of layout components.
Overview
Hanzo Docs UI provides essential layouts to display content.
Layout Links
Navigation configurations on all layouts.
Navbar
Navbar/header configurations.
Docs Layout
The layout of documentation
Flux Layout
An aggressively minimal layout for docs
Home Layout
Shared layout for other pages
Notebook Layout
A compact version of Docs Layout
Docs Page
A page in your documentation
Root Provider
The context provider of Hanzo Docs UI.
Configurations
Each layout supports a shared set of options.
It is recommended to store these options into a file, and pass them to the layouts.
import type { BaseLayoutProps } from '@hanzo/docs/ui/layouts/shared';
export function baseOptions(): BaseLayoutProps {
return {
nav: {
title: 'My App',
},
};
}Prop
Type
How is this guide?
Last updated on
