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/form-layout.md.
v0.0.57
  • English
  • FormLayout

    Layout@rockshin/tao-ui

    Arranges form content with consistent label and control alignment.

    When to use

    Use FormLayout to keep dense forms aligned and predictable.

    Recommended

    • Use one layout strategy per form.
    • Prefer vertical layout on narrow screens.

    Avoid

    • Do not use the component outside its intended interaction model.

    Examples

    Basic usage

    Account

    Your login details.

    TSX

    Multiple sections

    Profile

    Visible to your teammates.

    Contact

    Used for account notifications.

    TSX

    Semantic customization

    Layout width is customized through the stable root part.

    TSX

    Complete form composition

    Compose layout, fields, and actions with native submission feedback.

    Profile

    Public workspace information

    A short introduction

    No changes saved
    TSX

    Responsive form columns

    Use CSS Grid on the semantic root to collapse to one column when space is limited.

    390 × 640
    TSX

    Grouped form sections

    Use section titles for hierarchy and the outer layout for spacing.

    Account

    Identity and contact

    Notifications

    Delivery preferences

    TSX

    API

    FormLayout

    PropertyDescriptionTypeDefault Value
    classNameAdditional css classstring | undefined-
    styleAdditional styleCSSProperties | undefined-