SuperdindaDocs
Navigation

NoticesBell

The Avisos bell (Figma "Notifications Bell (Avisos)" 175:371): system notices only (account, billing, connection, consent), never risk, which lives in Alertas.

The badge is brand purple (yellow is for risk). A 48 px button named with the count; it opens a panel (desktop) or a drawer (phone) through render, e.g. <Popover.Trigger render={<NoticesBell count={3} />} />.

<NoticesBell count={3} onClick={openNotices} />

Playground

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

Notifications Bell (Avisos)

boolean

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

Viewport · Desktop

UnreadDefaultOpenFocus
True
False

Viewport · Phone

UnreadDefaultOpenFocus
True
False

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
number0Figma `Count`: unread notices. Zero hides the badge (Figma Unread=False).
NavViewport—Figma `Viewport`: Desktop is a rounded square, Phone a circle. Leave it out to follow the space.
booleanfalseFigma State=Open, when not driven by a popup (which sets it itself).
string"Avisos"Accessible name before the count. Default "Avisos".
string—

On this page