Skip to content

Emoji Lens

A headline whose letters turn into native emoji under the pointer and back into letters when it leaves. Nothing shifts, nothing downloads.

On this page

Examples

Mode
Radius
120px
Cursor

Installation

Installation is part of Pro

Pro components install from a licensed registry. The live preview stays open to everyone.

Props

text
string
The headline. It stays real text, so it is selectable and read as written.
mode
"lens" | "pop" | "burst"
Default"lens"
lens: emoji grow with closeness to the pointer, biggest under it. pop: a letter flips as the pointer passes and flips back after hold, one at a time. burst: a click or tap spreads emoji out from the point, then they settle.
emoji
string[]
DefaultAI and dev set
Emoji to draw from. Each letter gets one by its position, so it never flickers. The default set is round and compact. Punctuation and spaces stay as they are.
radius
number (px)
Default120
How far the pointer reaches.
hold
number (ms)
Default600
Pop only: how long a flipped letter stays an emoji.
seed
number
Default0
Changes which emoji lands on which letter.
cursor
"auto" | "hide"
Default"hide"
lens and pop: hide hides the system cursor over the headline, so the grown emoji is the only thing under the pointer; auto keeps it. burst always shows a pointer. Touch and reduced motion are left alone.
paused
boolean
Defaultfalse
Turns the effect off.
Emoji look
-
The emoji look depends on the OS: Apple Color Emoji on macOS and iOS, Segoe UI Emoji on Windows, Noto Color Emoji on Linux and Android. Test on the platforms you ship to.
Emoji font
-
Native: Apple Color Emoji, Segoe UI Emoji or Noto Color Emoji, so nothing is downloaded. Each platform draws its own, and that is expected.
Layout
-
Every letter keeps its own box and the emoji is drawn over it, so the line never shifts or re-wraps.
Touch
-
A finger dragging across the headline drives it; a vertical swipe still scrolls the page.
Accessibility
-
Screen readers get the text once; the emoji layer is aria-hidden. prefers-reduced-motion renders plain text with no effect. Pauses offscreen and in hidden tabs.

When to use

When to use

  • A big marketing headline that invites the pointer, on a landing page or a launch page.

When not to use

  • Body copy or anything the user must read to act: the letters swap out under the pointer.
  • One changing word in a headline: use Word Rotate.

Using with AI

Use Copy page for AI above to give your assistant this page, Copy prompt under the install command to have it installed and wired to your data, or connect the Knowns UI MCP server and just ask:

  • Add the Knowns UI Emoji Lens to my app and wire it to my own data.
  • I need a big marketing headline that invites the pointer, on a landing page or a launch page. Set that up with the Knowns UI Emoji Lens.
  • Which Emoji Lens props do I need for a minimal setup? Show me a short example.

With the server connected, your assistant calls get_component({ name: "emoji-lens" }) and search_docs({ query: "emoji lens" }). Pro props, full examples and source come back once your license key is in the MCP config.

Need help?

Stuck on Emoji Lens, or found something off? We read every message.