Skip to content

Face Scan

Pro

A small face icon for a face ID check. It blinks while it waits, turns into a ring while it scans, then shows a check or shakes when the scan fails.

  • Base UI
  • Motion
  • React 19
  • Tailwind CSS 4

Added Nov 15, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Face Scan needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
25
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Set status from your face check, and compose the parts.

face-unlock.tsx

FaceScan

<div>
PropTypeDefaultDescription
size"default""lg""sm""xl""default"
status"error""idle""scanning""success""idle"The stage: idle (default), scanning, success, or error. The app sets it.
lookAtPointerbooleantrueIn the idle stage, the face looks toward the pointer over the root. Default true.
labelsPartial<FaceScanLabels>—The words of each stage for FaceScanStatus.
childrenReactNode—The parts. With none, the root shows the glyph and the status line.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.

FaceScanGlyph

<svg>
PropTypeDefaultDescription
...props<svg> attributes—Every other attribute goes to the <svg>, with a ref.

FaceScanStatus

<p>
PropTypeDefaultDescription
children—The words, or a function that answers per stage. With none, the root labels answer.
...props<p> attributes—Every other attribute goes to the <p>, with a ref.

FaceScanSurface

<div>
PropTypeDefaultDescription
variant"hud""plain""tile""plain"
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Set status to scanning while the check runs, then to success or error.
  • Use FaceScanSurface variant="hud" for a dark box in the middle of the screen.
  • Give each stage its own words with labels, or a function child on FaceScanStatus.
  • For a job that is not a face check, use a Dot Matrix.
  • For a plain loading ring in a button, use a Spinner.
Curl
glide · the corners curl into a ring as the scan starts
Scan
progress · the ring turns once in 1.2 s while the eyes look around
Success
iconDraw · the ring closes, the check draws, and the glyph pops
Error
iconHover · the face frowns and shakes once
Idle
follow · the face looks toward the pointer and blinks every 4.2 s
  1. AddedFace Scan.
Open the release