Socket
Socket
Sign inDemoInstall

@emoji-mart/react

Package Overview
Dependencies
2
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emoji-mart/react


Version published
Maintainers
1
Install size
6.94 kB
Created

Package description

What is @emoji-mart/react?

@emoji-mart/react is a comprehensive emoji picker component for React applications. It provides a customizable and easy-to-use interface for selecting emojis, supporting various categories, skin tones, and search functionalities.

What are @emoji-mart/react's main functionalities?

Emoji Picker

The basic emoji picker component allows users to select emojis. The selected emoji is logged to the console in this example.

import { Picker } from '@emoji-mart/react';

function App() {
  return <Picker onEmojiSelect={console.log} />;
}

Customizable Emoji Picker

The emoji picker can be customized with different themes, such as 'dark' mode, to better fit the application's design.

import { Picker } from '@emoji-mart/react';

function App() {
  return <Picker theme="dark" onEmojiSelect={console.log} />;
}

Search Functionality

The emoji picker includes a search bar to allow users to quickly find specific emojis.

import { Picker } from '@emoji-mart/react';

function App() {
  return <Picker onEmojiSelect={console.log} showSearch={true} />;
}

Skin Tone Selector

The emoji picker supports selecting different skin tones for applicable emojis.

import { Picker } from '@emoji-mart/react';

function App() {
  return <Picker onEmojiSelect={console.log} showSkinTones={true} />;
}

Other packages similar to @emoji-mart/react

Readme

Source

@emoji-mart/react

A React wrapper for EmojiMart.

🧑‍💻 Usage

npm install --save emoji-mart @emoji-mart/data @emoji-mart/react
import data from '@emoji-mart/data'
import Picker from '@emoji-mart/react'

function App() {
  return (
    <Picker data={data} onEmojiSelect={console.log} />
  )
}

📚 Documentation

See https://github.com/missive/emoji-mart#react

FAQs

Last updated on 02 Jan 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc