Hemi UI / Hemi OS Reskin / Components / Tabs

Tabs

Tabs should follow this picture

Providing styles from figma to make it easier to update. No need to be followed as added, because some may be due to the design of the figma page.

Row:
display: inline-flex;
align-items: flex-start;
gap: var(--Spacing-SM, 8px);

border-bottom: 1px solid #CED1D3;
background: #FFF;

Selected Tab:
display: flex;
min-height: 45px;
padding: var(--Spacing-SM, 8px) var(--Spacing-LG, 32px);
flex-direction: column;
justify-content: center;
align-items: center;
gap: var(--Spacing-XS, 4px);

border-radius: var(--Spacing-SM, 8px) var(--Spacing-SM, 8px) 0px 0px;
border-top: 1px solid #9DA3AE;
border-right: 1px solid #9DA3AE;
border-left: 1px solid #9DA3AE;
background: linear-gradient(0deg, #FFF 0%, rgba(255, 255, 255, 0.00) 100%), #F9FAFB;

color: var(--base-black, #000);
text-align: center;
font-feature-settings: 'salt' on;
/* text-sm/semibold */
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 20px; /* 142.857% */

Unselected Tab:
display: flex;
min-height: 45px;
padding: var(--Spacing-SM, 8px) var(--Spacing-LG, 32px);
flex-direction: column;
justify-content: center;
align-items: center;
gap: var(--Spacing-XS, 4px);

border-radius: var(--Spacing-SM, 8px) var(--Spacing-SM, 8px) 0px 0px;
border-top: 1px solid var(--gray-200, #CED1D3);
border-right: 1px solid var(--gray-200, #CED1D3);
border-left: 1px solid var(--gray-200, #CED1D3);

color: var(--gray-400, #9DA3AE);
font-feature-settings: 'salt' on;
/* text-sm/semibold */
font-family: Inter;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: 20px; /* 142.857% */
Is this article helpful?
0 0 0