Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

IconProps

Property Type Description
className? string The size, such as "size-8", and any other override.
label? string The accessible name. Left out, the icon is decoration beside text that already says what it means, and a screen reader skips it.
name IconName | LucideIcon An icon from the set by its lucide name, such as "coins" or "heart", where a typo does not compile. Or any other lucide icon, imported from lucide-react by the game itself.