utils/emoji.ts

yudao-ui-admin-vue3 · src/views/im/utils/emoji.ts · typescript · MIT
ui, tag:embed-classified

Array of common Unicode emojis for IM face picker.

// Source: https://github.com/yudaocode/yudao-ui-admin-vue3 | License: MIT | Copyright 2021-present Archer
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * IM 常用 Unicode emoji 列表
 *
 * 所见即所得(不依赖图片资源),由表情面板(FacePicker 的 emoji tab)使用;
 * Unicode emoji 选中后由调用方插入到输入框走 TEXT 通道,不走 FACE 内容类型
 */
export const IM_EMOJI_LIST: string[] = [
  '😀',
  '😁',
  '😂',
  '🤣',
  '😃',
  '😄',
  '😅',
  '😆',
  '😉',
  '😊',
  '😋',
  '😎',
  '😍',
  '😘',
  '😗',
  '😙',
  '😚',
  '🙂',
  '🤗',
  '🤩',
  '🤔',
  '🤨',
  '😐',
  '😑',
  '😶',
  '🙄',
  '😏',
  '😣',
  '😥',
  '😮',
  '🤐',
  '😯',
  '😪',
  '😫',
  '😴',
  '😌',
  '😛',
  '😜',
  '😝',
  '🤤',
  '😒',
  '😓',
  '😔',
  '😕',
  '🙃',
  '🤑',
  '😲',
  '☹️',
  '🙁',
  '😖',
  '😞',
  '😟',
  '😤',
  '😢',
  '😭',
  '😦',
  '😧',
  '😨',
  '😩',
  '🤯',
  '😬',
  '😰',
  '😱',
  '🥵

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key