Skip to content

Type Editor


Type Editor / @type-editor/menu / types/Icon / SvgIcon

Interface: SvgIcon

Defined in: packages/menu/src/types/Icon.ts:4

Represents an SVG-based icon with path data and dimensions.

Properties

PropertyTypeDescriptionDefined in
fill?stringOptional fill colorpackages/menu/src/types/Icon.ts:22
heightstring | numberIcon height in pixelspackages/menu/src/types/Icon.ts:10
pathstringSVG path data stringpackages/menu/src/types/Icon.ts:6
stroke?stringOptional stroke colorpackages/menu/src/types/Icon.ts:12
strokeLinecap?stringOptional stroke line cap stylepackages/menu/src/types/Icon.ts:16
strokeLinejoin?stringOptional stroke line join stylepackages/menu/src/types/Icon.ts:18
strokeWidth?stringOptional stroke widthpackages/menu/src/types/Icon.ts:14
viewBox?stringOptional custom viewBox attributepackages/menu/src/types/Icon.ts:20
widthstring | numberIcon width in pixelspackages/menu/src/types/Icon.ts:8