Skip to content

Nerimity/solid-emoji-picker

Repository files navigation

solid-emoji-picker

solid-emoji-picker

pnpm

SolidJS Emoji Picker modal.

Quick start

Install it:

npm i solid-emoji-picker
# or
pnpm add solid-emoji-picker

Use it:

import { EmojiPicker } from 'solid-emoji-picker';
import { emojis } from 'solid-emoji-picker/emojis';
import { categories } from 'solid-emoji-picker/categories';


const App = () => {
  return (
    <div>
      <EmojiPicker spriteUrl="/emojiSprites.png" categories={categories} emojis={emojis} />
    </div>
  )
}

export default App

Events

onEmojiClicked: (Emoji) => void;

Properties

primaryColor = "#77a8f3"
categories = string[]
emojis = Emoji[]
maxRow = 7
spriteUrl = "/emojiSprites.png" // located in dev/public/

Emoji

{
    "emoji": "😀",
    "short_names": ["grinning"],
    "category": "Smileys & Emotion"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages