Sha256: 1a4c0ada7833b1eeded840e3afe9272698390d4137f1b46cb04865a60f09a824

Contents?: true

Size: 1.52 KB

Versions: 18

Compression:

Stored size: 1.52 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Folder < Base
        def solid
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            viewbox: '0 0 24 24',
            fill: 'currentColor',
            aria_hidden: 'true',
            data_slot: 'icon'
          ) do |s|
            s.path(
              d:
                'M19.5 21a3 3 0 0 0 3-3v-4.5a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3V18a3 3 0 0 0 3 3h15ZM1.5 10.146V6a3 3 0 0 1 3-3h5.379a2.25 2.25 0 0 1 1.59.659l2.122 2.121c.14.141.331.22.53.22H19.5a3 3 0 0 1 3 3v1.146A4.483 4.483 0 0 0 19.5 9h-15a4.483 4.483 0 0 0-3 1.146Z'
            )
          end
        end

        def outline
          svg(
            **attrs,
            xmlns: 'http://www.w3.org/2000/svg',
            fill: 'none',
            viewbox: '0 0 24 24',
            stroke_width: '1.5',
            stroke: 'currentColor',
            aria_hidden: 'true',
            data_slot: 'icon'
          ) do |s|
            s.path(
              stroke_linecap: 'round',
              stroke_linejoin: 'round',
              d:
                'M2.25 12.75V12A2.25 2.25 0 0 1 4.5 9.75h15A2.25 2.25 0 0 1 21.75 12v.75m-8.69-6.44-2.12-2.12a1.5 1.5 0 0 0-1.061-.44H4.5A2.25 2.25 0 0 0 2.25 6v12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18V9a2.25 2.25 0 0 0-2.25-2.25h-5.379a1.5 1.5 0 0 1-1.06-.44Z'
            )
          end
        end
      end
    end
  end
end
# rubocop:enable Layout/LineLength

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
phlex-icons-hero-1.8.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.8.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.7.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.7.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.6.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.6.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.5.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.5.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.4.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.4.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.3.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.3.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.2.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.2.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.1.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.1.0 lib/phlex/icons/hero/folder.rb
phlex-icons-1.0.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-1.0.0 lib/phlex/icons/hero/folder.rb