Pattern Lock Screen

Demo to preview the plugin:

Introduction

The Pattern Lock Screen Plugin allows you to add a classical pattern based authentication system to your application, similar to the lock screen of an Android smartphone. By enabling users to draw a unique pattern, you can provide both an intuitive login experience and an additional layer of security.
Pattern Lock is widely recognized from mobile devices and provides a visual, gesture-based login method. This plugin brings that familiar functionality into your Bubble application.
  • Each pattern is translated into a numeric code based on the positions of dots, corresponding to a standard phone dial arrangement.
  • Example: The code 257 represents a straight vertical line from the top-center dot to the bottom-center dot.
  • The correct code can be stored in your database and associated with each user account, making it easy to validate login attempts or use the pattern lock as a form of two factor authentication (2FA).
This plugin is especially useful for mobile-first apps, gamified experiences, or cases where you want to add gesture based input to enhance security and user experience.
Key Features

Prerequisites

Before using the plugin, ensure you have:
  • A Bubble application with the plugin installed.
  • A user database field (e.g., pattern_code) to store each user’s pattern as a number.
  • Familiarity with Bubble workflows to configure login checks.
Image without caption

How to setup

Step 1 – Install the Plugin

Step 2 – Add the Plugin Element to Your Page

Step 3 – Configure Properties

Plugin Element - Pattern Lock

Image without caption

Fields

Element Actions

Exposed States

Element Events

Image without caption

Changelogs