This repository was archived by the owner on Jun 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Icon
Steve Ruiz edited this page Jan 29, 2018
·
4 revisions
Icons show SVG icons from the Material Design Icons collection.
myIcon = new Icon
icon: 'star'
The name of the Icon's icon. Search Material Design Icons to find the one you want: unless it is very new there, it will be valid in Framework.
myIcon = new Icon
icon: 'settings'
myIcon.icon = 'settings'
The icon's color.
myIcon = new Icon
icon: 'settings'
color: '#FF0'
Add a new SVG icon to the collection and change to that icon. There are probably easier ways to do custom icons in Framer, but if you do choose to go down this route, know that Icon's viewBox is 0 0 512 512
.
myIcon.addIcon('left-triangle', "M 0,0 L 512,512 0,512 0,0")