Skip to content

SushiIcon

A composable component that displays an icon from the Sushi design system.

SushiIcon renders icons from the Wasabi icon font based on the provided properties. It supports customization of size, color, and click interactions.

Icon Preview

Example

The SushiIcon component is used to display an icon from the Sushi design system.

SushiIcon(
    SushiIconProps(
        code = SushiIconCodes.IconMStarfilled,
        size = SushiIconSize.Size900
    )
)

Component API

SushiIcon

Parameter Description
code
The SushiIconCode representing the specific icon to display
size
The size specification for the icon
color
The color specification for the icon
parsedIcon
The parsed Unicode character derived from the icon code