Sha256: 2d779aac72db3e248dcf3153eb19c296b6952f0fc8be23398b5a9e414436ee37

Contents?: true

Size: 1.53 KB

Versions: 25

Compression:

Stored size: 1.53 KB

Contents

# frozen_string_literal: true

# rubocop:disable Layout/LineLength
module Phlex
  module Icons
    module Hero
      class Folder < Base
        def solid
          svg(
            class: classes,
            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(
            class: classes,
            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

25 entries across 25 versions & 2 rubygems

Version Path
phlex-icons-0.17.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.17.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.16.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.16.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.15.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.15.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.14.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.14.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.13.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.13.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.12.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.12.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.11.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.11.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.10.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.9.0 lib/phlex/icons/hero/folder.rb
phlex-icons-hero-0.9.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.8.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.7.0 lib/phlex/icons/hero/folder.rb
phlex-icons-0.6.0 lib/phlex/icons/hero/folder.rb