En construcciónNumori se está construyendo en abierto. Todavía no hay nada en venta y la mayoría de las aplicaciones están sin terminar.Ver qué está listo

UiBanner

A full-width status strip that slides in above the content.

Contenido

The shape shared by the offline notice, the email-verification prompt and the update prompt: a thin, edge-to-edge bar that expands into view, states one thing with an optional icon, and collapses away when the condition clears. Driven by show, with a semantic colour, an optional message slot, top safe-area padding by default, and optional clickable / dismissible affordances that emit click and dismiss.

Ejemplos

Colours

Full-width strips in the semantic colours.

A new version is available
Everything is up to date
You're offline — changes will sync when you reconnect
Sync failed — retrying
<div class="flex flex-col gap-2">
  <UiBanner show :safe-area="false" color="info" icon="mdi:information-outline" message="A new version is available" />
  <UiBanner show :safe-area="false" color="success" icon="mdi:check-circle" message="Everything is up to date" />
  <UiBanner show :safe-area="false" color="warning" icon="mdi:wifi-off" message="You're offline — changes will sync when you reconnect" />
  <UiBanner show :safe-area="false" color="error" icon="mdi:alert-circle" message="Sync failed — retrying" />
</div>

Clickable and dismissible

Emits click when pressed and dismiss from the close control.

Your email is not verified — tap here to verify
<div>
  <UiButton class="mb-2" size="sm" @click="state.gone = false">Reset</UiButton>
  <UiBanner
    :show="!state.gone"
    :safe-area="false"
    color="info"
    icon="mdi:email-alert-outline"
    message="Your email is not verified — tap here to verify"
    clickable
    dismissible
    @dismiss="state.gone = true"
  />
</div>

Props

NombreTipoPor defectoDescripción
showbooleanfalseWhether the banner is shown; toggling it runs the slide-in / collapse-out.
colorstring'info'Colour of the bar. infosuccesswarningerrorneutral
iconstring''Optional MDI icon shown before the message.
messagestring''Message text; ignored when the default slot is used.
clickablebooleanfalseMakes the whole bar a button that emits click.
dismissiblebooleanfalseAdds a close control that emits dismiss.
dismissLabelstring'Dismiss'Accessible label for the dismiss control.
safeAreabooleantruePads for the top safe-area inset, for a banner pinned to the top of the screen.

Eventos

EventoDatosDescripción
clicknoneEmitted when a clickable banner is pressed.
dismissnoneEmitted when the close control of a dismissible banner is pressed.

Slots

SlotDescripción
defaultBanner content, in place of the message prop.