navSection

@ExperimentalCoroutinesApi()
fun RenderContext.navSection(text: String, styling: BasicParams.() -> Unit = {}, baseClass: StyleClass = StyleClass.None, id: String? = null, prefix: String = "navsection")

This component generates a navigation section header inside the appFrame's sidebar.

Do not use this component outside of the appFrame since it's styling and responsive behaviour are built to work with the frame.

Parameters

baseClass

optional CSS class that should be applied to the element

id

the ID of the element

prefix

the prefix for the generated CSS class resulting in the form `$prefix-$hash`

styling

a lambda expression for declaring the styling as fritz2's styling DSL

text

of the section header