컴포넌트
Alerts & Notifications

Alerts & Notifications

알림은 사용자에게 시스템 상태나 작업 결과를 전달하는 컴포넌트입니다. Alert는 페이지 안에 인라인으로 배치되어 정보를 알리고, Notification은 토스트 카드 형태로 일시적으로 떠 있다가 사라집니다.

Figma 컴포넌트: Alert, Notification


Alert

Floating

페이지 안에 인라인으로 배치하는 카드 형태입니다. 6가지 컬러 변형이 있습니다.

Without actions

actions를 생략하면 텍스트만 표시됩니다.

Without dismiss

dismissible={false}로 닫기 버튼을 숨길 수 있습니다.

Full-width

페이지 상단에 가로 전체로 깔리는 형태입니다. 시스템 안내, 공지에 적합합니다.


Notification

토스트 형태의 카드 알림입니다. 어두운 배경에 흰색 텍스트로 강조하여 표시합니다.

Type variants

새로운 업데이트가 출시되었습니다

대시보드 뷰가 새롭게 개편되었고, 페이지 로딩이 더 빨라졌습니다.

저장이 완료되었습니다

모든 변경 사항이 저장되었습니다.

저장되지 않은 변경 사항

현재 작업이 저장되지 않았습니다. 저장하시겠습니까?

오류가 발생했습니다

요청을 처리할 수 없습니다. 잠시 후 다시 시도해 주세요.

안내

이 기능은 현재 베타입니다.

Avatar

type="avatar"로 사용자 프로필을 보여줄 수 있습니다.

김민준 님이 댓글을 남겼습니다

“이 부분 디자인이 정말 좋네요!”

No icon

알림이 도착했습니다

자세한 내용을 확인하려면 클릭하세요.


Props

Alert

PropTypeDefaultDescription
color'default' | 'brand' | 'gray' | 'error' | 'warning' | 'success''default'컬러 variant
size'floating' | 'full-width''floating'카드 형태 (인라인) 또는 가로 전체
titlestring-제목
descriptionstring-설명 텍스트
iconReactNodecolor별 기본 SVGFeatured icon에 표시할 아이콘
actionsReactNode-하단 액션 영역 (링크 또는 버튼)
dismissiblebooleantrue닫기 버튼 표시 여부
onDismiss() => void-닫기 콜백

Notification

PropTypeDefaultDescription
type'primary' | 'success' | 'warning' | 'error' | 'gray' | 'avatar' | 'no-icon''primary'아이콘/스타일 변형
titlestring-제목
descriptionstring-설명 텍스트
iconReactNodetype별 기본 solid 아이콘커스텀 아이콘
avatarSrcstring-type=avatar일 때 사용할 이미지 URL
actionsReactNode-하단 액션 링크 영역
dismissiblebooleantrue닫기 버튼 표시 여부
onDismiss() => void-닫기 콜백

Figma Variants

Alert

PropertyValues
ColorDefault Brand Gray Error Warning Success
SizeFloating Full-width
BreakpointDesktop Mobile

Notification

PropertyValues
TypePrimary icon Success icon Warning icon Error icon Gray icon Avatar No icon Image Progress indicator
BreakpointDesktop Mobile