{"id":26857953,"url":"https://github.com/liveblocks/frimousse","last_synced_at":"2025-03-31T01:03:03.339Z","repository":{"id":283485766,"uuid":"926618323","full_name":"liveblocks/frimousse","owner":"liveblocks","description":"A lightweight, unstyled, and composable emoji picker for React.","archived":false,"fork":false,"pushed_at":"2025-03-28T08:49:55.000Z","size":3936,"stargazers_count":787,"open_issues_count":7,"forks_count":11,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T09:37:11.480Z","etag":null,"topics":["component","emoji","emoji-picker","emojibase","liveblocks","react","unstyled"],"latest_commit_sha":null,"homepage":"https://frimousse.liveblocks.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liveblocks.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-03T15:21:06.000Z","updated_at":"2025-03-28T09:12:27.000Z","dependencies_parsed_at":"2025-03-21T14:35:23.283Z","dependency_job_id":null,"html_url":"https://github.com/liveblocks/frimousse","commit_stats":null,"previous_names":["liveblocks/frimousse"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Ffrimousse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Ffrimousse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Ffrimousse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liveblocks%2Ffrimousse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liveblocks","download_url":"https://codeload.github.com/liveblocks/frimousse/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399788,"owners_count":20770908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","emoji","emoji-picker","emojibase","liveblocks","react","unstyled"],"created_at":"2025-03-31T01:01:05.425Z","updated_at":"2025-03-31T01:03:03.333Z","avatar_url":"https://github.com/liveblocks.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ch1\u003e\n  \u003ca href=\"https://frimousse.liveblocks.io#gh-light-mode-only\"\u003e\n    \u003cimg src=\".github/assets/logo-light.svg\" width=\"107\" height=\"24\" alt=\"Frimousse\" align=\"center\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://frimousse.liveblocks.io#gh-dark-mode-only\"\u003e\n    \u003cimg src=\".github/assets/logo-dark.svg\" width=\"107\" height=\"24\" alt=\"Frimousse\" align=\"center\" /\u003e\n  \u003c/a\u003e\n\u003c/h1\u003e\n\n[![npm](https://img.shields.io/npm/v/frimousse?labelColor=651\u0026color=fc0)](https://www.npmjs.com/package/frimousse)\n[![downloads](https://img.shields.io/npm/dm/frimousse?label=downloads\u0026labelColor=651\u0026color=fc0)](https://www.npmjs.com/package/frimousse)\n[![size](https://img.shields.io/bundlephobia/minzip/frimousse?label=size\u0026labelColor=651\u0026color=fc0)](https://bundlephobia.com/package/frimousse)\n[![tests](https://img.shields.io/github/actions/workflow/status/liveblocks/frimousse/.github/workflows/tests.yml?label=tests\u0026labelColor=651\u0026color=fc0)](https://github.com/liveblocks/frimousse/actions/workflows/tests.yml)\n[![license](https://img.shields.io/github/license/liveblocks/frimousse?labelColor=651\u0026color=fc0)](https://github.com/liveblocks/frimousse/blob/main/LICENSE)\n\nA lightweight, unstyled, and composable emoji picker for React.\n\n- ⚡️ **Lightweight and fast**: Dependency-free, tree-shakable, and virtualized with minimal re-renders\n- 🎨 **Unstyled and composable**: Bring your own styles and compose parts as you want\n- 🔄 **Always up-to-date**: Latest emoji data is fetched when needed and cached locally\n- 🔣 **No � symbols**: Unsupported emojis are automatically hidden\n- ♿️ **Accessible**: Keyboard navigable and screen reader-friendly\n\n \u003cimg src=\".github/assets/header.svg\" alt=\"Various emoji pickers.\" /\u003e\n\n## Installation\n\n```bash\nnpm i frimousse\n```\n\nIf you are using [shadcn/ui](https://ui.shadcn.com/), you can also install it as a pre-built component via the [shadcn CLI](https://ui.shadcn.com/docs/cli).\n\n```bash\nnpx shadcn@latest add https://frimousse.liveblocks.io/r/emoji-picker\n```\n\nLearn more in the [shadcn/ui](#shadcnui) section.\n\n## Usage\n\nImport the `EmojiPicker` parts and create your own component by composing them.\n\n```tsx\nimport { EmojiPicker } from \"frimousse\";\n\nexport function MyEmojiPicker() {\n  return (\n    \u003cEmojiPicker.Root\u003e\n      \u003cEmojiPicker.Search /\u003e\n      \u003cEmojiPicker.Viewport\u003e\n        \u003cEmojiPicker.Loading\u003eLoading…\u003c/EmojiPicker.Loading\u003e\n        \u003cEmojiPicker.Empty\u003eNo emoji found.\u003c/EmojiPicker.Empty\u003e\n        \u003cEmojiPicker.List /\u003e\n      \u003c/EmojiPicker.Viewport\u003e\n    \u003c/EmojiPicker.Root\u003e\n  );\n}\n```\n\nApart 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](https://tailwindcss.com/), CSS-in-JS, vanilla CSS via inline styles, classes, or by targeting the `[frimousse-*]` attributes present on each part.\n\nYou 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](https://www.radix-ui.com/primitives/docs/components/popover), [Base UI](https://base-ui.com/react/components/popover), [Headless UI](https://headlessui.com/react/popover), and [React Aria](https://react-spectrum.adobe.com/react-aria/Popover.html), to name a few.\n\n### shadcn/ui\n\nIf you are using [shadcn/ui](https://ui.shadcn.com/), you can install a pre-built version which integrates with the existing shadcn/ui variables via the [shadcn CLI](https://ui.shadcn.com/docs/cli).\n\n```bash\nnpx shadcn@latest add https://frimousse.liveblocks.io/r/emoji-picker\n```\n\nIt can be composed and combined with other shadcn/ui components like [Popover](https://ui.shadcn.com/docs/components/popover).\n\n## Documentation\n\nFind the full documentation and examples on [frimousse.liveblocks.io](https://frimousse.liveblocks.io).\n\n## Miscellaneous\n\nThe name [“frimousse”](https://en.wiktionary.org/wiki/frimousse) means “little face” in French, and it can also refer to smileys and emoticons.\n\nThe emoji picker component was originally created for the [Liveblocks Comments](https://liveblocks.io/comments) default components, within [`@liveblocks/react-ui`](https://github.com/liveblocks/liveblocks/tree/main/packages/liveblocks-react-ui).\n\n## Credits\n\nThe emoji data is based on [Emojibase](https://emojibase.dev/).\n\n## Contributing\n\nAll contributions are welcome! If you find a bug or have a feature request, feel free to create an [issue](https://github.com/liveblocks/frimousse/issues) or a [PR](https://github.com/liveblocks/frimousse/pulls).\n\nThe project is setup as a monorepo with the `frimousse` package at the root and [frimousse.liveblocks.io](https://frimousse.liveblocks.io) in the `site` directory.\n\n### Development\n\nInstall dependencies and start development builds from the root.\n\n```bash\nnpm i\nnpm run dev\n```\n\nThe site can be used as a development playground since it’s built with the root package via [Turborepo](https://turbo.build/repo).\n\n```bash\nnpm run dev:site\n```\n\n### Tests\n\nThe package has 95%+ test coverage with [Vitest](https://vitest.dev/). Some tests use Vitest’s [browser mode](https://vitest.dev/guide/browser-testing) with [Playwright](https://playwright.dev/), make sure to install the required browser first.\n\n```bash\nnpx playwright install chromium\n```\n\nRun the tests.\n\n```bash\nnpm run test:coverage\n```\n\n### Releases\n\nReleases are triggered from [a GitHub action](.github/workflows/release.yml) via [release-it](https://github.com/release-it/release-it), and continuous releases are automatically triggered for every commit in PRs via [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliveblocks%2Ffrimousse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliveblocks%2Ffrimousse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliveblocks%2Ffrimousse/lists"}