defmodule PrimerLive.UIIcons do
@moduledoc """
Interface icons that are not part of the Octicons set.
"""
use Phoenix.Component
@doc """
Internal use: generates a map of SVG's.
To use the `PrimerLive.Component.ui_icon/1` component, write:
```
<.ui_icon name="icon-name" />
```
## All UI icons
```
<.ui_icon name="single-select-16" />
<.ui_icon name="multiple-select-16" />
<.ui_icon name="collapse-16" />
```
"""
attr(:rest, :global,
doc: """
Additional HTML attributes added to the svg element.
"""
)
def ui_icons(assigns) do
%{
"single-select-16" => ~H"""
""",
"multiple-select-16" => ~H"""
""",
"collapse-16" => ~H"""
"""
}
end
end