Specs & Guidelines

The Phone Number Input module includes complete Figma specifications documenting spacing, layout rules, typography tokens, and language variants. These specs ensure consistency across platforms and allow localized versions of the UI to scale without breaking the layout.


Open Screens Specs in Figma (Link coming soon)



Responsiveness & Viewport Adaptation

The Phone Number Input module is fully responsive and adapts seamlessly to a wide range of device sizes and aspect ratios. The layout is designed to remain consistent and predictable whether the user is on a small phone, large phone, foldable device, or tablet.

This ensures that key interactive areas, such as the input area, country selector, and primary CTA always remain visible and reachable without requiring scrolling or zooming.


How the layout adapts across devices

BreakpointBehavior
Small phones (e.g., iPhone SE)Components stack vertically; country selector and input field scale slightly
Standard phones (iPhone 12–16)Full layout displayed with consistent spacing and button hierarchy
Tall/narrow Android devicesVertical spacing adjusts dynamically to maintain visual balance
Foldables (e.g., Pixel Fold)Input group stays centered; margins expand symmetrically
TabletsWider margins with proportional input scaling; buttons stay centered
Desktop webContent is centered with fixed max-width and extended safe padding

What is responsive (and customizable)

ElementResponsive BehaviorCustomizable
Input field & labelScale and align based on viewport widthBorder, color, placeholder
Country selectorExpands in width proportionally to maintain spacingIcon, surface, border color
ButtonsWidth adjusts; spacing below inputs adaptsColor & text
Countdown textReflows beneath inputs; stays visible on all devicesYes, fully localizable
Footer / watermarkPinned to bottom safe areaOptional
Background surfacesFill full viewport; safe padding adjusts per deviceYes
Header areaPadding and alignment scale with safe insetsLimited (color only)

What remains fixed across breakpoints

ElementReason
OTP verification logicCore function — must stay consistent
Input field proportionsEnsures usability and recognition consistency
Minimum text sizeMaintains WCAG readability standards
Minimum tap target sizesAccessibility requirement across devices
Layout hierarchyPreserves visual predictability and rhythm

Design Notes

  • Input grouping (country code + phone field) should always be treated as a single logical component.
  • Button placement remains consistent across states (focused, disabled, success) to maintain predictability.
  • The module is built for fast entry — avoid introducing animations or long transitions between states.
  • Keep vertical spacing consistent with other verification steps (e.g., OTP entry) to support modular flow design.
  • Typography tokens ensure clear contrast and legibility even in dark mode; test brand overrides for sufficient color ratios.

Open Screens Responsiveness in Figma (Link coming soon)



Desktop & Tablet Guidelines

The module is fully responsive and adapts gracefully to larger viewports. The Figma file includes guidelines for layout adjustments, safe areas, proportion scaling, and interaction differences between touch and pointer-based devices.


Open Desktop & Tablet Guidelines in Figma (Link coming soon)



Prototype & Transitions

Phone Number Input includes predefined transition rules and micro-interactions that ensure a smooth user experience. Animation guidelines are documented directly in Figma prototypes.


Open Prototype & Transitions in Figma (Link coming soon)



Localization

The Phone Number Input module supports full localization and is designed to adapt to languages with different lengths, line breaks, and reading patterns. The Figma file includes examples for long, short, and multi-line translations to ensure layouts remain stable across regions.


Key considerations

  • All user-facing text (titles, labels, placeholders, buttons, countdowns) is fully localizable.
  • Text element's width and padding flex to accommodate longer translations (e.g., German, Portuguese).
  • Spacing tokens adjust dynamically to preserve vertical rhythm in longer translations.

Open Screens Localization in Figma (Link coming soon)