defmodule Liliform.Navbar do use Liliform.Component @doc """ Renders a navbar. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar(assigns) do assigns = assigns |> set_bulma_classes() ~H""" """ end @doc """ Renders a navbar-brand. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar_brand(assigns) do assigns = assigns |> set_bulma_classes() ~H"""
""" end @doc """ Renders a navbar-menu. """ attr :id, :string, required: true attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar_menu(assigns) do assigns = assigns |> set_bulma_classes() ~H""" """ end @doc """ Renders a navbar-start. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar_start(assigns) do assigns = assigns |> set_bulma_classes() ~H""" """ end @doc """ Renders a navbar-end. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar_end(assigns) do assigns = assigns |> set_bulma_classes() ~H""" """ end @doc """ Renders a navbar-item. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar_item(assigns) do assigns = assigns |> set_bulma_classes() ~H""" """ end @doc """ Renders a navbar-dropdown. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar_dropdown(assigns) do assigns = assigns |> set_bulma_classes() ~H""" """ end @doc """ Renders a navbar-link. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global slot :inner_block, required: true def navbar_link(assigns) do assigns = assigns |> set_bulma_classes() ~H""" <%= render_slot(@inner_block) %> """ end @doc """ Renders a navbar-divider. """ attr :class, :string, default: "", doc: "additional classes" attr :rest, :global def navbar_divider(assigns) do assigns = assigns |> set_bulma_classes() ~H"""