Files
bortstack-forge/skills/frontend-ui-design/references/pattern-selection.md
T

1.7 KiB

UI Pattern Selection Checklist

Use this as a quick decision aid, not a mandatory recipe.

Table

Use when users need to compare several repeated fields across many records and density matters. Avoid when each item has very different content or the mobile transformation becomes unusable.

List / ListGroup

Use for scan-friendly repeated items with one main identity and a small set of secondary metadata/actions.

Cards

Use when each item/section is a meaningful grouped unit with heterogeneous content. Avoid wrapping every page section in a card by default.

Dedicated form page

Use for complex, deep-linkable, high-risk, or multi-section create/edit workflows.

Modal

Use for short self-contained actions where preserving page context helps. Avoid long forms, multi-step workflows, and tasks users may need to bookmark/deep-link.

Offcanvas

Use for secondary navigation/filter/control surfaces where responsive space is constrained. Do not hide primary workflow actions without reason.

Tabs

Use for peer views within the same object/context with frequent switching. Avoid using tabs as a substitute for proper information hierarchy.

Accordion

Use for optional disclosure where users usually need only a subset of sections. Avoid hiding core task information behind collapsed panels.

Wizard / steps

Use when later inputs genuinely depend on earlier decisions, the task is long/high-risk, or progress framing materially helps. Avoid for short forms that can be completed and reviewed on one page.

Master/detail split

Use when users frequently scan a collection and inspect multiple items without losing collection context. Consider dedicated routes when deep linking, mobile use, or complex detail content matters more.