# Inline emoji picker

> The full picker inline on a card: search, category tabs, the grid and a footer with the preview and skin tone.

A shadcn/ui block from the [@reui](https://reui.io) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/reui/c-emoji-picker-1).

- Page, with a live preview: https://shadcn.exchange/r/reui/c-emoji-picker-1
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/reui/c-emoji-picker-1-light-03f6c4a03dd13942.png
- Registry item: https://reui.io/r/new-york-v4/c-emoji-picker-1.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://reui.io/r/new-york-v4/c-emoji-picker-1.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `card`, `@reui/emoji-picker`

## Files

### `c-emoji-picker-1.tsx`

```tsx
"use client"

import { useState } from "react"
import {
  EmojiPicker,
  EmojiPickerPanel,
} from "@/components/reui/emoji-picker"

import { Card } from "@/components/ui/card"

export function Pattern() {
  // Controlled, as an inline picker usually feeds a form. Nothing echoes it:
  // the footer preview falls back to it and the panel announces each pick.
  const [value, setValue] = useState<string | null>(null)

  return (
    // Card has no flush size, so `py-0` keeps its padding off the panel's own
    // insets; `w-fit` hugs the panel when the parent is not a flex row.
    <Card className="w-fit py-0">
      <EmojiPicker value={value} onValueChange={setValue}>
        <EmojiPickerPanel />
      </EmojiPicker>
    </Card>
  )
}
```
