EmojiPickerDialog

fun EmojiPickerDialog(onDismiss: () -> Unit = {}, selectedEmojis: Set<String> = emptySet(), onConfirm: (String) -> Unit)(source)

A fully-featured, cross-platform emoji picker dialog.

Features:

  • 9 categories with tab-strip navigation

  • Recents — most-frequently-used emojis, persisted via EmojiPickerViewModel

  • Search — filters the full catalog by keyword

  • Per-emoji skin-tone popup — long-press on a skin-tone-capable emoji to choose a variant

  • Selected-emoji highlighting — visually marks already-applied reactions

  • Responsive grid — adapts column count to screen width (phones ≈ 8, desktop ≈ 12+)

Parameters

selectedEmojis

Set of emoji strings already selected (e.g. applied reactions). Matched emojis are highlighted with a tinted background.