Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • visibilityPolicySetId – Determines the visibility of the component based on policy sets. For example, setting to "adminOnlyPolicy" ensures the tab panel only appears for users with admin privileges.

Guidelines

  • [NO DATA AVAILABLE]

Accessibility

Usage

  • Use the Vertical Tab Panel to group related sections by defining tabs in elements (DynamicVerticalTabComponent) and, if needed, a persistent footer via DynamicVerticalTabPanelFooterComponent.
  • Place actions that apply to all tabs (e.g., Save/Cancel) in the persistent footer, not inside individual tabs.

Sizing & Layout

  • Apply internal spacing with paddingClass so content isn’t flush to edges.
  • Order tabs via the sequence of elements to match the intended workflow.
  • Use displayName to label the panel for authors (structure view only).

States & Feedback

  • Mark unavailable tabs with disabled: true so they cannot be selected.

Data-Driven / Conditional Behavior

  • Use per-tab disabled for data-dependent availability and setActiveTab for data-driven navigation where appropriate (avoid repeated flips during load).

Visibility & Authorization

  • Gate the entire panel with visibilityPolicySetId when access must be restricted.
  • Keep test targeting stable regardless of visibility with dataTestId.

Content & Localization

  • Localize every tab label using tabNameTranslations; keep labels short and specific.
  • When helpful, add an icon next to a label using showIcon + iconName; do not replace the text label.

Dos & Don’ts

DoDon’tArticle setting(s)
Define only the tabs you need and in the order users expect.Add many loosely related tabs or randomize the order.elements
Localize each tab label.Ship English-only labels.tabNameTranslations
Use an icon to reinforce meaning with text.Replace the tab label with an icon alone.showIcon, iconName, tabNameTranslations
Disable tabs that aren’t available yet.Let users navigate into non-functional tabs.disabled
Put cross-tab actions in the persistent footer.Duplicate the same action inside every tab.DynamicVerticalTabPanelFooterComponent, elements
Set the initial tab once on init.Switch tabs multiple times during load.ON_INIT, setActiveTab
Add internal padding for readable content.Leave content flush to panel edges.paddingClass
Gate the entire panel by policy when needed.Show the panel to all users and rely on downstream errors.visibilityPolicySetId
Add stable automation hooks.Target by visible text that may change.dataTestId, id

Accessibility

  • Provide localized, concise tab labels announced clearly by assistive tech. (tabNameTranslations)
    • Keep labels short and unambiguous across locales. (tabNameTranslations)
  • Prevent interaction with unavailable content by disabling tabs. (disabled)
  • Support recognition by pairing text labels with optional icons (never icon-only). (showIcon, iconName)
  • Ensure stable automation and a11y checks via deterministic hooks. (dataTestId)
  • Hide the entire panel when access is denied to avoid dead-ends. (visibilityPolicySetId)
  • Improve readability by applying appropriate internal spacing. (paddingClass)[NO DATA AVAILABLE]