I am looking for a way to open Emoji section in keyboards, like if user clicks on a Button it will open System Keyboard, but Emoji Section. Is there any possible way of doing it.
For example if I click Edit Text it should open Emoji section as below

I am looking for a way to open Emoji section in keyboards, like if user clicks on a Button it will open System Keyboard, but Emoji Section. Is there any possible way of doing it.
For example if I click Edit Text it should open Emoji section as below

Unfortunately, this question has been asked countless times over the years all of which have no reply or simply advertise for one 3rd party library or another.
From my quick hour of research to finally answer this question, I have found 4 options:
So the obvious answer here is that neither HTML nor React seem to support a default emoji keyboard as their docs will show you. Also, emoji change drastically from keyboard to keyboard causing many issues. Therefore, your best option would be to create your own Emoji keyboard which pops up on click of a div then on button click works like an actual keyboard without ever opening the device keyboard.
Pros:
Cons:
During my searches, I found a library that is activated by tossing scripts into the head, no download is needed but it can be troublesome to customize.
Here is an example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script
src="https://cdn.tiny.cloud/1/no-api-key/tinymce/6/tinymce.min.js"
referrerpolicy="origin"
></script>
<script>
tinymce.init({
selector: "#mytextarea",
plugins: "emoticons",
toolbar: "emoticons",
toolbar_location: "bottom",
menubar: false
});
</script>
</head>
<body>
<h1>Emoji picker example</h1>
<form method="post">
<textarea id="mytextarea">ASCII art is great, but...</textarea>
</form>
</body>
</html>
Pros:
Cons:
As every answer to this question throughout the years suggest, you can download a 3rd party library and hope that it not only works but that it works with your current project configuration and that you can edit it to fit your style.
The final option which is not really an option but still should be noted.
You can always just open the default virtual keyboard and allow them to switch to their emoji picker on their own.
If you are worried about them entering non-emoji text then you can just filter that out with a regex on text change.
Pros:
Cons:
simply use this library https://www.npmjs.com/package/react-native-emoji-board
yarn add react-native-emoji-board yarn add react-native-vector-icons if you don't have it yarn add @react-native-community/viewpager if you don't have it