Web Form 2.0 Public Documentation

Components

General

Beyond colors and typography, you can customize the appearance of individual interface elements, including buttons, input fields, links, shapes, shadows, and icons.

Buttons

The form uses two button types: primary buttons for main actions and secondary buttons for supporting actions. Each can be styled independently.

  • Primary button — choose between a solid fill or a gradient.

  • Secondary button — choose between a text-only or outlined style.

You can also configure the corner radius of buttons independently from the global shape setting.

grafik-20260615-112637.png
grafik-20260615-112649.png

 

Input Fields

When an input field receives focus, its border is highlighted. You can use either the primary brand color or a neutral divider color for a more subtle appearance.

grafik-20260615-113001.png
grafik-20260615-113010.png

Links can use either the primary brand color or a neutral color that blends more closely with the surrounding text.

grafik-20260615-113618.png
grafik-20260615-113630.png

 

Shape

The global corner radius defines the default shape of elements such as cards, input fields, and buttons.

Individual components, such as buttons, can override the global radius with their own settings.

grafik-20260615-114015.png
grafik-20260615-114030.png

Shadows

You can define a CSS shadow that is applied consistently to elevated surfaces throughout the form. This allows you to customize properties such as offset, blur, spread, and shadow color.

grafik-20260615-114402.png
grafik-20260615-114414.png

Icons

The icon displayed during verification method selection can use either the primary brand color or the default text color.

grafik-20260615-114821.png
grafik-20260615-114831.png

 


Technical Setup

Component styling is configured under theme in the profile. All fields are optional — for any field you omit, the finAPI default applies.

Fields

Paths are relative to theme.

Field

Values

Description

components.button.primary.variant

FLAT | GRADIENT

How the primary buttons are filled. FLAT is one solid color, GRADIENT a gradient between the primary colors.

components.button.secondary.variant

TEXT | OUTLINED

How the secondary buttons are rendered. TEXT is plain text without a border, OUTLINED adds a border around the text.

components.button.borderRadius

integer, 0–65535

Corner radius for buttons in pixels, overriding the global shape setting

components.input.highlightColor

PRIMARY | DIVIDER

Which color highlights an input field when it is focused or hovered — its border and glow. PRIMARY uses palette.*.primary.main, DIVIDER uses palette.*.divider for a neutral, subtle highlight.

components.link.color

PRIMARY | NEUTRAL

Which color the links are rendered in. PRIMARY uses palette.*.primary.main in normal weight, NEUTRAL uses palette.*.text.primary in bold, so links stand out by weight rather than color.

components.icon.verificationMethod.color

PRIMARY | TEXT

Which color the verification method icons (photoTAN, pushTAN, …) are rendered in. PRIMARY makes them stand out in the brand color, TEXT blends them in with the body text.

shape.borderRadius

integer, 0–65535

The corner radius of the web form elements, in pixels

shadows

CSS box-shadow string

The shadow applied to the elevated elements of the web form. Up to 512 characters.

shadows accepts only letters, digits, spaces and the #, %, (, ), ,, . and - characters.

Example

JSON
{
  "theme": {
    "shape": {
      "borderRadius": 8
    },
    "shadows": "rgba(0, 0, 0, 0.12) 0px 2px 8px 0px",
    "components": {
      "button": {
        "primary": { "variant": "GRADIENT" },
        "secondary": { "variant": "OUTLINED" },
        "borderRadius": 24
      },
      "input": {
        "highlightColor": "PRIMARY"
      },
      "link": {
        "color": "PRIMARY"
      },
      "icon": {
        "verificationMethod": { "color": "PRIMARY" }
      }
    }
  }
}