Layouts
A list of layout components.
Overview
Hexta Docs 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 Hexta Docs.
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 'hexta-ui/layouts/shared';
export function baseOptions(): BaseLayoutProps {
return {
nav: {
title: 'My App',
},
};
}See detailed docs for links and nav options.
Prop
Type
How is this guide?