Component changelog

ToggleGroup changelog

Component-specific release notes collected from the full changelog. This page filters the published entries that mention ToggleGroup.

Release

v1.2.0

npm
Minor Changes
  • 07e6783: Add DirectionProvider and useDirection. Wrap an RTL app once with <DirectionProvider dir="rtl"> and every Rad UI component inside uses right-to-left keyboard navigation and positioning: Tabs, TabNav, ToggleGroup, Toolbar, RadioGroup, CheckboxGroup, Accordion, Menubar, menus, NavigationMenu, Splitter, Slider, Select and Combobox. A component's own dir prop still wins. Set dir on <html> as well so text and CSS follow.

  • 18cb779: Add variant and size to ToggleGroup.Root (as data-variant / data-size). The default theme adds variant="soft", a padded track with the pressed item as a raised pill and no dividers (a view switcher), and size="small" for dense toolbars. The current look stays the default.

Patch Changes
  • befc825ToggleGroup.Root takes multiple as a shorthand for type="multiple".

Release

v1.0.0

npm
Patch Changes
  • ebe6ba7Document Toggle and Toggle Group keyboard interactions and ARIA references.

Release

v0.4.0

npm
Patch Changes
  • 5b55d3cRefresh ToggleGroup and Toolbar styles to match the segmented neutral treatment (shared borders, gray fills, internal dividers). Fix Toolbar link/button layout after all: unset by restoring inline-flex row alignment. Expand Link and Toolbar Storybook examples for icons (leading, trailing, icon-only) and correct WithIcon column alignment with items-start.