Current section
Files
Jump to
Current section
Files
lib/icons/solid_crop.ex
defmodule Boxicon.SolidCrop do
use Surface.Component
@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}"} class={"#{@class}"} viewBox="0 0 24 24"><path d="M19 7.5C19 6.121 17.879 5 16.5 5H8V2H5v3H2v3h14v14h3v-3h3v-3h-3V7.5z"/><path d="M8 10H5v6.5C5 17.879 6.121 19 7.5 19H14v-3H8v-6z"/></svg>
"""
end
end