Crafter Station

WhatsApp Components

A WhatsApp chat in React that passes for the real thing. Tokens sampled from the app, bubble tails, blue ticks, three themes. The code lands in your repo, not your node_modules.

npx shadcn@latest add https://whatsapp-components.crafter.run/r/whatsapp-kit.json

Selling over WhatsApp, in three themes

One ChatItem[], three values of data-wa-theme. Nothing below changes but the tokens.

WhatsApp Light

data-wa-theme="light"

WhatsApp Dark

data-wa-theme="dark"

Brand

data-wa-theme="brand"

Rich content

Photos, voice notes, documents, locations, unfurled links, quoted replies and reactions. Quoting and reacting live on the message envelope, not on the content, so they work the same whatever the bubble holds.

Camila

typing…

Perfume Violeta¿Es este el que tienen?
Camila📷 Foto¡Ese mismo! Te mando la ficha 👇3
PDFficha-violeta-50ml.pdf3 pages · PDF · 486 kBNotas olfativas y duración.
0:27
Violeta · MirafloresAv. La Paz 1043, Lima

Camila

typing…

Perfume Violeta¿Es este el que tienen?
Camila📷 Foto¡Ese mismo! Te mando la ficha 👇3
PDFficha-violeta-50ml.pdf3 pages · PDF · 486 kBNotas olfativas y duración.
0:27
Violeta · MirafloresAv. La Paz 1043, Lima

Interactive

Quick replies, list messages, CTAs and polls. All controlled: no component holds hidden state, so the transcript stays yours.

Catálogo VioletaEstos son los formatos disponibles esta semana.Precios con IVA incluido.
¿Tienen el de 50 ml en stock?
¿Qué aroma lanzamos primero?Elige una80 votos

Tokens

WhatsApp Light

The real thing. Sampled from WhatsApp Web.

--wa-bg
#efeae2
--wa-panel
#f0f2f5
--wa-panel-text
#111b21
--wa-panel-muted
#667781
--wa-bubble-in
#ffffff
--wa-bubble-out
#d9fdd3
--wa-bubble-in-text
#111b21
--wa-bubble-out-text
#111b21
--wa-surface
#ffffff
--wa-text
#111b21
--wa-text-muted
#667781
--wa-link
#027eb5
--wa-tick
#667781
--wa-tick-read
#53bdeb
--wa-online
#25d366
--wa-accent
#00a884
--wa-accent-text
#ffffff
--wa-system-bg
#ffffff
--wa-system-text
#54656f

WhatsApp Dark

The real thing, after hours.

--wa-bg
#0b141a
--wa-panel
#202c33
--wa-panel-text
#e9edef
--wa-panel-muted
#8696a0
--wa-bubble-in
#202c33
--wa-bubble-out
#005c4b
--wa-bubble-in-text
#e9edef
--wa-bubble-out-text
#e9edef
--wa-surface
#111b21
--wa-text
#e9edef
--wa-text-muted
#8696a0
--wa-link
#53bdeb
--wa-tick
#8696a0
--wa-tick-read
#53bdeb
--wa-online
#25d366
--wa-accent
#00a884
--wa-accent-text
#111b21
--wa-system-bg
#182229
--wa-system-text
#8696a0

Brand

Rounder corners, deeper teal. For product shots and landings.

--wa-bg
#ece7df
--wa-panel
#075e54
--wa-panel-text
#ffffff
--wa-panel-muted
#a7d5cd
--wa-bubble-in
#ffffff
--wa-bubble-out
#d9f8c4
--wa-bubble-in-text
#1a1a1a
--wa-bubble-out-text
#1a1a1a
--wa-surface
#f4fbef
--wa-text
#1a1a1a
--wa-text-muted
#8b8b8b
--wa-link
#075e54
--wa-tick
#8b8b8b
--wa-tick-read
#34b7f1
--wa-online
#25d366
--wa-accent
#f2e04f
--wa-accent-text
#1f3d2b
--wa-system-bg
#ffffff
--wa-system-text
#1e8e3e

Every component

Start here

Shell

Messages

Rich content

Commerce

Foundations