Current section
Files
Jump to
Current section
Files
lib/icons/regular_filter.ex
defmodule Boxicon.RegularFilter do
use Surface.Component
@doc "Name as described in https://boxicons.com/"
prop name, :string, required: true
@doc "Width & height of the icon"
prop size, :integer, default: 24
@doc "CSS classes for the wrapping svg element"
prop class, :string, default: ""
@impl true
def render(assigns) do
~F"""
<svg xmlns="http://www.w3.org/2000/svg" width={"#{@size}"} height={"#{@size}"} viewBox="0 0 24 24"><path d="M7 11h10v2H7zM4 7h16v2H4zm6 8h4v2h-4z"/></svg>
"""
end
end