Knit UI
GitHub

Playground

Loading playground…

Playground
<Emoji
  name="grinning-face"
  size={64}
  title="Grinning face"
  fallback={<div style={{ width: 64, height: 64 }} />}
/>

Examples

Sizes

Loading example…

SizesSourceStorybook

Sampler

Loading example…

SamplerSourceStorybook

Registry Gallery

Loading example…

Registry GallerySourceStorybook

Props

PropTypeDefaultDescription
name required"0" | "1" | "1st-place-medal" | "2" | "2nd-place-medal" | "3" | "3rd-place-medal" | "4" | "5" | "6" | "7" | "8" | "9" | "a-button-blood-type" | "ab-button-blood-type" | "abacus" | "accordion" | "adhesive-bandage" | "admission-tickets" | "ae…
grinning-face · smiling-face-with-heart-eyes · face-with-tears-of-joy · winking-face · thinking-face · smiling-face-with-sunglasses · red-heart · fire · sparkles · party-popper · rocket · thumbs-up · clapping-hands · folded-hands · rainbow · sun · star · hundred-points · pizza · birthday-cake
grinning-faceRegistry name for the emoji to render.
accessibilityLabelstring | undefined
aria-hiddenboolean | "true" | "false" | undefined
aria-labelstring | undefined
classNamestring | undefined
fallbackReactNodeSuspense fallback used by the dynamic `Emoji` component while a lazy emoji loads.
size systemstring | number | undefined64Width and height of the rendered emoji. Defaults to `24`.
styleunknown
testIDstring | undefined
titlestring | undefinedGrinning faceAccessible label. Maps to `aria-label` (web) / `accessibilityLabel` (native).