Learn R Programming

cardargus (version 0.2.1)

icon_house: House Icon SVG

Description

Generate a house/home icon SVG. You can also use any SVG file path instead of built-in icons.

Usage

icon_house(
  width = 50,
  height = 56,
  stroke_color = "white",
  stroke_width = 35,
  fill = "none"
)

Value

SVG string

Arguments

width

Width of the icon

height

Height of the icon

stroke_color

Stroke color

stroke_width

Stroke width

fill

Fill color (default none)

Examples

Run this code
icon_house(50, 56)

# You can also use a custom SVG file:
# svg_card(..., with_icon = "/path/to/my_icon.svg")

Run the code above in your browser using DataLab