
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
A lightweight, unstyled, and composable emoji picker for React.
npm i frimousse
If you are using shadcn/ui, you can also install it as a pre-built component via the shadcn CLI.
npx shadcn@latest add https://frimousse.liveblocks.io/r/emoji-picker
Learn more in the shadcn/ui section.
Import the EmojiPicker
parts and create your own component by composing them.
import { EmojiPicker } from "frimousse";
export function MyEmojiPicker() {
return (
<EmojiPicker.Root>
<EmojiPicker.Search />
<EmojiPicker.Viewport>
<EmojiPicker.Loading>Loading…</EmojiPicker.Loading>
<EmojiPicker.Empty>No emoji found.</EmojiPicker.Empty>
<EmojiPicker.List />
</EmojiPicker.Viewport>
</EmojiPicker.Root>
);
}
Apart from a few sizing and overflow defaults, the parts don’t have any styles out-of-the-box. Being composable, you can bring your own styles and apply them however you want: Tailwind CSS, CSS-in-JS, vanilla CSS via inline styles, classes, or by targeting the [frimousse-*]
attributes present on each part.
You might want to use it in a popover rather than on its own. Frimousse only provides the emoji picker itself so if you don’t have a popover component in your app yet, there are several libraries available: Radix UI, Base UI, Headless UI, and React Aria, to name a few.
If you are using shadcn/ui, you can install a pre-built version which integrates with the existing shadcn/ui variables via the shadcn CLI.
npx shadcn@latest add https://frimousse.liveblocks.io/r/emoji-picker
It can be composed and combined with other shadcn/ui components like Popover.
Find the full documentation and examples on frimousse.liveblocks.io.
The name “frimousse” means “little face” in French, and it can also refer to smileys and emoticons.
The emoji picker component was originally created for the Liveblocks Comments default components, within @liveblocks/react-ui
.
The emoji data is based on Emojibase.
All contributions are welcome! If you find a bug or have a feature request, feel free to create an issue or a PR.
The project is setup as a monorepo with the frimousse
package at the root and frimousse.liveblocks.io in the site
directory.
Install dependencies and start development builds from the root.
npm i
npm run dev
The site can be used as a development playground since it’s built with the root package via Turborepo.
npm run dev:site
The package has 95%+ test coverage with Vitest. Some tests use Vitest’s browser mode with Playwright, make sure to install the required browser first.
npx playwright install chromium
Run the tests.
npm run test:coverage
Releases are triggered from a GitHub action via release-it, and continuous releases are automatically triggered for every commit in PRs via pkg.pr.new.
FAQs
A lightweight, unstyled, and composable emoji picker for React.
The npm package frimousse receives a total of 38,474 weekly downloads. As such, frimousse popularity was classified as popular.
We found that frimousse demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.