Emoji
Renders an emoji, including Alan's own ones on top of the standard set.
Health
Source
Design
Storybook
Accessibility
compliant
Platform
Mobile
📱 Mobile-only
This component is only for mobile. To see how it looks like you can check the mobile storybook with:
yarn workspace alan-mobile dev:install-client -p ios
yarn workspace alan-mobile dev:storybook
- Overview
- Props
- Figma
info
Mobile components cannot be previewed in the browser. Use Storybook mobile or run the app locally to test.
Sizes
Library
On top of regular emojis, this component also support custom Marmot expression and Emojicons:
Playground
Loading...
Accessibility
Emojis are decorative images. Please ensure you are using it with a text or in a labelled interactive element. The context of the emoji usage must be understandable without the emoji.
Don't Do
More details about decorative images in the dedicated section: Decorative images.
Emoji props
| Name | Type | Default Value | Description | Usage count |
|---|---|---|---|---|
| size | IconSizeundefined | size48 | ||
| style | 6 possibilitiesundefinednullfalse""EmojiStyleRecursiveArray<Falsy | EmojiStyle> | |||
| visual* | string |