What this family solves
Inline page-level status messaging component with five semantic intents, optional icon, CTA action slot, and dismiss button.
Marwes documentation
Inline page-level status messaging component with five semantic intents, optional icon, CTA action slot, and dismiss button.
Inline page-level status messaging component with five semantic intents, optional icon, CTA action slot, and dismiss button.
Choose a semantic banner intent so persistent page-level messages remain consistent and understandable.
Persistent informational page-level messaging
Confirmation of a completed product outcome
Important caution before a problem occurs
Actionable page-level failure messaging
Choose an adapter in the verified examples. The inventory below reflects each framework package exactly.
@marwes-ui/reactBanner, ErrorBanner, InfoBanner, SuccessBanner, WarningBanner
BannerProps, ErrorBannerProps, InfoBannerProps, SuccessBannerProps, WarningBannerProps
BannerVariant
@marwes-ui/vueBanner, ErrorBanner, InfoBanner, SuccessBanner, WarningBanner
BannerProps, ErrorBannerProps, InfoBannerProps, SuccessBannerProps, WarningBannerProps
BannerVariant
@marwes-ui/svelteBanner, ErrorBanner, InfoBanner, SuccessBanner, WarningBanner
BannerProps, ErrorBannerProps, InfoBannerProps, SuccessBannerProps, WarningBannerProps
BannerVariant
These examples come from the same fixtures verified by the repository checks.
import { InfoBanner } from "@marwes-ui/react"
export function Example() {
return <InfoBanner>A new dashboard version is available. Refresh when you are ready.</InfoBanner>
}<script setup lang="ts">
import { InfoBanner } from "@marwes-ui/vue"
</script>
<template>
<InfoBanner>
A new dashboard version is available. Refresh when you are ready.
</InfoBanner>
</template><script lang="ts">
import { InfoBanner } from "@marwes-ui/svelte"
</script>
<InfoBanner>
A new dashboard version is available. Refresh when you are ready.
</InfoBanner>Banner uses Marwes preset CSS and theme variables. Customize it through the theme passed to MarwesProvider; do not add a second component stylesheet. See the theming guide for configuration and token details.