📖 React Documentation

TikTok Emojis React Components

The complete TikTok emoji component library for React. 46 secret emojis with TypeScript support, optimized for performance and ready for production.

46
React Components
100%
TypeScript Support
0
Dependencies
<3KB
Gzipped Per Component

Why Choose Our React Components?

The ultimate library for bringing TikTok's secret emojis to your React applications.

Complete Collection

Get all 46 exclusive hidden TikTok emojis in one comprehensive library.

High-Quality SVGs

Crisp, scalable SVG components ensure perfect quality at any size.

Tree-Shakable

Import only the emojis you need, keeping your app's bundle size optimized.

Expressive & Fun

Easily bring the unique fun and expressiveness of TikTok to your web projects.

✨ Key Features

  • 🎨  

    Complete TikTok Emoji Collection

    All 46 hidden TikTok emojis included.
  • ⚡️  

    Lightweight & Tree-shakable

    Only bundle the components you use.
  • 🔧  

    Fully Typed

    Built with TypeScript for excellent developer experience.
  • 🌐  

    SSR Compatible

    Works seamlessly with Next.js and other SSR frameworks.
  • 📱  

    Responsive

    Customizable size with `width`, `height`, and `size` props.
  • 🎯  

    React 16.8+ Support

    Compatible with all modern React versions.
  • 🚀  

    Zero Dependencies

    No external dependencies beyond React.

📦 Installation

npm install @tiktok-emojis/react


yarn add @tiktok-emojis/react


pnpm add @tiktok-emojis/react

🚀 Quick Start

import React from "react";

import { Angel, Happy, Cry, Laugh } from "@tiktok-emojis/react";


export default function App() {

  return (

    <div>

      <Angel size={32} />

      <Happy size={48} />

      <Cry width={24} height={24} />

      <Laugh size="6rem" />

    </div>

  );

}

📚 Usage Examples

Basic Usage

import React from "react";

import { Smile, Angry, Wow } from "@tiktok-emojis/react";


export default function App() {

  return (

    <div>

      <Smile />                       {/* Default size (24px) */}

      <Angry size={48} />             {/* Custom size */}

      <Wow width={32} height={32} />  {/* Custom width and height */}

    </div>

  );

}

Individual Component Import

For optimal bundle size, import components individually:

import React from "react";

import { Angel } from "@tiktok-emojis/react/angel";

import { Happy } from "@tiktok-emojis/react/happy";

import { Cry } from "@tiktok-emojis/react/cry";


export default function App() {

  return (

    <div>

      <Angel size={32} />

      <Happy size={48} />

      <Cry size={24} />

    </div>

  );

}

Dynamic Component Loading

import React, { useState, useMemo } from "react";

import * as TikTokEmojis from "@tiktok-emojis/react";


type ValueOf<T> = T[keyof T];

type Component = ValueOf<typeof TikTokEmojis>;


function resolve(record: Record<string, Component>, code: string) {

  const key = code?.charAt(0).toUpperCase() + code.slice(1);

  const result = record[key];

  return result;

}


export default function App() {

  const [selected, setSelected] = useState("Smile");

  const element = useMemo(() => resolve(TikTokEmojis, selected), [selected]);


  return (

    <div style={{ display: "flex", justifyContent: "center", alignItems: "center" }}>

      <select onChange={event => setSelected(event?.target?.value)}>

        <option value="Smile">Smile</option>

        <option value="Happy">Happy</option>

        <option value="Angry">Angry</option>

      </select>

      <div style={{ marginLeft: "50px" }}>

        {React.createElement(element, { size: 64 })}

      </div>

    </div>

  );

}

🎨 Available Components

All 46 TikTok hidden emojis are available as React components:

#ComponentTikTok EmojiTikTok CodeMeaning
1<Smile />Smile TikTok Emoji[smile]A subtle pink smiley face that conveys gentle happiness and friendliness.
2<Happy />Happy TikTok Emoji[happy]An exuberant peach-colored face showing pure joy and extreme excitement.
3<Angry />Angry TikTok Emoji[angry]A red-faced emoji expressing frustration, anger, or strong displeasure.
4<Cry />Cry TikTok Emoji[cry]A blue face with streaming tears showing deep sadness or emotional overwhelm.
5<Embarrassed />Embarrassed TikTok Emoji[embarrassed]A blushing face with rosy cheeks showing embarrassment or bashfulness.
6<Surprised />Surprised TikTok Emoji[surprised]Wide-eyed face with open mouth showing shock, surprise, or amazement.
7<Wronged />Wronged TikTok Emoji[wronged]A yellow face with sad eyes and finger-pointing gesture showing feeling wronged or unfairly treated.
8<Shout />Shout TikTok Emoji[shout]An open-mouthed face expressing loud excitement, cheering, or shouting.
9<Flushed />Flushed TikTok Emoji[flushed]A red-cheeked face showing embarrassment, shyness, or being flustered.
10<Yummy />Yummy TikTok Emoji[yummy]A face with tongue out licking lips, showing something is delicious or desirable.
11<Complacent />Complacent TikTok Emoji[complacent]A self-satisfied face with a smug expression showing complacency or smugness.
12<Drool />Drool TikTok Emoji[drool]A face with drool showing intense desire, hunger, or craving.
13<Scream />Scream TikTok Emoji[scream]A face with wide eyes and open mouth showing fear, shock, or distress.
14<Weep />Weep TikTok Emoji[weep]A tearful face showing deep sadness, grief, or emotional pain.
15<Speechless />Speechless TikTok Emoji[speechless]A face with hand covering mouth showing shock, disbelief, or being at a loss for words.
16<Funnyface />Funnyface TikTok Emoji[funnyface]A goofy face with exaggerated features showing silliness and humor.
17<Laughwithtears />Laughwithtears TikTok Emoji[laughwithtears]A face crying tears of laughter showing something is hilariously funny.
18<Wicked />Wicked TikTok Emoji[wicked]A mischievous face with a sly smile showing playful wickedness or scheming.
19<Facewithrollingeyes />Facewithrollingeyes TikTok Emoji[facewithrollingeyes]A face with rolling eyes showing annoyance, sarcasm, or exasperation.
20<Sulk />Sulk TikTok Emoji[sulk]A pouting face showing sulking, disappointment, or being upset.
21<Thinking />Thinking TikTok Emoji[thinking]A thoughtful face with hand on chin showing contemplation or consideration.
22<Lovely />Lovely TikTok Emoji[lovely]A face with heart-shaped eyes showing love, admiration, or being smitten.
23<Greedy />Greedy TikTok Emoji[greedy]A face with a greedy expression showing desire for more or being materialistic.
24<Wow />Wow TikTok Emoji[wow]An amazed face with wide eyes and open mouth showing wonder or awe.
25<Joyful />Joyful TikTok Emoji[joyful]A radiant face with sparkling eyes showing pure joy and happiness.
26<Hehe />Hehe TikTok Emoji[hehe]A face with a mischievous grin showing playful humor or light teasing.
27<Slap />Slap TikTok Emoji[slap]A face with raised hand showing frustration or the urge to slap something.
28<Tears />Tears TikTok Emoji[tears]A face with tears showing sadness, emotional release, or being moved.
29<Stun />Stun TikTok Emoji[stun]A stunned face showing shock, disbelief, or being completely taken aback.
30<Cute />Cute TikTok Emoji[cute]A sweet face with an adorable smile showing cuteness or endearment.
<Blink />Blink TikTok Emoji[blink]A winking face with one eye closed showing playfulness or shared understanding.
32<Disdain />Disdain TikTok Emoji[disdain]A face with raised eyebrow showing disdain, disapproval, or skepticism.
33<Astonish />Astonish TikTok Emoji[astonish]A face with wide eyes and raised eyebrows showing astonishment or amazement.
34<Rage />Rage TikTok Emoji[rage]A face with an extremely angry expression showing intense rage or fury.
35<Cool />Cool TikTok Emoji[cool]A face wearing sunglasses showing coolness, confidence, or being unfazed.
36<Excited />Excited TikTok Emoji[excited]A face with sparkling eyes and big smile showing excitement and anticipation.
37<Proud />Proud TikTok Emoji[proud]A face with a proud expression showing satisfaction with an achievement.
38<Smileface />Smileface TikTok Emoji[smileface]A face with a big, warm smile showing happiness and friendliness.
39<Evil />Evil TikTok Emoji[evil]A face with a devilish grin showing mischief, plotting, or playful evil.
40<Angel />Angel TikTok Emoji[angel]A face with a halo showing innocence, purity, or pretending to be good.
41<Laugh />Laugh TikTok Emoji[laugh]A face laughing heartily showing joy, amusement, or finding something funny.
42<Pride />Pride TikTok Emoji[pride]A face showing pride and self-satisfaction with achievements or qualities.
43<Nap />Nap TikTok Emoji[nap]A sleepy face with closed eyes showing tiredness or desire to sleep.
44<Loveface />Loveface TikTok Emoji[loveface]A face with heart-shaped eyes showing love, infatuation, or being smitten.
45<Awkward />Awkward TikTok Emoji[awkward]A face with a nervous smile showing awkwardness, discomfort, or social unease.
46<Shock />Shock TikTok Emoji[shock]A face with a shocked expression showing surprise, disbelief, or being stunned.

🔧 Component Props

All TikTok emoji components accept the following props:

interface TikTokEmojiProps {

  width?: string | number;   // Custom width

  height?: string | number;  // Custom height

  size?: string | number;    // Sets both width and height

}

Examples

// Using size prop (recommended)

<Smile size={32} />

<Happy size="2rem" />


// Using width and height individually

<Cry width={24} height={24} />

<Laugh width="1.5em" height="1.5em" />


// Default size (24px) if no props provided

<Angel />

🔧 TypeScript Support

This library is built with TypeScript and provides full type safety:

import React from "react";

import { Angel, Happy } from "@tiktok-emojis/react";


// TypeScript will provide autocompletion and type checking

export default function App() {

  return (

    <div>

      <Angel size={32} />       {/* ✅ Valid */}

      <Happy size="2rem" />     {/* ✅ Valid */}

      <Angel size="invalid" />  {/* ❌ Error */}

    </div>

  );

}

🌐 SSR Support

`@tiktok-emojis/react` is fully compatible with Server-Side Rendering frameworks:

Next.js

import React from "react";

import { Angel, Happy } from "@tiktok-emojis/react";


export default function App() {

  return (

    <div>

      <h1>Welcome to my app!</h1>

      <Angel size={48} />

      <Happy size={32} />

    </div>

  );

}

🎯 Best Practices

Performance Optimization

1. Use individual imports for better tree-shaking:

// ✅ Good: only imports what you need

import { Smile } from "@tiktok-emojis/react/smile";


// ❌ Avoid: imports the entire library

import { Smile } from "@tiktok-emojis/react";

2. Lazy load components for better performance:

import React, { Suspense, lazy } from "react";


const Smile = lazy(() => import("@tiktok-emojis/react/smile"));


export default function App() {

  return (

    <Suspense fallback="Loading...">

      <Smile size={32} />

    </Suspense>

  );

}

📋 Requirements

  • 💡 React >=16.8.0.
  • 💡 TypeScript 4.0+ (optional, but recommended).

📖 Documentation & Resources

Explore the Full TikTok Emojis Docs or Try Our Components

Return to the main documentation hub or switch to the Vue guide to integrate all 46 hidden TikTok emojis in your next project.