How to create Emoji Picker in NextJS ? Last Updated : 25 Jul, 2024 Summarize Comments Improve Suggest changes Share Like Article Like Report Adding an emoji picker to your Next.js app makes it easy for users to express themselves with emojis. By integrating a simple and intuitive emoji picker, you can enhance user interactions and make your app more engaging and fun. In this article, we are going to learn how we can add Emoji Picker in NextJS. ApproachTo add the Emoji Picker in next.js, we are going to use the react-input-emoji package. The react-input-emoji package helps us to add emoji pickers anywhere in our app. So first, we will install the react-input-emoji package and then we will add the Emoji Picker on our homepage.Steps to Create Next.js App and Install Required ModulesStep 1: You can create a new NextJs project using the below command:npx create-next-app gfgStep 2: Move to the project directorycd gfgStep 3: Install the required packageNow we will install the react-input-emoji package using the below command:npm i react-input-emojiProject Structure:The updated dependencies in the package.json file are:"dependencies": { "next": "14.2.4", "react": "^18", "react-dom": "^18", "react-input-emoji": "^5.9.0",}Example: This example demonstrates adding emoji picker to the next.js application with the help of react-input-emoji package from NPM. JavaScript // Filename - index.js; import React, { useState } from "react"; import InputEmoji from "react-input-emoji"; export default function EmojiInput() { const [text, setText] = useState(""); return ( <div> <h4> NextJs EmojiPicker - GeeksforGeeks </h4> <br /> <br /> <br /> <br /> <InputEmoji value={text} onChange={setText} cleanOnEnter placeholder="Type a message" /> </div> ); } Explanation: In the above example first, we are importing the InputEmoji component from the installed package. After that, we are adding our Emoji Picker using the installed package.Steps to run the application: Run the below command in the terminal to run the appnpm run devOutput: Comment More infoAdvertise with us I imranalam21510 Follow Improve Article Tags : Next.js Next.js Next.js - Questions Similar Reads Next.js Tutorial Next.js is a popular React framework that extends React's capabilities by providing powerful tools for server-side rendering, static site generation, and full-stack development. It is widely used to build SEO-friendly, high-performance web applications easily.Built on React for easy development of f 6 min read Next.js Interview Questions and Answers - 2025 Next.js is one of the most powerful React-based frameworks for building modern, fast, and SEO-friendly web applications. It offers a range of features such as server-side rendering (SSR), static site generation (SSG), dynamic routing, and API routes, making it ideal for developers looking to build s 15+ min read Next.js Introduction Next.js is a powerful and flexible React framework that has quickly become popular among developers for building server-side rendered and static web applications. Created by Vercel, Next.js simplifies the process of developing modern web applications with its robust feature set. In this article, weâ 5 min read Next.js Installation Next.js is a popular React framework that enables server-side rendering and static site generation. It is easy to learn if you have prior knowledge of HTML, CSS, JavaScript, and ReactJS. Installing Next.js involves setting up Node.js and npm, creating a new Next.js project using npx create-next-appa 4 min read Next.js Create Next App In Next.js, the create next app command is used to automatically initialize a new NextJS project with the default configuration, providing a streamlined way to build applications efficiently and quickly.System Requirements:Node.js 12.22.0 or laterNPM 6.14.4 or later OR Yarn 1.22.10 or latermacOS, Wi 3 min read How to Change Style of Scrollbar using Tailwind CSS? By default, Tailwind CSS does not include built-in utilities for styling scrollbars. However, you can customize the appearance of scrollbars using traditional CSS in combination with Tailwind's utility classes. This is achieved by using the scrollbar-* classes to customize aspects like scrollbar wid 3 min read Next.js Routing Next.js is a powerful framework built on top of React that simplifies server-side rendering, static site generation, and routing. In this article, we'll learn about the fundamentals of Next.js routing, explore dynamic and nested routes, and see how to handle custom routes and API routes.Table of Con 6 min read NextJS 14 Folder Structure Next.js, a powerful React framework developed by Vercel, continues to evolve, bringing new features and improvements with each release. Version 14 of Next.js introduces enhancements to the folder structure, making it more efficient for developers to organize their projects. In this article, weâll ex 4 min read Getting Started with Next JS NextJS is an open-source React framework for building full-stack web applications ( created and maintained by Vercel ). You can use React Components to build user interfaces, and NextJS for additional features and optimizations. It is built on top of Server Components, which allows you to render ser 9 min read How to Fix Configuration Issue if Tailwind CSS Not Working with Next.js ? Tailwind CSS is a popular utility-first CSS framework and Next.js is a server-side rendering framework for React. Combining the two can lead to powerful web applications. However, configuration issues may arise when using Tailwind CSS with Next.js. This article will discuss how to fix configuration 4 min read Like