Scooter Unlock
Pick a scooter on the map, check its battery and range, then slide to unlock. The padlock springs open in a burst of light, and the card becomes a live ride meter until you hold to end the ride.
About the Scooter Unlock screen
A complete ride-hailing flow: destination, ride options, matching, driver arriving, the trip, receipt and safety. This is one of 14 ride screens.
How it behaves
It responds to taps, drags and long presses. On a phone you feel a selection tick when you switch an option, a light tap on buttons 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/ride-scooter-unlock copies the screen into screens/ride/scooter-unlock.tsx along with the 7 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
- Animated NumberNumber that moves to each new value as a calm count-up or a roll where only the changed digits turn, set in type or in dot-matrix LEDs whose dots switch on in place. Screen readers announce just the final value, not every step.
- ButtonPill button that presses down under your finger, in eight styles from solid to glass, with a built-in loading state that swaps in place while an action runs.
- 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.
- Map ViewCalm vector city map with no maps SDK: pickup, dropoff and price pins, a route that draws itself, and a car that drives along it. Nearby cars appear and fade out as they come and go.
- Ride OptionRide and delivery tier picker showing vehicle, seats, arrival time and price. The chosen vehicle rolls forward, and once requested it drives off while its row reads “Finding your driver”.
- Slide to ConfirmSlide-to-confirm control for payments and other deliberate actions. The thumb follows your finger, shows progress while the action runs and ends with a check; a press-and-hold mode is included.
- 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.