# `PhoenixKit.Dashboard.Group`
[🔗](https://github.com/BeamLabEU/phoenix_kit/blob/v1.7.87/lib/phoenix_kit/dashboard/group.ex#L1)

Struct representing a dashboard tab group.

Groups organize tabs in the dashboard sidebar. Each group has an ID,
an optional label, and a priority for ordering.

## Fields

- `id` - Unique group identifier atom (e.g., `:admin_main`, `:shop`)
- `label` - Optional display label (nil for unlabeled groups)
- `priority` - Sort priority (lower = first, default: 100)
- `icon` - Optional heroicon name (e.g., `"hero-cube"`)
- `collapsible` - Whether the group can be collapsed in the sidebar

# `t`

```elixir
@type t() :: %PhoenixKit.Dashboard.Group{
  collapsible: boolean(),
  icon: String.t() | nil,
  id: atom(),
  label: String.t() | nil,
  priority: integer()
}
```

# `new`

```elixir
@spec new(map() | keyword()) :: t()
```

Creates a new group from a map or keyword list.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
