Let's assume there is a point layer with three point features in it, see image below
Proceed with: RMC > Properties > Symbology > Symbol layer type: SVG Marker
.
Then go to the Dynamic SVG parameters > Edit...
, where paste the following expression:
CASE
WHEN "id" = 1 THEN 'C://TempDaten//socicon_amazon.svg'
WHEN "id" = 2 THEN 'C://TempDaten//socicon_google+.svg'
ELSE 'C://TempDaten//socicon_apple.svg'
END
and get the following result:
Above I am working with a folder C://TempDaten
where sll my SVG markers are stored.
I am on Windows 10 with QGIS 3.18.1-Zürich.