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
| Property | Type | Description | Defined in |
|---|---|---|---|
fill? | string | Optional fill color | packages/menu/src/types/Icon.ts:22 |
height | string | number | Icon height in pixels | packages/menu/src/types/Icon.ts:10 |
path | string | SVG path data string | packages/menu/src/types/Icon.ts:6 |
stroke? | string | Optional stroke color | packages/menu/src/types/Icon.ts:12 |
strokeLinecap? | string | Optional stroke line cap style | packages/menu/src/types/Icon.ts:16 |
strokeLinejoin? | string | Optional stroke line join style | packages/menu/src/types/Icon.ts:18 |
strokeWidth? | string | Optional stroke width | packages/menu/src/types/Icon.ts:14 |
viewBox? | string | Optional custom viewBox attribute | packages/menu/src/types/Icon.ts:20 |
width | string | number | Icon width in pixels | packages/menu/src/types/Icon.ts:8 |