• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zendeskgarden / react-components
97%

Build:
DEFAULT BRANCH: main
Repo Added 27 Jul 2018 08:47PM UTC
Files 676
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • agreen/modal-header-overflow
  • bbrzoska/default-header-cell-scope
  • bbrzoska/flatten-menu-fragments
  • bbrzoska/inherit-split-button-variants
  • chore/pin-node-24
  • chore/remove-v9-figma-links
  • chris-schneider/migrate-default-props
  • chris.schneider/2025-08-27/migrate-default-props
  • chris.schneider/2026-02-26/styled-anchor-as-prop
  • dependabot/npm_and_yarn/axios-1.13.2
  • dependabot/npm_and_yarn/axios-1.16.1
  • dependabot/npm_and_yarn/axios-1.8.4
  • dependabot/npm_and_yarn/babel/runtime-7.27.0
  • dependabot/npm_and_yarn/brace-expansion-5.0.6
  • dependabot/npm_and_yarn/esbuild-0.27.2
  • dependabot/npm_and_yarn/form-data-4.0.5
  • dependabot/npm_and_yarn/js-yaml-3.14.2
  • dependabot/npm_and_yarn/multi-09e4b83469
  • dependabot/npm_and_yarn/multi-96c788614a
  • dependabot/npm_and_yarn/qs-6.14.1
  • dependabot/npm_and_yarn/qs-6.14.2
  • dependabot/npm_and_yarn/rollup-4.59.0
  • dependabot/npm_and_yarn/store2-2.14.4
  • dependabot/npm_and_yarn/storybook-10.1.10
  • dependabot/npm_and_yarn/storybook-10.2.10
  • dependabot/npm_and_yarn/svgo-3.3.3
  • dependabot/npm_and_yarn/vite-6.4.1
  • dependabot/npm_and_yarn/webpack-5.105.0
  • feat/segmented-control
  • fix/listbox-menulist-unmount-guard
  • fix/remove-stylelint-disables
  • fix/tooltip-dialog-window-bounds
  • fix/update-tar-undici
  • george/chrome-mapping
  • george/chrome-navitems
  • george/colorpickers-rename
  • george/container-combobox-v2
  • george/dp-input-message
  • george/drag-drop-v9
  • george/drawer-rename
  • george/dropdowns-list-style-fix
  • george/forms-subcomp-map
  • george/main-sync-8.76.0
  • george/menu-links
  • george/next-references
  • george/notif-recolor-ga-alt
  • george/notifications-mapping
  • george/notifications-recolor
  • george/remove-sidebar
  • george/remove-theme-utils
  • george/sm-storybook
  • george/styled-5.1
  • george/styled-5.3.1
  • george/styled-icon-base
  • george/styled-icon-refactor
  • george/table-component-mapping
  • george/table-recolor
  • george/tabs-tooltips-mapping
  • gianluca/modals-environment
  • jese310s/add-sortable-cell-labels
  • jessica.sole/px-2592-stories-cleanup
  • jessica.sole/px-2596-button-states
  • jessica.sole/px-2597-form-borders
  • jgorfine/GA11YFIX-408/tooltip-dialog-width
  • jgorfine/add-switch-role-to-toggle
  • jgorfine/combobox-autocomplete-bug-fix
  • jgorfine/datepicker-bug-bash/1.5/input-group-variant
  • jgorfine/datepicker-bug-bash/1/console-warning
  • jgorfine/datepicker-bug-bash/2/datepicker-calendar-button
  • jgorfine/fix-short-modal-overflow-bug
  • jgorfine/pane/splitter-button-islabel
  • jgorfine/toggletip
  • jzempel/arrow-styles
  • jzempel/avatar-fixes
  • jzempel/avatar-statuslabel
  • jzempel/bump-containers
  • jzempel/bump-usemodal
  • jzempel/checkbox-label
  • jzempel/checkerboard-util
  • jzempel/circle-config
  • jzempel/color-scheme
  • jzempel/color-scheme-localstorage
  • jzempel/color-tweaks
  • jzempel/combobox-behavior
  • jzempel/component-styles
  • jzempel/config-format
  • jzempel/container-bump
  • jzempel/container-tooltip
  • jzempel/deprecate-chrome
  • jzempel/enhance-variables
  • jzempel/fix-colorschemeprovider
  • jzempel/fix-placement
  • jzempel/fix-transient
  • jzempel/fix-usetext
  • jzempel/floating-ui
  • jzempel/get-color
  • jzempel/getcolor-rgba
  • jzempel/getcolor-shades
  • jzempel/global-alert-shadow
  • jzempel/hidden-avatar
  • jzempel/include-node-modules
  • jzempel/item-anchor
  • jzempel/kbd-font
  • jzempel/menu-anchor
  • jzempel/modal-events
  • jzempel/new-kbd
  • jzempel/palette
  • jzempel/placement-utils
  • jzempel/playground
  • jzempel/popup-tooltips
  • jzempel/recolor-buttons
  • jzempel/recolor-chrome
  • jzempel/recolor-dropdowns
  • jzempel/recolor-forms
  • jzempel/recolor-tags
  • jzempel/splitter-a11y
  • jzempel/table-header
  • jzempel/theme-variables
  • jzempel/up-main
  • jzempel/update-modal-container
  • jzempel/update-renovate
  • jzempel/upgrade-menu
  • jzempel/upgrade-modals
  • jzempel/upgrade-tooltip
  • jzempel/v10
  • jzempel/v8-getcolor
  • jzempel/x-focusvisibleref
  • jzempel/x-get-color
  • jzempel/x-renderToString
  • jzempel/xxs-avatar
  • kgoggin/fix-dots-delay
  • master
  • next
  • next-color
  • port/v9.15.x-to-main
  • renovate/actions-checkout-6.x
  • renovate/actions-checkout-7.x
  • renovate/actions-configure-pages-6.x
  • renovate/actions-deploy-pages-5.x
  • renovate/actions-setup-node-6.x
  • renovate/actions-setup-node-7.x
  • renovate/actions-upload-pages-artifact-4.x
  • renovate/actions-upload-pages-artifact-5.x
  • renovate/commander-13.x
  • renovate/commander-14.x
  • renovate/commander-15.x
  • renovate/coverallsapp-github-action-2.x
  • renovate/eslint-config-prettier-10.x
  • renovate/eslint-plugin-jest-28.x
  • renovate/inquirer-13.x
  • renovate/inquirer-14.x
  • renovate/jsdom-29.x
  • renovate/lint-staged-16.x
  • renovate/major-dnd-kit-monorepo
  • renovate/major-eslint-monorepo
  • renovate/major-lerna-monorepo
  • renovate/major-storybook-monorepo
  • renovate/major-typescript-eslint-monorepo
  • renovate/npm-qs-vulnerability
  • renovate/npm-rollup-vulnerability
  • renovate/npm-storybook-vulnerability
  • renovate/npm-vite-vulnerability
  • renovate/npm-vitest-vulnerability
  • renovate/npm-webpack-vulnerability
  • renovate/packages-minor-patch
  • renovate/pnpm-action-setup-5.x
  • renovate/rollup-plugin-commonjs-29.x
  • renovate/rollup-plugin-node-resolve-16.x
  • renovate/shared-minor-patch
  • renovate/storybook-addon-designs-10.x
  • renovate/storybook-addon-designs-11.x
  • renovate/stylelint-order-7.x
  • renovate/typescript-6.x
  • renovate/zendeskgarden-eslint-config-45.x
  • renovate/zendeskgarden-eslint-config-47.x
  • renovate/zendeskgarden-stylelint-config-23.x
  • renovate/zendeskgarden-svg-icons-8.x
  • revert-1726-jzempel/colorswatch-focus
  • ryan/travis_speedup_take2
  • sayan/fix-combobox-inputvalue-preview
  • v10/accordion
  • v10/accordion-well
  • v10/breadcrumb
  • v10/build-imports
  • v10/build-output
  • v10/button
  • v10/chore-deprecated
  • v10/colorpicker
  • v10/datepicker
  • v10/dependency-prs
  • v10/dropdown
  • v10/fix-combobox
  • v10/fix-icons
  • v10/fix-notification
  • v10/form
  • v10/grid
  • v10/loader
  • v10/migration-guide
  • v10/modal
  • v10/notification
  • v10/pagination-draggable
  • v10/sc-agnostic-types
  • v10/setup
  • v10/skiplibcheck-types
  • v10/story-deps
  • v10/styled-components
  • v10/tab-tooltip
  • v10/table-restyle
  • v10/table-sheet-skipnav
  • v10/tabs-restyle
  • v10/tag
  • v10/theming
  • v10/theming-stories
  • v10/tiles-restyle
  • v10/typography
  • v10/withtheme
  • v10/withtheme-end
  • v6
  • v7
  • v8
  • v9
  • x-retrievecomponentstyles
  • ze-flo/CCI-to-GHA
  • ze-flo/a11y-toast
  • ze-flo/button-override-attrs
  • ze-flo/chroma-light
  • ze-flo/combobox-autoscroll-fix
  • ze-flo/combobox-dropdown-flicker-fix
  • ze-flo/combobox-nvda-fix
  • ze-flo/combobox-scroll-fix
  • ze-flo/fallback_placements
  • ze-flo/faster-builds
  • ze-flo/fix-dist-tags
  • ze-flo/fix-ismounted-regression
  • ze-flo/menu-blur-fix
  • ze-flo/menu-link-menu-items
  • ze-flo/menu-links
  • ze-flo/menu-links-anchor-props-preview
  • ze-flo/menu-shadow-root-fix
  • ze-flo/menu-shadow-root-fix-preview
  • ze-flo/modal-onblur-fix
  • ze-flo/modal-recolor
  • ze-flo/publishing-lates-tag-fix
  • ze-flo/restore-demo-api-docs
  • ze-flo/revert-v9.15.1-ci-fix
  • ze-flo/stepper-content-fix
  • ze-flo/stepper-content-overflow-fix
  • ze-flo/storybook-6.3.12-compatibility-fix
  • ze-flo/storybook-migration
  • ze-flo/tabs-recolor
  • ze-flo/test1
  • ze-flo/theming-border-fix
  • ze-flo/tooltip-dialog-keep-mounted
  • ze-flo/tooltip-upgrade
  • ze-flo/tree-shaking-spike
  • ze-flo/typography-recolor
  • ze-flo/unified-input-group-variant
  • ze-flo/use-menu-fix-test

18 Nov 2026 08:35PM UTC coverage: 97.359% (+0.07%) from 97.294%
44392675742

push

github

web-flow
feat(segmented-control): port SegmentedControl to v10 (#2200)

Adds `SegmentedControl`, a radio group of two or more segments where a pill slides to the selected segment with a spring animation. Segments are `SegmentedControl.Segment` children. It supports a compact density (`isCompact`), full width (`isFullWidth`), and controlled or uncontrolled selection (`value` or `defaultValue`). With neither, nothing is selected until the user chooses a segment.

Behavior

- Native radio inputs inside a `role="radiogroup"`. The radios share a `name`, so the browser provides one Tab stop (the selected segment, or the first when none is selected).
- Arrow keys move focus and selection, wrap at either end, and flip in RTL. Space selects.
- The pill is decorative (`aria-hidden`). It springs on pointer selection, snaps on keyboard selection, and snaps under `prefers-reduced-motion`. Selection state never waits for the pill to be measured.
- Forced-colors mode outlines the selected segment.
- Development warnings: no accessible name, and duplicate segment values.

Differences and limits

- `isCompact` replaces a `size` enum, because there are only two densities.
- Transition timings are named constants, because Garden has no motion tokens.
- There is no `dir` prop. Direction follows `theme.rtl`.
- The pill is separated from the track by its shadow only, as in the design. That measures 1.11:1 (light) and 1.25:1 (dark) against the track, below the 3:1 in WCAG 1.4.11 (non-text contrast).
- A disabled state, a `name` prop and per-segment `disabled` are not part of this change.
- Standalone use only. Toolbar use is not supported.
- The control never shrinks below its labels, so many segments overflow narrow containers.

Verification

- Unit tests cover selection, keyboard behavior (including RTL and wrapped or conditional segments), warnings, and styling.
- Lint, typecheck, build and the package check pass.
- Checked in Chromium: light and dark mode, Bedrock, keyboard focu... (continued)

3931 of 4166 branches covered (94.36%)

Branch coverage included in aggregate %.

226 of 226 new or added lines in 13 files covered. (100.0%)

6979 of 7040 relevant lines covered (99.13%)

1502.88 hits per line

Relevant lines Covered
Build:
Build:
7040 RELEVANT LINES 6979 COVERED LINES
1502.88 HITS PER LINE
Source Files on main
  • Tree
  • List 637
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44392675742 main feat(segmented-control): port SegmentedControl to v10 (#2200) Adds `SegmentedControl`, a radio group of two or more segments where a pill slides to the selected segment with a spring animation. Segments are `SegmentedControl.Segment` children. It... push 18 Nov 2026 08:39PM UTC web-flow github
97.36
44184541806 main fix(styles): remove leftover stylelint-disable comments (#2203) Co-authored-by: Cursor <cursoragent@cursor.com> push 17 Nov 2026 09:56PM UTC web-flow github
97.29
44153750618 main chore(deps-dev): override tar and undici to patched versions (#2205) ## Description Adds scoped pnpm overrides so the dev-only `tar` and `undici` dependencies resolve to patched releases, addressing the open Dependabot alerts for both. Nothing i... push 17 Nov 2026 07:02PM UTC web-flow github
97.29
43927852108 main feat(tab): apply the new tabs design and add an overflow menu (#2202) push 16 Nov 2026 06:25PM UTC web-flow github
97.29
43922698289 main chore(demo): remove outdated v9 Figma links (#2201) Co-authored-by: Cursor <cursoragent@cursor.com> push 16 Nov 2026 05:54PM UTC web-flow github
97.07
42920710048 main feat(table): restyle the table views (#2199) push 10 Nov 2026 11:10PM UTC web-flow github
97.07
41724544795 main fix(theming): require a ThemeProvider and remove the DefaultTheme augmentation (#2196) push 03 Nov 2026 09:48PM UTC web-flow github
97.06
41703895634 main fix: make the declarations typecheck without skipLibCheck (#2193) push 03 Nov 2026 07:33PM UTC web-flow github
96.94
41701236126 main refactor: type the theme in views with WithTheme (#2195) push 03 Nov 2026 07:17PM UTC web-flow github
96.94
41699869946 main chore(types): typecheck the source against the styled-components 5 types (#2194) push 03 Nov 2026 07:09PM UTC web-flow github
96.94
See All Builds (9064)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc