defmodule PyrauiWeb.DocsLive.DockDocs do use PyrauiWeb, :html def render(assigns) do ~H"""

Dock

Dock / Bottom Navigation component for mobile-style bottom navigation bars.

Basic Dock

<:item icon="hero-home" label="Home" active={true} /> <:item icon="hero-user" label="Profile" /> <:item icon="hero-bell" label="Notifications" /> <:item icon="hero-cog-6-tooth" label="Settings" />

              <.dock id="main-dock">
                <:item icon="hero-home" label="Home" active={true} />
                <:item icon="hero-user" label="Profile" />
              </.dock>
            

Props

Prop Type Default Description
icon string - Icon name for dock item
active boolean false Active state
""" end end