Banner

Playground

Properties

Tone
Action

Content

Message
Button

Usage

label과 actions를 조합합니다. 자동으로 닫히지 않습니다. 닫기 버튼과 표시 상태는 앱에서 관리합니다.

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

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

Playground의 Code 탭에서 현재 설정과 동작이 포함된 예제 전체를 복사할 수 있습니다. 공통 CSS 설치는 설치하기를 확인하세요.

Composition