프리뷰 또는 이전 버전의 문서를 보고 있습니다.seed-design.io 방문
우리는 왜 디자인 엔지니어를 찾게 됐을까
Skip to Content
React

Contextual Floating Button

화면 위에 떠 있으며 특정 상황에서만 나타나는 보조적인 동작을 위한 버튼입니다.

사용 가능 버전@seed-design/[email protected], @seed-design/[email protected]

Installation

npx @seed-design/cli@latest add ui:contextual-floating-button

Props

Prop

Type

variant?"layer" | "solid" | undefined
  • solid: 배경과 대비되는 강조된 보조 액션으로 중요도 높은 행동 유도 시 적합합니다.
  • layer: 시각적 부담 없이 부드럽게 액션을 유도합니다.

Default

"solid"

layout?"iconOnly" | "withText" | undefined
  • withText: label과 prefixIcon을 함께 표시합니다.
  • iconOnly: icon만 표시합니다. 아이콘만으로 의미를 전달하기 때문에 접근성 레이블과 함께 사용해야 합니다.

Default

"withText"

asChild?boolean | undefined

Whether the element should be rendered as a child of a slot.

Default

false

loading?boolean | undefined

버튼에 등록된 비동기 작업이 진행 중임을 사용자에게 알립니다.

Default

false

disabled?boolean | undefined

버튼의 비활성화 여부를 나타냅니다.

Default

false

Examples

Float Composition

Contextual Floating Button은 <Float> 컴포넌트와 함께 사용하면 편리합니다.

Solid Variant

Layer Variant

Icon Only

Loading

Last updated on 2026. 8. 2.