Website kits › Enamel › Shade preview

Shade preview

The teeth in a real smile are traced once; any shade on the guide tints only them, and a split compares two shades on the same smile.

Shade preview is an interactive page from Enamel, a website kit with 5 pages: A dental clinic website that shows the fees, the people and the shades up front. Price: $5 for the whole pack.

Built with: traced shade tint, compare split, shade guide.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Shade preview props

PropTypeDefaultDescription
darkboolean
autoplayboolean
photosRecord<string
onNavigate(page: string) => void

Methods on the ref

Use it in React

import EnamelSmile from './EnamelSmile';

<EnamelSmile />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Enamel

Good for: Small business websites, Dental clinic website.