Contextual Floating Button
A button that floats above the screen for a supplementary action that appears only in specific situations.

Anatomy
Contextual Floating Button consists of an Icon, a Label, and a Container wrapping the content.
Properties
Tone
Contextual Floating Button has two styles: Solid and Layer. It can be used depending on the visual prominence needed.
Layout
The Layer style Contextual Floating Button can use the Icon Only layout.
State
Has Enabled, Pressed, Loading, and Disabled states.
Guidelines
Using Contextual Floating Button
Contextual Floating Button is a secondary action button that floats above the screen and is conditionally shown.
Unlike Floating Action Button, which handles the screen's primary action, it appears flexibly depending on a specific context or user interaction.
Position of Contextual Floating Button
Contextual Floating Button is not fixed to a specific position and has the flexibility to be freely placed near content. It can also display multiple buttons at the same time within a single screen.
If there is a fixed element on the screen, spacing must be secured relative to that fixed element.
Tone
Contextual Floating Button has two styles: Solid and Layer. They can be chosen depending on the situation.
| Tone | Usage situation |
|---|---|
| Solid | Suitable for an emphasized secondary action that contrasts with the background, when high importance or a strong contextual call to action is needed. |
| Layer | Gently induces an action without visual burden. Blends well into an inline flow and avoids excessive attention. |
Length of the Label
If the Label becomes long, it wraps to a new line. Keep it concise so it can be displayed on a single line.
Specification
base
variant=solid
- 배경과 대비되는 강조된 보조 액션으로 중요도 높은 행동 유도 시 적합합니다.
variant=layer
- 시각적 부담 없이 부드럽게 액션을 유도합니다.
layout=withText
- label과 prefixIcon을 함께 표시합니다.
layout=iconOnly
- icon만 표시합니다. 아이콘만으로 의미를 전달하기 때문에 접근성 레이블과 함께 사용해야 합니다.