defmodule SigmaKit.Components.Containers do use Phoenix.LiveComponent import SigmaKit.Components.Flair, only: [loader: 1] attr :shadow, :boolean, default: true, doc: "When true uses a shadow for emphasis" attr :title, :string, default: nil, doc: "The title of the container" attr :class, :any, default: "", doc: "Additional classes to apply to the container" attr :fill, :boolean, default: false, doc: "When true the box will flex to the container" slot :action_bar, doc: "A slot for action buttons" slot :inner_block, doc: "The main content of the container" slot :footer, doc: "Content for a bottom section" def box(assigns) do ~H"""