TabwebLayoutOptions

data class TabwebLayoutOptions(val navigationPosition: TabwebLayoutOptions.NavigationPosition = NavigationPosition.Vertical, val containerWidth: TabwebLayoutOptions.ContainerWidth = ContainerWidth.Fluid, val sidebarMode: TabwebLayoutOptions.SidebarMode = SidebarMode.Default, val sidebarPlacement: TabwebLayoutOptions.SidebarPlacement = SidebarPlacement.Start, val navbarBehavior: NavbarBehavior = NavbarBehavior.DEFAULT, val navbarTheme: TabwebLayoutOptions.NavbarTheme = NavbarTheme.Default)

Configuration for the structural and behavioral variants of a Tabweb page shell.

The options correspond to the independent layout choices represented by the Tabweb preview pages: navigation position, content width, sidebar mode and placement, navbar behavior, and navbar theme. They are modeled as configuration rather than separate layouts because the preview variants share the same page, navigation, page-wrapper, main, and footer blocks.

This model is intentionally not consumed by com.github.jangalinski.tabweb._compose.TabwebLayout yet. It establishes the type-safe configuration boundary for a later layout implementation without changing the current layout behavior.

Parameters

navigationPosition

whether navigation is presented vertically or horizontally.

containerWidth

whether the page content uses Tabweb's fluid or boxed width.

sidebarMode

whether a vertical sidebar is expanded, folded, or folded on hover.

sidebarPlacement

which side of the page contains a vertical sidebar.

navbarBehavior

whether the navbar is in its default, sticky, or overlapping mode.

navbarTheme

whether the navbar uses its default or dark theme.

Constructors

Link copied to clipboard
constructor(navigationPosition: TabwebLayoutOptions.NavigationPosition = NavigationPosition.Vertical, containerWidth: TabwebLayoutOptions.ContainerWidth = ContainerWidth.Fluid, sidebarMode: TabwebLayoutOptions.SidebarMode = SidebarMode.Default, sidebarPlacement: TabwebLayoutOptions.SidebarPlacement = SidebarPlacement.Start, navbarBehavior: NavbarBehavior = NavbarBehavior.DEFAULT, navbarTheme: TabwebLayoutOptions.NavbarTheme = NavbarTheme.Default)

Types

Link copied to clipboard

Selects the width behavior of the page content container.

Link copied to clipboard

Selects the navbar surface theme.

Link copied to clipboard

Selects the primary navigation arrangement.

Link copied to clipboard

Selects the presentation state of a vertical sidebar.

Link copied to clipboard

Selects the side on which a vertical sidebar is rendered.