SuperdindaDocs
Backoffice

AreaTab

One area of the console (Figma "Backoffice / Area Tab" 2056:42039): Default, Hover, Focus, Active, Disabled.

Inactive labels are Console/SM regular, as shipped; Disabled is muted-foreground at 45%.

<AreaTab current href="/">Visão geral</AreaTab>

Playground

Um preset por valor do primeiro eixo do Figma. Mude as props; dsState força hover, foco ou pressionado, como na matriz.

Backoffice / Area Tab

boolean
boolean
number

Variantes, tamanhos e estados

Cada célula é o componente real, marcada com a variante do Figma que reproduz (passe o mouse pra ver o node).

DefaultHoverFocusActiveDisabled
Visão geralVisão geralVisão geralVisão geralVisão geral

Props

As props que o arquivo do DS declara. O componente também repassa as do primitivo (base-ui), quando ele tem um.

AreaTabsProps

PropTipoPadrãoDescrição
string—

AreaTabProps

PropTipoPadrãoDescrição
booleanfalseThe area the page lives in: foreground label + 2 px underline, aria-current="page".
booleanfalseAn area with no routes yet: greyed, not focusable, no link (never "em breve").
ReactNode—Figma "count" (showCount): a number after the label.
ReactElement<unknown, string | React.JSXElementConstructor<any>>—The router's link, e.g. `render={<NextLink href="/clients" />}`.
string—
ReactNode—

On this page