React

Result Section

데이터 로딩 결과, 사용자의 액션 완료 여부 등 사용자에 액션에 대한 결과를 제공하는 템플릿입니다. 주로 전체 화면이나 특정 영역을 차지하여 다음 액션을 유도하거나 현재 상황을 안내하는 역할을 합니다.

Installation

npx @seed-design/cli@latest add ui:result-section

Props

Prop

Type

asset?React.ReactNode
title?React.ReactNode
description?React.ReactNode
primaryActionProps?ActionButtonProps | undefined
secondaryActionProps?ActionButtonProps | undefined

Examples

Sizes

Large

Medium

With CTA & Progress Circle

Loading...

Success Example

Result Section 에셋 영역에서 다크 모드와 라이트 모드에서 서로 다른 Lottie 애니메이션을 사용하는 예시입니다.

클라이언트에서 현재 테마 정보 감지하는 방법을 참고하여 테마에 맞는 Lottie 애니메이션을 Result Section에 적용할 수 있습니다.

Last updated on

On this page