Skip to content

Commit

Permalink
feat(icon): ellipsis icons
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Aug 22, 2024
1 parent 77c8eb2 commit 1e200ff
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions components/icons/outline.go
Original file line number Diff line number Diff line change
Expand Up @@ -683,3 +683,47 @@ func ArrowDownOnSquareOutline(p IconProps) htmx.Node {
),
)
}

// EllipsisHorizontalOutline ...
func EllipsisHorizontalOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
"w-6 h-6": true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"),
),
)
}

// EllipsisVerticalOutline ...
func EllipsisVerticalOutline(p IconProps) htmx.Node {
return htmx.SVG(
htmx.Attribute("xmlns", "http://www.w3.org/2000/svg"),
htmx.Attribute("fill", "none"),
htmx.Attribute("viewBox", "0 0 24 24"),
htmx.Attribute("stroke-width", "1.5"),
htmx.Attribute("stroke", "currentColor"),
htmx.Merge(
htmx.ClassNames{
"w-6 h-6": true,
},
p.ClassNames,
),
htmx.Path(
htmx.Attribute("stroke-linecap", "round"),
htmx.Attribute("stroke-linejoin", "round"),
htmx.Attribute("d", "M12 6.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 12.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5ZM12 18.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5Z"),
),
)
}

0 comments on commit 1e200ff

Please sign in to comment.