Solid Emoji Picker

screenshot of Solid Emoji Picker

Unstyled emoji picker for SolidJS

Overview

The Solid Emoji Picker is an engaging and versatile component designed for SolidJS applications, allowing developers to seamlessly integrate emoji functionality into their user interfaces. This unstyled emoji picker is particularly suitable for projects that require a lightweight and customizable emoji selection tool. The component is built with modern web standards, providing a user-friendly experience while maintaining a simple structure.

One of the highlights of the Solid Emoji Picker is its extensibility, enabling users to fine-tune various properties and render emojis in a way that suits their application's design. With the backing of unicode-emoji-json, this picker ensures a robust emoji data set that can enhance communication within any app.

Features

  • Event Handling: Features event properties like onEmojiClick, onEmojiFocus, and onEmojiHover, allowing for dynamic interactions when users engage with emojis.
  • Custom Skin Tones: Users can define their selected skin tone with the skinTone property, supporting options such as "light," "medium," and "dark" for enhanced personalization.
  • Emoji Filtering: The filter function allows for conditionally rendering emojis, making it easy to implement a search capability or limit the displayed emojis based on specific criteria.
  • Custom Rendering: The renderEmoji function provides flexibility for developers to define how emojis are displayed, enabling unique styling and structure based on the application’s requirements.
  • CDN Customization: Users can modify the default CDN path for emoji data through setCDN, offering control over data handling and access.
  • Efficient Data Fetching: The component utilizes Suspense and createResource for efficient data fetching, ensuring smooth loading of emojis as needed.
  • Modular Data Handling: Functions like loadEmojiData and setEmojiData allow developers to manage emoji data dynamically, enhancing the overall functionality of the picker.
  • Lightweight and Unstyled: Being unstyled by default, it provides a blank canvas for developers to implement their desired styling and integration into their projects without unnecessary overhead.
typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.