Vertical Nav Section

Renders a section within a sidebar or drawer that contains one or more items which are not navigation links.

Read more Read less

To render navigation links, use vertical_nav/1 instead.

Usage

<.vertical_nav_section>
  <:title>Search</:title>
  <:item><input type="search" placeholder="Search" /></:item>
</.vertical_nav_section>
Search
Attribute Type Documentation Default Value
class :any Any additional classes to be added. Variations of the component should be expressed via modifier attributes, and it is preferable to use styles on the parent container to arrange components on the page, but if you have to, you can use this attribute to pass additional utility classes to the component. The value can be a string or a list of strings. []
Required id * :string
rest :global Any additional HTML attributes.
Required item * :slot Items
<:item><input type="search" placeholder="Search" /></:item>
title :slot An optional slot for the title of the section.
<:title>Search</:title>