Banner

Playground

Properties

Tone
Action

Content

Message
Button

Usage

Add label and actions. Banner does not dismiss itself; your app provides the close button and controls whether it is shown.

'use client';
import { Banner } from '@mbsw/ui';

export default function Example() {
  return <Banner tone="primary" label={"Text"} />;
}

The Playground Code tab includes the full example with your current settings. See Installation for the CSS imports.

Composition