Skip to main content

White-Labeling Didit SDK: Complete Branding Guide

Learn how to fully white-label the Didit SDK for seamless integration into your brand. Customize the UI with CSS overrides and control the user experience. Start building now!.

White-Labeling Didit SDK: Complete Branding Guide

Contents

In this guide

Jump to the part you need.

White-Labeling Didit SDK: Complete Branding Guide

In today’s competitive landscape, maintaining brand consistency is crucial, even within third-party integrations. The Didit SDK offers extensive SDK customization options, allowing you to deliver a seamless, branded identity verification experience to your users. This guide provides a comprehensive overview of Didit SDK white-labeling, covering CSS overrides, theming, and best practices to ensure a fully branded integration.

Key Takeaway 1 The Didit SDK is designed for deep customization. You can completely alter the look and feel to match your brand guidelines.

Key Takeaway 2 White-labeling is primarily achieved through CSS overrides, providing granular control over visual elements.

Key Takeaway 3 Consider using a CSS-in-JS solution for managing complex themes and maintaining consistency across your application.

Key Takeaway 4 Thorough testing is essential after applying customizations to ensure a smooth and consistent user experience.

Understanding the Didit SDK Architecture for Customization

The Didit SDK utilizes a modular architecture, providing a flexible foundation for SDK branding. The core verification logic is separated from the UI components, allowing you to modify the visual presentation without altering the underlying functionality. The SDK’s UI is built using standard web technologies (HTML, CSS, JavaScript), making it easy to customize using familiar tools. The primary method for SDK white-labeling is through CSS overrides, allowing you to target specific elements and apply your own styles.

CSS Overrides: The Core of White-Labeling

The most effective way to customize the Didit SDK’s appearance is through CSS overrides. The SDK provides a set of pre-defined CSS classes that you can target with your own styles. Here’s a breakdown of how to use CSS overrides:

  • Global Styles: Use a global stylesheet to define base styles for common elements like fonts, colors, and button styles.
  • Specific Overrides: Target specific components with more granular styles. For example, to change the color of the “Verify” button, you might use a selector like .didit-button--primary.
  • Specificity: Be mindful of CSS specificity. Use more specific selectors if your styles aren’t being applied.

Example:

/* Change the primary button color */
.didit-button--primary {
  background-color: #YOUR_BRAND_COLOR !important;
  color: white !important;
}

/* Change the input field border color */
.didit-input input {
  border-color: #YOUR_BRAND_COLOR !important;
}

Important: The !important flag may be necessary to override the SDK’s default styles. However, use it cautiously, as it can make your CSS harder to maintain. Consider a more specific selector as a first approach.

Advanced Theming with CSS-in-JS

For more complex theming scenarios, consider using a CSS-in-JS solution like Styled Components or Emotion. These libraries allow you to define styles using JavaScript, making it easier to manage themes and dynamically switch between them. CSS-in-JS can also help with component scoping, preventing style conflicts.

Example (Styled Components):

import styled from 'styled-components';

const StyledButton = styled.button`
  background-color: ${props => props.theme.primaryColor};
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
`;

Customizing the SDK’s Flow & Components

Beyond visual styling, you can also customize certain aspects of the SDK’s flow. For example, you can:

  • Custom Error Messages: Replace the default error messages with your own branded messages.
  • Custom Loading Indicators: Use your own loading animations instead of the default ones.
  • Component Rendering (with API access): For advanced customization, use the Didit API to control the rendering of specific components, allowing you to build a completely custom UI around the core verification logic.

How Didit Helps with White-Labeling

Didit simplifies the Didit SDK white-labeling process by providing:

  • Detailed Documentation: Comprehensive documentation outlining all available CSS classes and customization options.
  • Example Themes: Pre-built themes that you can use as a starting point for your own customizations.
  • Dedicated Support: Access to our support team to assist with any customization challenges.
  • Flexible Architecture: The modular design allows deep customization without impacting core functionality. Didit’s approach prioritizes developer control.

Ready to Get Started?

Transform the Didit SDK into a seamless extension of your brand! Here are some resources to help you get started:

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.