Esri/calcite-design-system

[Tabs]: Allow smaller gap between tab-titles

Aperta

#13.724 aperta il 19 gen 2026

 (4 commenti) (0 reazioni) (0 assegnatari)TypeScript (88 fork)auto 404
ArcGIS Scene Viewerc-tabcalcite-componentscalcite-design-tokensenhancementestimate - 2good first issueimpact - p3 - not time sensitivep - low

Metriche repository

Star
 (367 stelle)
Metriche merge PR
 (Merge medio 22g 2h) (74 PR mergiate in 30 g)

Descrizione

monday.com sync: #11038671226

Check existing issues

Which Component

Tab

Description

Proposed: allow the user to adjust the gap between tab-titles

(e.g. by exposing --calcite-internal-tab-nav-gap?)

Acceptance Criteria

  • let the user reduce the gap – or reduce the gap according to width – to enhance compact layouts

Relevant Info

No response

Example Use Case

We use calcite-tabs in the header of "Scene tools" in Scene Viewer. This is a compact, fixed-width UI, with 5 icon-only tab-titles. The whole calcite-tab-nav is 248px wide.

With the gap between tab-titles being fixed to --calcite-internal-tab-nav-gap the width of each tab is limited to 25px

Reducing the gap would make the buttons more easy to click

E.g.

Priority impact

impact - p3 - not time sensitive

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Scene Viewer

Guida contributor