A searchable emoji grid with recents and a category rail
pnpm dlx shadcn@latest add https://notchset.dev/r/emoji-picker.jsonAny emoji in the system's own set: search first, recents, a category rail.
Every shadcn style · one file
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { EmojiPicker } from "@/components/ui/notchset/emoji-picker";
/*
* The picker open from its face: the search already has the focus, so type "party" and press Enter, or walk the grid
* with the arrows; the rail at the foot jumps to a section and follows the scroll; the hand sets the skin tone. A pick
* closes it and the line under it says what was picked; press the face to open it again.
*/
export default function EmojiPickerDemo() {
const recent = true;
const knobTone = Number("0");
return <Picker key={knobTone} recent={recent} startTone={knobTone} />;
}
function Picker({ recent, startTone }: { recent: boolean; startTone: number }) {
const [tone, setTone] = React.useState(startTone);
const [picked, setPicked] = React.useState<string[]>([]);
return (
<div className="flex h-[468px] w-[320px] max-w-full flex-col items-center gap-2">
<EmojiPicker defaultOpen align="center" tone={tone} onToneChange={setTone} recent={recent ? undefined : []} onPick={(e) => setPicked((p) => [...p.slice(-5), e])} />
<p aria-live="polite" className="m-0 mt-auto text-[length:var(--ns-text-small)] text-[var(--ns-ink-3)]">{picked.length ? `Picked ${picked.join(" ")}` : "Pick an emoji"}</p>
</div>
);
}"use client";
import * as React from "react";
import { EmojiPicker } from "@/components/ui/notchset/emoji-picker";
/*
* The picker open from its face: the search already has the focus, so type "party" and press Enter, or walk the grid
* with the arrows; the rail at the foot jumps to a section and follows the scroll; the hand sets the skin tone. A pick
* closes it and the line under it says what was picked; press the face to open it again.
*/
export default function EmojiPickerDemo() {
const recent = true;
const knobTone = Number("0");
return <Picker key={knobTone} recent={recent} startTone={knobTone} />;
}
function Picker({ recent, startTone }: { recent: boolean; startTone: number }) {
const [tone, setTone] = React.useState(startTone);
const [picked, setPicked] = React.useState<string[]>([]);
return (
<div className="flex h-[468px] w-[320px] max-w-full flex-col items-center gap-2">
<EmojiPicker defaultOpen align="center" tone={tone} onToneChange={setTone} recent={recent ? undefined : []} onPick={(e) => setPicked((p) => [...p.slice(-5), e])} />
<p aria-live="polite" className="m-0 mt-auto text-[length:var(--ns-text-small)] text-[var(--ns-ink-3)]">{picked.length ? `Picked ${picked.join(" ")}` : "Pick an emoji"}</p>
</div>
);
}components/ui/notchset/emoji-picker.tsx
LevelOrganism: made of molecules or blocks.
Made ofIcon button,Popover
Free, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
pnpm add lucide-react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
onPick–
(emoji: string, from: DOMRect | null) => voida pick: the emoji (with the skin tone) and the box it was picked from, so the host can fly it there
recent–
string[]the person's frequently used emoji, most used first (eight show)
tone–
numberthe skin tone, 0 (none) to 5, when the host keeps it (with onToneChange)
onToneChange–
(tone: number) => voidlabels–
EmojiPickerLabelstrigger–
React.ReactElementwhat opens it (an icon button with a face, by default)
open–
booleanopen, when the host holds it (with onOpenChange)
defaultOpen–
booleanonOpenChange–
(open: boolean) => voidside"bottom"
"top" | "bottom"align"start"
"start" | "center" | "end"Three usesa reply's emoji button · a reaction row's Add · a comment box
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.1.0 · 2026-11-17
Ships glide.ts (SORT_GLIDE), which it now uses. Ships motion.ts (EASE, lessMotion, roleTiming, useLessMotion), which it now uses.
v1.0.0 · 2026-11-09
Released free with the Notchset system.