
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
react-emoji-search
Advanced tools
facebook, apple, google and twitterlight and dark mode
npm install react-emoji-search
import React from "react";
import { EmojiPicker, Emoji } from "react-emoji-search";
<EmojiPicker set="apple" />
<EmojiPicker set="apple" emojiSize={24} emojiSpacing={8}/>
<EmojiPicker emojiVersion={12.0}/>
<EmojiPicker onEmojiClick={(emoji) => setEmoji(emoji)} />
<EmojiPicker
styles={{
backgroundColor: "#2e4960",
indicatorColor: "#b04c2d",
fontColor: "lightgrey",
searchBackgroundColor: "#263d51",
tabsFontColor: "#8cdce4",
searchFontColor: "lightgrey",
skinTonePickerBackgroundColor: "#284155",
}}
/>
| Name | Type | Default | Description |
|---|---|---|---|
| set | string | apple | Emoji icon set: apple,facebook,twitter,google, native |
| emojiSize | number | 32 | Emojis size for the picker |
| sheetSize | string | 64 | The emoji sheet sizes are: 32,64 |
| emojiSpacing | number | 12 | Gap between emojis |
| emojiVersion | number | 12.1 | version of the emoji list |
| quality | string | clean | quality of the spreadsheet; 128,256,clean |
| mode | string | dark | Switch between dark and light |
| onEmojiClick | Function | undefined | Returns the native emoji |
| tabsVariant | string | default | Set to fullWidth or default |
| styles | Object | undefined | Customize the picker elements such as indicator color, background color and fonts |
You can make the picker adjust to your needs with the following props:
// styles
{
backgroundColor: "...",
indicatorColor: "...",
fontColor: "...",
tabsFontColor: "...",
searchFontColor: "...",
variationPickerBackgroundColor: "...",
}
The sprite sheets comes from jsDelivr thanks to emoji-datasource package.
You can check the used sprite sheets through these links:
Get emoji from native. This component will attempt to find the emoji and render from the specified set. If not found it will render interrogation emoji (❓).
import React from "react";
import { Emoji } from "react-emoji-search";
<Emoji unicode="✌🏽" />
<Emoji unicode="🥸" set="facebook" size={24} />
<Emoji unicode="👀" set="twitter" quality="256" />
| Name | Type | Default | Description |
|---|---|---|---|
| unicode | string | Native emoji | |
| size | number | 32 | Width and height of the emoji |
| set | string | apple | Emoji icon set: apple,facebook,twitter,google, native |
| quality | string | clean | quality of the spreadsheet; 128,256,clean |
When you set styles, it will override dark and light mode colors
FAQs
Whatsapp like emoji picker
We found that react-emoji-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.