SuperdindaDocs
Actions

Link

Navigation text (Figma "Link" 2056:62010), always underlined so state is never colour alone.

Inline sits in running text and takes its type; Standalone stands on its own line, at least 48 px tall for touch (a long label wraps instead of overflowing). Use Button for in-page actions. External links (target="_blank") get rel="noopener noreferrer"; say "abre em nova aba" in the label.

<Link render={<NextLink href="/conta" />}>Ver detalhes da conta</Link>

Playground

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

Link

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).

Kind · Inline

ToneDefaultHoverFocusDisabled
BrandVer detalhesVer detalhesVer detalhesVer detalhes
NeutralVer detalhesVer detalhesVer detalhesVer detalhes

Kind · Standalone

ToneDefaultHoverFocusDisabled
BrandVer detalhesVer detalhesVer detalhesVer detalhes
NeutralVer detalhesVer detalhesVer detalhesVer detalhes

Props

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

PropTipoPadrãoDescrição
"inline" | "standalone" | null"inline"
"brand" | "neutral" | null"brand"
booleanfalseNo destination right now. Prefer removing the link; when it has to stay visible it renders as plain text (no href, not focusable).
ReactNode—Figma "trailingIcon" (shown on Standalone): a lucide element, e.g. <ArrowRight />.
ReactElement<unknown, string | React.JSXElementConstructor<any>>—The router's link, e.g. `render={<NextLink href="/familia" />}`.
string—
ReactNode—

On this page