Core

QR Scanner

Core Pro

Scan a shop’s QR code to pay. The viewfinder corners close in to hug the code as it locks on, then a verified merchant card rises with Pay, and a toggle shows your own code instead.

About the QR Scanner screen

The screens every app needs and nobody wants to design twice: settings, profile, appearance, notifications, data export, empty and error states. This is one of 50 core screens.

How it behaves

It responds to taps and scrolling. On a phone you feel a light tap on buttons, a firmer tap on bigger actions, a selection tick when you switch an option and a success pulse when the task completes.

  • Respects Reduce Motion: movement drops out and the feedback stays.

Make it yours

npx @lumioui/cli add pro/core-qr-scanner copies the screen into screens/core/qr-scanner.tsx along with the 5 components it uses, so the source is yours to edit. It's shown in neutral ink: wrap it in an <Accent> to give it your brand colour. It follows light and dark mode, and runs on iOS and Android, including Expo Go.

Built from

  • GlassGlass surface for cards and controls: system glass on newer iOS, real refraction on the web and a frosted look elsewhere. Light can gather under your finger, and panes merge on newer iOS and the web.
  • IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
  • ImageImage with a placeholder while it loads, a fallback when it fails, and aspect-ratio handling so your layout doesn’t jump when the picture arrives.
  • QR CodeCrisp QR code that stays sharp at any size and needs no extra library. It appears from the centre outward, can hold a logo in the middle, and fades the new code in when the value changes.
  • TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.

More in Core

View all 50