@alifd/next Documentation

repository·master·Indexed 26 days ago

https://github.com/alibaba-fusion/next

A configurable React-based component library for enterprise-class backend systems, designed to ensure product experience consistency and improve collaboration between designers and developers. Version 1.27.34.

Tokens
265.6K
Snippets
399
Records
1.4K
Agent score
84%

What's inside @alifd/next

  1. Use the Card component

    master

    The Card component is a general-purpose container used to group related information into a distinct block, enhancing the modularity of an interface. It can be used in two modes:

    1. Standard Mode: Use props like title, subTitle, media, and actions to configure the card.
    2. Free Mode: Set the free prop to true. In this mode, the card relies on sub-components (Card.Header, Card.Content, etc.) for structure, and top-level props like title or subTitle will be ignored.
  2. Use the Select component for data entry

    master

    The Select component is used to replace the native HTML <select> element. It allows users to make a selection from a predefined set of options.

    Key distinction:

    • Use Select when the core requirement is selection within a limited set of options.
    • Use AutoComplete when the core requirement is assisted input (an input field with suggestions).