Apps that support HUAWEI ID sign-in must comply with the HUAWEI ID Sign-In Button Usage Rules.
It is recommended that you use the icon elements provided by Huawei, to ensure that the buttons in your apps comply with Huawei's standards. HuaweiIdAuthButton is a button control provided by Account Kit to display the sign-in buttons in Huawei style. With this control, you can quickly implement a sign-in button by referring to HuaweiIdAuthButton Usage Guide.
The HuaweiIdAuthButton control is applicable only to Android apps. For other types of apps, develop the desired sign-in button by yourself.
You can click here to obtain icon elements in the format of SVG, PNG, Sketch, or EPS.
|
Brand logo |
Logo-Only Buttons
The logo height should account for 56% of the button height.
|
|
56% of the button height |
Acceptable background colors for a button include Huawei red (#CE0E2D), white (light color), and black. The Huawei red style is preferred when third-party sign-in buttons are colored. If their sign-in buttons are monochrome, you can select the white (light color) or black style based on the actual situation.
|
|
|
Huawei red |
White (light color) |
Black |
You can use the round button by default, or design a rounded corner on your own to adjust to your UI style.
|
|
|
Default |
Rounded corner |
Right-angle corner |
Requirements for buttons:
The height of a standard logo on a button should account for 60% of the button's height.
Minimum length of rounded portion: 16 dp
Minimum space between logo and text: 8 dp
|
The background color should contrast with that of the button. For instance, please avoid using a light background color next to a light button, or a dark background next to a black button, unless the button has a clear-set stroke.
|
|
|
Huawei red |
White (light color) |
Black |
You can use the capsule button by default, or design a rounded corner on your own to adjust to your UI style.
|
|
|
Default |
Rounded corner |
Right-angle corner |
White (light color) buttons can only be set against a light background when a stroke is added.
|
|
White (light color) + stroke |
Usage Case
Use buttons of different styles in different layouts as follows.

Incorrect Button Design |
Requirements on Button Design |
|---|---|
|
The button color can be changed only among white, black, and Huawei red. |
|
The background color should contrast with that of the button. For instance, the background color for a black button should be light or white. |
|
The background color should contrast with that of the button. For instance, the background color for a white or light button should be dark. |
|
Stroke should not appear on a light-colored button with a dark background. |
|
The colors of the logo and text on the button cannot be changed at random. On a light-colored button, the brand icon must use the standard color (Huawei red). |