Skip to main content

DyteIcon

An icon component which accepts an svg string and renders it.

<DyteIcon icon={'people'} />

Props

icon

Icon

Type
string

iconPack

Icon pack

Default
defaultIconPack

size

Size

Default
'lg'
Type
"lg" | "md" | "sm" | "xl"

t

Language

Default
useLanguage()