defmodule PyrauiWeb.DocsLive.DockDocs do use PyrauiWeb, :html def render(assigns) do ~H"""
Dock / Bottom Navigation component for mobile-style bottom navigation bars.
<.dock id="main-dock">
<:item icon="hero-home" label="Home" active={true} />
<:item icon="hero-user" label="Profile" />
</.dock>
| Prop | Type | Default | Description |
|---|---|---|---|
| icon | string | - | Icon name for dock item |
| active | boolean | false | Active state |