defmodule SigmaKit.Components.Headers do use Phoenix.LiveComponent import SigmaKit.Components.Icons, only: [icon: 1] attr :title, :string, required: true attr :subtitle, :string, default: nil attr :identity, :string, default: nil slot :action attr :tag, :string attr :tag_style, :atom, values: [:success, :danger, :info], default: :info slot :breadcrumb do attr :label, :string attr :to, :any end def page_header(assigns) do ~H"""