Knit UI
GitHub

Playground

Loading playground…

Playground
<Icon
  name="activity"
  size={48}
  color="#111827"
  stroke={2}
  title="Activity"
  fallback={<div style={{ width: 48, height: 48 }} />}
/>

Examples

Sizes

Loading example…

SizesSourceStorybook

Stroke Widths

Loading example…

Stroke WidthsSourceStorybook

Colors

Loading example…

ColorsSourceStorybook

Registry Gallery

Loading example…

Registry GallerySourceStorybook

Props

PropTypeDefaultDescription
name required"number" | "function" | "ab" | "ab-2" | "abacus" | "abacus-off" | "abc" | "ab-off" | "accessible" | "accessible-filled" | "accessible-off" | "access-point" | "access-point-off" | "acorn" | "acrobatic" | "activity" | "activity-heartbeat" | "…
activity · alert-circle · arrow-up-right · bell · brand-github · calendar · camera · check · cloud · device-desktop · heart · home · mail · search · settings · star · user · wand · world · x
activityRegistry name for the icon to render.
accessibilityLabelstring | undefined
aria-hiddenboolean | "true" | "false" | undefined
aria-labelstring | undefined
childrenReactNode
classNamestring | undefined
colorstring | undefined#111827Stroke color for outline icons, fill color for filled icons. Defaults to `currentColor`.
fallbackReactNodeSuspense fallback used by the dynamic `Icon` component while a lazy icon loads.
size systemstring | number | undefined48Width and height of the rendered SVG. Defaults to `24`.
strokestring | number | undefined2Outline stroke width. Ignored by filled icons. Defaults to `2`.
strokeWidthstring | number | undefinedAlias for `stroke`; takes precedence when both are provided (mirrors native Tabler).
styleunknown
testIDstring | undefined
titlestring | undefinedActivityAccessible title. Rendered as `<title>` on web and mapped to `accessibilityLabel` on native.