For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/components/tree-select.md.
v0.0.57
  • English
  • TreeSelect

    Data Entry@rockshin/tao-ui

    Select values from hierarchical options with search, multiple selection and linked checkboxes.

    Each example can be copied and run independently. Use the device control on framed previews to switch between desktop and phone widths.

    Sizes are small, medium and large; the compatible middle alias uses the same dimensions as medium.

    Examples

    Searchable single selection

    Use treeNodeFilterProp="title" when the title is the searchable label.

    TSX

    Controlled multiple values

    Use a value array and responsive tag overflow for a compact input.

    TSX

    Parent and child checks

    SHOW_PARENT displays the parent when all enabled descendants are selected.

    Product
    TSX

    Keep the selected label

    labelInValue returns an object containing the value and its rendered label.

    Design

    Value: design

    TSX

    Flat data with parent IDs

    treeDataSimpleMode converts id/pId records into a tree without changing your API response shape.

    Choose a team
    TSX

    Map field names

    Map label, value and children when server data uses different names.

    Choose a region
    TSX

    Sizes, variants and status

    Local appearance props override the provider defaults.

    Design
    Review selection
    Team required
    Web
    TSX

    Narrow-screen selection

    The popup stays within the phone viewport. TreeSelect uses its tree popup on both desktop and mobile.

    390 × 640
    TSX

    API

    TreeSelect

    PropertyDescriptionTypeDefault Value