Class: Phlex::Icons::Iconoir::Calendar

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex/icons/iconoir/icons/calendar.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Constructor Details

This class inherits a constructor from Phlex::Icons::Iconoir::Base

Instance Method Details

#regularObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/phlex/icons/iconoir/icons/calendar.rb', line 2

def regular
  svg(
    class: @class,
    width: @width,
    height: @height,
    stroke_width: @stroke_width,
    viewbox: "0 0 24 24",
    fill: "none",
    xmlns: "http://www.w3.org/2000/svg"
  ) do |s|
    s.path(
      d:
        "M15 4V2M15 4V6M15 4H10.5M3 10V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V10H3Z",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d: "M3 10V6C3 4.89543 3.89543 4 5 4H7",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d: "M7 2V6",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
    s.path(
      d: "M21 10V6C21 4.89543 20.1046 4 19 4H18.5",
      stroke: "currentColor",
      stroke_linecap: "round",
      stroke_linejoin: "round"
    )
  end
end