logoAnt Design

⌘ K
  • Design
  • Development
  • Components
  • Blog
  • Resources
5.26.1
  • Ant Design
    • Introduction
    • Design Values
    • Cases
  • Global Styles
    • Colors
    • Layout
    • Font
    • Icons
    • Dark Mode
    • Shadow
  • Design Patterns
    • Overview
    • Global Rules
      • Feedback
      • Navigation
      • Data Entry
      • Data Display
      • Copywriting
      • Data format
      • Button
      • Data List
    • Principles
      • Proximity
      • Alignment
      • Contrast
      • Repetition
      • Make it Direct
      • Stay on the Page
      • Keep it Lightweight
      • Provide an Invitation
      • Use Transition
      • React Immediately
    • Template Document
      • Visualization Page
      • Detail Page
  • Design Patterns (Research)
    • Overview
    • Template Document
      • Form Page
      • Workbench
      • List Page
      • Result Page
      • Exception Page
    • Global Rules
      • Navigation
      • Message and Feedback
      • Empty Status
  • Visualization
  • Motion
  • Illustrations
Design Goals
Design Principles
Do & Don’t
How to Design
Normal Layout
Task Decomposition and Arrangement
Specific Scenario Templates
Design Suggestions
Preparation
Layout Methods
Further Reading
Which Modules or Components to Use
External Reference

Form Page

contributors
  • OverviewWorkbench

    Resources

    Ant Design X
    Ant Design Charts
    Ant Design Pro
    Pro Components
    Ant Design Mobile
    Ant Design Mini
    Ant Design Web3
    Ant Design Landing-Landing Templates
    Scaffolds-Scaffold Market
    Umi-React Application Framework
    dumi-Component doc generator
    qiankun-Micro-Frontends Framework
    Ant Motion-Motion Solution
    China Mirror 🇨🇳

    Community

    Awesome Ant Design
    Medium
    X
    yuque logoAnt Design in YuQue
    Ant Design in Zhihu
    Experience Cloud Blog
    seeconf logoSEE Conf-Experience Tech Conference

    Help

    GitHub
    Change Log
    FAQ
    Bug Report
    Issues
    Discussions
    StackOverflow
    SegmentFault

    Ant XTech logoMore Products

    yuque logoYuQue-Document Collaboration Platform
    AntV logoAntV-Data Visualization
    Egg logoEgg-Enterprise Node.js Framework
    Kitchen logoKitchen-Sketch Toolkit
    Galacean logoGalacean-Interactive Graphics Solution
    xtech logoAnt Financial Experience Tech
    Theme Editor
    Made with ❤ by
    Ant Group and Ant Design Community

    A form page is a type of page used for information addition and entry. It ensures that users enter information according to requirements and submit it for system use or guide users in application settings.

    Design Goals

    Help users clearly understand the current page tasks, quickly find and locate modification targets, easily and accurately understand the meaning and effects of form items, while simplifying the filling process, ensuring that users can complete tasks accurately, easily, and quickly.

    Design Principles

    Efficient

    Use reasonable information organization and form components to enable users to quickly complete form page tasks.

    Clear

    1. Quickly locate important information and target options;
    2. Titles, options, and prompts accurately convey meanings;
    3. Allow users to perceive the cause and effect of different operations and respond promptly with relevant feedback.

    Security

    Reasonable mechanisms to ensure the consequences of operations, such as providing distributed or instant save mechanisms for complex forms; offering regret and quick fix functions like return, reset, cancel, clear, and undo for different scenario tasks.

    Do & Don’t

    When organizing and presenting form items on the form page, pay attention to concise expression, efficiency, and accuracy to avoid increasing the cost of user input.

    Incorrect Example
    Preview
    Incorrect Example

    Do not use different components or presentation forms for the same type of content in a form page, as it increases the user's comprehension cost.


    Correct Example
    Preview
    Correct Example
    Incorrect Example
    Preview
    Incorrect Example

    The titles and prompts of form items should not use incomprehensible words or be too long, causing high comprehension costs. If uncommon words are unavoidable, use auxiliary elements like help descriptions.


    Incorrect Example
    Preview
    Incorrect Example

    Avoid filling hints with redundant correct statements, e.g., an input hint for a form item called "Name" is "Please enter your name."


    How to Design

    Form page templates focus on the experience of submitting a single form. According to the task complexity, four layout solutions are provided:

    • Normal Layout
    • Task Decomposition and Arrangement
    • Specific Scenarios

    Normal Layout

    Lay out all the information that needs to be filled in. Suitable for forms with few content items that cannot be grouped by relevance.

    Template - Basic Form

    Preview

    When to Use

    When a simple and quick task needs to be completed, e.g., creating with minimal information input.

    Task Decomposition and Arrangement

    Decompose large, complex tasks into multiple parts and group them by relevance to reduce user input burden. Although each part is handled individually, they are ultimately submitted together. Suitable for large, complex forms. Proper task segmentation can reduce user error rates.

    Template - Basic Step Form

    Preview

    When to Use

    Organize the information users need to fill and confirm in a linear process, using step bars to inform users of the complete process and progress. Often, users are asked to confirm the information again before the final submission, and clear feedback is provided at the end of the process. Suitable for tasks with clear linear logic.

    Template - Grouped Form

    Preview

    When to Use

    When the form page requires a lot of content to be filled in a single task, and different content can be classified and summarized.

    Template - Editable List (In Development)

    When to Use

    Preview

    Dynamic Increase/Decrease: Recommended when the number of form items ≤3, and each input box does not require a separate title.


    Preview

    Editable Table: Recommended when the number of form items is between 2 and 5, so each row of content can be fully displayed.


    Preview

    Collapsible Panel Editing: Recommended when the number of form items is between 6 and 8.


    Preview

    Drawer Editing: Recommended when the number of form items is >8.


    Preview

    Rule Tree: Applied in rule editing scenarios.

    Suitable for pages that need to add one or more objects, and each object requires multiple groups of data to be added or edited.

    Specific Scenario Templates

    Template - Settings

    Preview

    When to Use

    Personal profiles, application configuration, and other settings pages are infrequently used. Generally, users will not frequently modify them after operation.

    Usage Suggestions

    Choose one setting mode per page:

    • Instant Effect Mode: Changes take effect immediately when users modify options;
    • Submission Effect Mode: Use submission effect mode when there are interdependencies among settings items.

    Determine whether to group according to the number of settings items:

    • Number <7, grouping is not recommended;
    • Number 7~15, grouping is recommended;
    • Number >15, tab grouping is recommended.

    Template - Login

    Preview

    Ant Design standard login template

    Template - Register

    Preview

    Ant Design standard registration template

    Design Suggestions

    Preparation

    • The core of a form page consists of form items. It is recommended to familiarize yourself with the basic rules of forms before designing;
    • Organize the information types involved in the user's current information entry tasks, and determine the components to be used according to the Ant Design data entry rules.

    Layout Methods

    In a single form page, reasonable layout should be made according to the amount of content to balance page display and user efficiency. Form page layout can be divided into four gradients from simple to complex, and each gradient is compatible with the previous layout method.

    Basic Layout

    Preview

    Arrange all the information to be filled out from top to bottom in a single column within one area, guiding users to read vertically. According to research, this is the most efficient layout method for task completion.

    Weak Grouping

    Preview
    Incorrect Example
    Preview
    Incorrect Example
    To avoid confusion with the reading order of weakly grouped layouts, multiple column forms are prohibited within one area.

    When space is limited, form items with shorter widths and relevant content can be grouped into one line, suggesting grouping.

    In-Area Grouping

    Preview

    When there is a lot of content in one area that can be categorized, in-area grouping can be achieved by distinguishing titles.

    Card Grouping

    Preview

    When there is a lot of content on a page (usually more than two screens) that can be categorized, card grouping can be used to carry it. Each card needs to include a large title.

    Determine Layout Method

    Preview

    The determination of which layout method to use is similar to the Detail Page, and should be sorted out from the two dimensions of information complexity and relevance. Then choose the appropriate template to quickly build the page.


    Further Reading

    Which Modules or Components to Use

    • Form
    • Steps

    External Reference

    • Label Placement in Forms