Twikit

Get Started Components Avatar Badge Button Carousel Checkbox Color Picker Item Context Menu Context Menu Item Icon Image Picker Item Input Input Unscoped Modal Nav Nav Group Nav Item Picker Progress Radio Radio Group Range Select Sortable Sortable Item Spinner Step Steps Tab Tab Group Textarea Toggle Tooltip CSS Framework Design Tokens Theming

Icon

Displays an icon in a certain size. To keep the bundle size of the Design System small, the icons that are made available are limited to the ones that are actually used in the applications.

Properties

Property Attribute Description Type Default
name name The name of the icon. string ""
iconStyle iconStyle The style of the icon. "solid" | "regular" | "light" | "thin" | "duotone" | "brands" "regular"
size size The size of the icon. "xs" | "s" | "m" | "l" | "xl" | "xxl" | undefined undefined
fixedWidth fixed-width Whether the icon has a fixed width. boolean false