
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
react-native-emojis-picker
Advanced tools
A simple emoji picker for React Native and Expo. It's built with TypeScript and uses Reanimated 2 for smooth animations.
It's built with TypeScript and uses Reanimated 2 for smooth animations
| light theme | dark theme |
|---|---|
![]() | ![]() |
npm install react-native-emojis-picker
This library needs react-native-reanimated to be installed in your project before you can use it:
npm install react-native-reanimated@3.6.2
Add react-native-reanimated/plugin plugin to your babel.config.js.
module.exports = {
presets: [
... // don't add it here :)
],
plugins: [
...
'react-native-reanimated/plugin',
],
};
wrap the whole app in EmojiProvider
import { EmojiProvider } from "react-native-emojis-picker";
export default function App() {
return <EmojiProvider>//rest your app</EmojiProvider>;
}
simple emoji component
import { Button, StyleSheet, Text, View } from "react-native";
import { useState } from "react";
import { EmojiModal } from "react-native-emojis-picker";
export default function EmojiComponent() {
const [showModal, setShowModal] = useState(false);
const [emoji, setEmoji] = useState("");
return (
<View style={styles.container}>
<Text style={{ fontSize: 100 }}>{emoji}</Text>
<Button
title="Show Emojis Modal 😁"
onPress={() => {
setShowModal(true);
}}
/>
{showModal && (
<EmojiModal
onPressOutside={() => setShowModal(false)}
onEmojiSelected={(emoji) => {
setShowModal(false);
setEmoji(emoji);
}}
/>
)}
</View>
);
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: "#fff",
alignItems: "center",
justifyContent: "center",
},
});
now import the component we just created into App.tsx
import { EmojiProvider } from "react-native-emojis-picker";
import EmojiComponent from "./components/emoji";
export default function App() {
return (
<EmojiProvider>
<EmojiComponent />
</EmojiProvider>
);
}
EmojiModal Props| Property | Type | Default | description |
|---|---|---|---|
| intensityBlur | number | 20 | the intensity of the backgroud blur |
| columns | number | 10 | number of columns |
| onEmojiSelected | function | undefined | function fire when emoji selected and return the selected emoji |
| onPressOutside | function | undefined | function fire when the user press outside the modal |
| position | "top" or "bottom" or "center" | "center" | position of the modal |
| autoFocusSearch | boolean | false | auto focus the search textbox |
| darkMode | boolean | false | theme of the modal |
| categories | Key[] | All categories | only categories these are shown in the modal such as ( "Smileys & Emotion" "Activities" "Animals & Nature" "Flags" "Food & Drink" "Objects" "People & Body" "Symbols" "Travel & Places") |
Majed Al-Otaibi, Majed@skiff.com
react-native-emojis-picker is available under the MIT license. See the LICENSE file for more info
FAQs
A simple emoji picker for React Native and Expo. It's built with TypeScript and uses Reanimated 2 for smooth animations.
The npm package react-native-emojis-picker receives a total of 7 weekly downloads. As such, react-native-emojis-picker popularity was classified as not popular.
We found that react-native-emojis-picker 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.