StrataKit MUI modifications
Section titled “StrataKit MUI modifications”- Added
sizeprop. <Tabs>does not support theindicatorColorprop.<Tabs>does not supporttextColor="inherit".<Tabs>does not supportallowScrollButtonsMobileorscrollButtons. Scroll buttons are automatically shown for mouse users and hidden for touch users.<Tab>default value foriconPositionis now"start".- Restyled using StrataKit’s visual language.
- Includes full
forced-colorssupport.
Examples
Section titled “Examples”Colors
Section titled “Colors”Use the textColor prop to set the tabs theme.
- Primary: The default.
- Secondary: Use when less emphasis is required.
An Icon can accompany a tab. The position of the icon be changed using the iconPosition prop.
Use a Tooltip with describeChild={false} when a tab has an icon only and no label.
Scrollable
Section titled “Scrollable”When there are too many tabs, the tab list becomes scrollable. A fade indicates additional content, and scroll buttons appear for mouse users.
- Small: Use in compact interfaces where space is limited.
- Medium: Default size, suitable for most use cases.