# UX Guidelines

* [Adding sufficient signature placeholder space in your document](#add-sufficient-signature-placeholder-space-in-your-document)
* [Implementing the Sign with Singpass button](#implementing-the-sign-with-singpass-button)
* [Presenting Sign with other signing options](#presenting-sign-with-other-signing-options)

## **Add sufficient signature placeholder space in your document**

On a regular A4 document, a Sign with Singpass signature will take up an area of 7.78cm x 2.12cm (294 x 80 pixels).&#x20;

When preparing a PDF of the unsigned document, clearly demarcate the placements of the signatures and **mark a sufficient area (at least 3.12 x 7.98cm) for the signature placeholders to appear.** This ensures that the document's content will not be obscured by the digital signature.&#x20;

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2Fja6iWbSkCjUzzOJGGlr5%2FPlaceholder%20ref.png?alt=media&#x26;token=1d542b68-28d7-4712-86a0-16bb3f164910" alt=""><figcaption><p>Example of a clearly demarcated signature area in the document (size annotations are not required)</p></figcaption></figure>

For ease, you may copy the placeholder sample from this Word document to use in your own document:

{% file src="<https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2Ff3paZPxKFGI0qHAFVnGi%2FSignature%20placeholder%20sample.docx?alt=media&token=45d345c3-aba2-4c29-bb68-56f29e80b1ed>" %}

<details>

<summary>How do I define the location on the document where my user's signature should appear?</summary>

When initiating a sign request to our API, you are required to send us the coordinates of the desired location for your user's signature to appear.&#x20;

You can use our [Sign Location Helper](https://docs.sign.singpass.gov.sg/for-relying-parties/api-documentation/document-signing-v3#sign-location-helper) to experiment with signature placement and copy the `(x, y, page)` values for use in Sign v3.

</details>

## Implementing the Sign with Singpass button

{% hint style="danger" %}
**All signing sessions must be initiated via the Singpass button** and not through providing any redirect links directly to the user.&#x20;
{% endhint %}

#### You can download the Sign button in 2 sizes here:

{% file src="<https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2F6Kf4wHQ2LZQ2y74nEf6E%2FSign%20with%20Singpass%20btn%20-%202%20sizes.zip?alt=media&token=6017bab5-debf-411a-ab7d-6fce9774c449>" %}

#### Otherwise, please adhere to the following guidelines to create the Sign button.

* [Singpass button types](#singpass-button-types)
* [Font usage for button label](#font-usage-for-button-label)
* [Aria labels for screen readers](#accessibility-aria-labels-for-screen-readers)
* [Singpass logo size](#singpass-logo-size)
* [Button colour](#button-colour)
* [Border stroke](#border-stroke)
* [Border radius](#border-radius)
* [Hover state](#hover-state)
* [Width and height](#width-and-height)
* [Loading state](#loading-state)

\
**Singpass logo download:**

You can also use the following Singpass logo for your online and print materials

{% file src="<https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FGn50IA8Hdia4fPfMGY1l%2FSingpass-logos.zip?alt=media&token=e0ba8f08-feb9-4b48-8d18-24f350550309>" %}

#### **Singpass button types**

By default, use the white fill button to pair it with your service’s interface. Alternatively, you may use the red fill button if it’s suitable.

* White-filled button: **#FFFFFF**
* Red-filled button: **#F4333D**

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FXiXUBVIqdg3XPqeoSDXi%2FBg.png?alt=media&#x26;token=734d9b56-b34d-460d-b42c-34729b5ac873" alt=""><figcaption></figcaption></figure>

#### **Font usage for button label**

By default, please use **Poppins at 16px** size. Alternatively, you may use your brand’s typeface. San serif is highly recommended for this button to better match the Singpass logo.

Download Poppins Bold on [Google fonts](https://fonts.google.com/specimen/Poppins).

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FY6idxuSswZYxVnrPuQEL%2FBg-1.png?alt=media&#x26;token=619b85fb-05b1-4495-a19b-36204a8556c0" alt=""><figcaption></figcaption></figure>

#### **Accessibility: Aria labels for screen readers**

Please ensure that the **Singpass logo has a aria-label** to ensure that screen readers will read it as “Sing pass” to avoid it reading out the entire word as ‘S-i-n-g-p-a-s-s’.

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FBxgl1ntWeLlMq2fv1WXL%2Faria.png?alt=media&#x26;token=77565675-6517-46c9-a4e3-f6795c5127fb" alt=""><figcaption></figcaption></figure>

#### **Singpass logo size**

**Match the x-height of the label** as close as possible to ensure visual balance and proportion.

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FtbCPdtdbX1fwjVAQkDQM%2FGroup%207812.png?alt=media&#x26;token=d662e6b5-1da0-47f0-bf6c-bcbd4808c39b" alt=""><figcaption></figcaption></figure>

#### **Button colour**

To ensure brand recognition and consistency, use the **white-filled** or **red-filled** buttons as stated below. Avoid using colours other than white-filled or red-filled buttons.

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FB8PnZpVyEDwTE1eRwEMv%2FGroup%207813.png?alt=media&#x26;token=07a1e39e-091e-43b3-a46b-1f966ca68388" alt=""><figcaption></figcaption></figure>

#### **Border stroke**

When using the white-filled button, please ensure to adhere to the specs stated below.

* Border colour: **#C8C9CC**
* Border width: **1px**

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FpRiRLViOgkJwpnATjjlI%2FBg-2.png?alt=media&#x26;token=93b2b5f6-cea5-430c-99c1-512e28cd8723" alt=""><figcaption></figcaption></figure>

#### **Border radius**

Ensure that the border radius of Singpass button matches your button.

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FzkyXrzk9B56cmgUopqF6%2FGroup%207814.png?alt=media&#x26;token=49d17f5f-29fd-4025-9f66-74439fc102ed" alt=""><figcaption></figcaption></figure>

#### **Hover state**

Please adhere to the following colours, and avoid using another hover state styling.

* White-filled button hover colour: **#F5F5F7**
* Red-filled button hover colour: **#B0262D**

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2Fk7tBx9JQLCBB1R0HDtHl%2FGroup%207815.png?alt=media&#x26;token=a14a51aa-b89c-49e9-a02a-2237c1cc89bd" alt=""><figcaption></figcaption></figure>

#### **Width and height**

Please ensure that the Singpass button visually matches your primary button with the following:

* Width: **Fill to match your primary button width**
* Height: **Match your button height**

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FwtlWFWF6BFjjg875EcJ7%2FGroup%207816.png?alt=media&#x26;token=ea8ef42b-8fbc-4ce2-aca1-91da4e86696b" alt=""><figcaption></figcaption></figure>

#### **Loading state**

Please ensure that the button has a loading state as follows. The loading state should appear for the duration of time after the user clicks the button and is waiting to be redirected to the Sign portal.

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FGmCMO9Bh6Xv2CbVlcEfA%2FLoading.png?alt=media&#x26;token=bdb664f4-c95b-4e77-957d-852abacb218b" alt=""><figcaption></figcaption></figure>

## Presenting Sign with other signing options

**If users are given multiple options to sign**, with Sign as one of the options, we recommend positioning Sign as the preferred signing choice, and including the following liner to inform users of the security benefit of using Sign with Singpass:

> *By signing with Singpass, you create secure digital signatures that are highly resistant to forgery and tampering.*

<figure><img src="https://372330916-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXnljQgt54HuOtH3cKCRP%2Fuploads%2FsW1wuqYh4PUh0sR57M9o%2FMultiple%20sign%20options.png?alt=media&#x26;token=ab590f4a-409f-48b2-bcfe-09436b5463cc" alt=""><figcaption><p>Example demonstrating how this liner can be included</p></figcaption></figure>
