A series of design changes are needed for the Tab and TabPanel components in order to come into alignment with the updated designs.
Light Mode Screenshots
(from top to bottom) inert, hover, and focus states
![](https://github.com/user-attachments/assets/4d0fb97d-2df4-46f3-8a0c-1fe2f1d1c5cc)
Horizontal layout
![](https://github.com/user-attachments/assets/99508f2f-f213-4fd7-93bf-fdb84f15477d)
Vertical layout
![](https://github.com/user-attachments/assets/2cc3b91c-efaa-4a2a-8177-d78f5893d9f7)
Please note there is a numeric badge indicator displayed in the designs, that is not ready to implemented yet.
Dark Mode Screenshot (TBD)
No screenshot available
Implementation Details
The overall padding on the tabs has changed. The <Tab thin> size should have 8px top/bottom and 16px left/right. The non-thin size should have all around 16px padding.
Remove outer borders around Tab component
Light mode: Tab list bottom border should remain as --gray-20
Dark mode: Tab list bottom border should remain as --accent-dark
Shift overline border to an underline border (in horizontal variant)
Remove border from TabPanel component and update the padding to the tab panel:
All of the "tab panel" sizes should be able to be overridden with a variable, but otherwise default to the below values
Tab Orientation Vertical: --space-smaller Top, --space-largest on all other sides
A series of design changes are needed for the
Tab
andTabPanel
components in order to come into alignment with the updated designs.Light Mode Screenshots
(from top to bottom) inert, hover, and focus states ![](https://github.com/user-attachments/assets/4d0fb97d-2df4-46f3-8a0c-1fe2f1d1c5cc) Horizontal layout ![](https://github.com/user-attachments/assets/99508f2f-f213-4fd7-93bf-fdb84f15477d) Vertical layout ![](https://github.com/user-attachments/assets/2cc3b91c-efaa-4a2a-8177-d78f5893d9f7) Please note there is a numeric badge indicator displayed in the designs, that is not ready to implemented yet.Dark Mode Screenshot (TBD)
No screenshot availableImplementation Details
The overall padding on the tabs has changed. The
<Tab thin>
size should have 8px top/bottom and 16px left/right. The non-thin size should have all around 16px padding.Tab
component--gray-20
--accent-dark
TabPanel
component and update the padding to the tab panel:--space-smaller
Top,--space-largest
on all other sides--space-small
left/right,--space-large
top/bottomTab
components