Add Icon Symbols using SF Symbols on iOS and Material Symbols on Android on Image #1513
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add new property called
Symbol
to the Image component. Users can fill with string symbol name that will be rendered become image icon.The Symbol Mapping feature provides a comprehensive cross-platform mapping system between iOS SF Symbols and Android Material Design Icons. This allows developers to use consistent iconography across both platforms while maintaining native look and feel.
Symbol Naming Convention
Symbols follow iOS SF Symbol naming conventions:
arrow.left
,person.circle
.fill
:heart.fill
,star.fill
.circle
:info.circle
,plus.circle
.badge
:bell.badge
,envelope.badge
Basic Usage
In UX Markup
Symbol Categories
Core Actions & Navigation
plus
,minus
,trash
,edit
,search
,share
arrow.left
,arrow.right
,chevron.up
,chevron.down
play
,pause
,stop
,volume.up
,volume.down
Communication & Social
message
,envelope
,bubble.left
,phone
person
,person.2
,heart
,star
,thumbsup
video
,facetime
,shareplay
Status & Indicators
info.circle
,warning.triangle
,error.circle
checkmark
,xmark
,hourglass
,timer
bell
,bell.slash
,flame
Business & Professional
briefcase
,folder
,doc
,signature
dollarsign.circle
,creditcard
,chart.bar
scale
,building.columns
,seal
Health & Medical
heart.text.square
,cross.case
,stethoscope
figure.run
,dumbbell
,figure.yoga
pills
,syringe
,thermometer
Technology & Development
iphone
,laptop
,desktop
,applewatch
wifi
,bluetooth
,antenna
code
,terminal
,function
,atom
Transportation & Travel
car
,airplane
,bicycle
,train
suitcase
,map
,location
,compass
house
,building
,hotel
,restaurant
Entertainment & Media
gamecontroller
,dice
,trophy
music.note
,guitar
,speaker
camera
,photo
,video
Weather & Environment
sun.max
,cloud
,rain
,snow
leaf
,tree
,drop
,wind
thermometer
,humidity
,hurricane
Shopping & Commerce
cart
,bag
,basket
,storefront
creditcard
,banknote
,receipt
tag
,percent
,building.2
Home & Living
sofa
,chair
,bed.double
refrigerator
,oven
,washer
air.conditioner
,heater
,lightbulb
Sports & Recreation
football
,basketball
,tennis.racket
figure.skiing
,figure.swimming
,bicycle
trophy
,medal
,crown
Education & Science
book
,graduationcap
,studentdesk
atom
,flask
,microscope
function
,calculator
,chart.pie
Security & Privacy
lock
,key
,shield
,eye
touchid
,faceid
,qrcode
hand.raised
,eye.slash
,lock.shield
Symbol Variants
Fill Variants
Many symbols support fill variants for different visual styles:
Circle Variants
Some symbols include circle background variants:
Badge Variants
Symbols with notification badges or indicators:
Complete Symbol List
The mapping includes over 1,000 symbols across these categories:
This PR contains: