Youtap Tech Indonesia
Breadcrumbs

PIN input

Version history

Version

Date

Comment

Current Version (v. 1)

Oct 03, 2023 01:37

@Unknown user

Introduction

PIN input is required when logging into the app or for extra security reasons. We are following the same states for the PIN input as for every other input field.

 

This section includes the following:


https://www.figma.com/file/F1fNT99VGTJHJ1jAnjFTn6/Youtap-Style-guide-V1.0.2023?type=design&node-id=36%3A12840&t=DwJbVWImPjudxAWy-1



01 PIN Entry Specifications

01-0 Overview

PIN entry specs.png

Consists of:

  • Heading - display 2, primary

  • PIN entry fields (4-6 entry fields)

  • Help text (opt)

Space between entry fields is automatically filled to 327px

:figma:

Component - PIN Entry


01-1 PIN entry fields

Visual

State

Specs

Screenshot 2023-05-16 at 10.34.52 AM.png

Default

PIN-value

colours - tertiary-black-60 (outline), primary (value)

outline weight - 1pt, inside

Expand to see full specs

Size

width - 30px

height - 40px

Radius

corner-rad - see radius

Outline

colour - tertiary-black-60

weight - 1pt, inside

Value icon (when set)

colour - primary

icon size - Standard (REM)

icon size - PIN/has value (Figma link here)

position - center (8px top/bottom; 4px left/right)

Screenshot 2023-05-16 at 11.13.21 AM.png


Focused

PIN-value - focused

colours - secondary1 (outline), primary (value)

outline weight - 2pt, inside

Expand to see full specs

Size

width - 30px

height - 40px

Radius

corner-rad - see radius

Outline

colour - secondary1

weight - 2pt, inside

Value icon (when set)

colour - primary

icon size - Standard (REM)

icon size - PIN/has value (Figma link here)

position - center (8px top/bottom; 4px left/right)

Screenshot 2023-05-16 at 11.24.08 AM.png


Hover

PIN-value - hover

colours - tertiary-black-80 (outline), primary (value)

outline weight - 1pt, inside

Expand to see full specs

Size

width - 30px

height - 40px

Radius

corner-rad - see radius

Outline

colour - tertiary-black-60

weight - 1pt, inside

Value icon (when set)

colour - primary

icon size - Standard (REM)

icon size - PIN/has value (Figma link here)

position - center (8px top/bottom; 4px left/right)

Screenshot 2023-05-16 at 11.24.39 AM.png


Default - Error

PIN-value - error

colours - secondary2 (outline), primary (value)

outline weight - 1pt, inside

Expand to see full specs

Size

width - 30px

height - 40px

Radius

corner-rad - see radius

Outline

colour - secondary2

weight - 1pt, inside

Value icon (when set)

colour - primary

icon size - Standard (REM)

icon size - PIN/has value (Figma link here)

position - center (8px top/bottom; 4px left/right)


01-2 Help Text (optional)

Visual

State

Specs

image 2.png


Help text (with icon)

Expand to see full specs

Helptext - icon

icon size - small

Text

colour - primary

type - label2

margin - 24px, 16px

padding between elements - 4px


01-3 Repeat PIN

PINRepeat.png

Contains

  • 2x PIN entry field

  • Padding between elements - 24px



02 - PIN Entry - Usage & Application

Default state

PINDefault1.png


Use when

  • When the PIN entry field is not selected


NOT use when

  • an error occurred within the entry field

  • a field is selected


Hover state (Desktop ONLY)

PINHover1.png


Use when

  • mouse hovers over the related PIN entry component


NOT use when

  • an error occurred within the entry field

  • a field is selected

  • a field is not selected


Focused state

PINFocus1.png


Use when

  • User is currently interacting with the related PIN entry field


NOT use when

  • user is not currently interacting with the current PIN entry field

  • an error occurred


Repeat PIN

RepeatPIN1.png


Use when

  • PIN is set up

  • PIN needs to be entered a second time


NOT use when

  • PIN is only needed for validation


Error state

PINError.png


Use when

  • leaving the PIN entry fields and the data don’t match between 2 fields

  • User is amending an error field until it has been validated


NOT use when

  • the is an error in the textfield, however, it is not mandatory

  • When a user is entering the PIN entry for the first time


Help Text

PIN Help.png

Use when

  • An error occurs

  • additional text is required to inform users what information is required from them


NOT use when

  • there is no error related to the input of this ‘text input’

  • it is a standard input that is necessary