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

Action Button

명확한 액션을 쉽게 수행할 수 있도록 돕는 기본 인터랙션 컴포넌트입니다.

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

Installation

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

Props

Prop

Type

asChild?boolean | undefined

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

Default

false

variant?"brandOutline" | "brandSolid" | "criticalSolid" | "ghost" | "neutralOutline" | "neutralSolid" | "neutralWeak" | undefined
  • brandSolid: 브랜드의 핵심 가치를 전달하며, 사용자 간 연결이 일어나는 서비스의 주요 기능에 사용합니다. 한 화면에 하나만 사용하는 것을 권장합니다.
  • neutralSolid: 대부분의 화면에서 CTA로 사용합니다. 한 화면에 하나만 사용하는 것을 권장합니다.
  • neutralWeak: CTA를 제외한 대부분의 액션에 사용됩니다.
  • criticalSolid: 삭제나 초기화처럼 되돌릴 수 없는 중요한 작업에 사용합니다.
  • brandOutline: variant=brandSolid, neutralSolid, criticalSolid와 함께 사용할 수 없으며, variant=neutralOutline과 조합하여 사용하는 것을 권장합니다.
  • neutralOutline: variant=brandSolid, neutralSolid, criticalSolid와 함께 사용할 수 없으며, variant=brandOutline과 조합하여 사용하는 것을 권장합니다.
  • ghost: 배경 없이 텍스트와 아이콘만 표시됩니다. 모두 동일한 색상을 사용하는 조건에서 icon, prefix icon, suffix icon, label에 정의된 color를 변경할 수 있으며, label의 fontWeight를 $font-weight.regular 또는 $font-weight.medium으로 변경하여 주목도를 조절할 수 있습니다.

Default

"brandSolid"

size?"large" | "medium" | "small" | "xsmall" | undefined
  • xsmall: 작은 공간에서 효율적으로 사용할 수 있는 Pill 형태로 제공됩니다.
  • small: 화면 중앙에서 범용적으로 사용됩니다.
  • medium: 화면 중앙에서 범용적으로 사용됩니다.
  • large: 주로 CTA 역할로 사용됩니다.

Default

"medium"

layout?"iconOnly" | "withText" | undefined
  • withText: 텍스트와 함께 아이콘을 표시할 수 있습니다.
  • iconOnly: 아이콘만으로 의미를 전달하기 때문에 접근성이 떨어집니다. 꼭 필요한 경우에만 접근성 레이블과 함께 사용하는 것을 권장합니다.

Default

"withText"

bleed?ResponsiveValue<"asPadding" | "safeArea" | "spacingX.betweenChips" | "spacingX.globalGutter" | "spacingY.betweenText" | "spacingY.componentDefault" | "spacingY.navToTitle" | "spacingY.screenBottom" | 0 | Dimension | (string & {})> | undefined

Negative margin on all four sides to extend the element outside its parent. If set to "asPadding", it will use the padding value in the same direction. If set to "safeArea", it will use the safe area inset in the same direction.

Cannot be combined with any margin* prop.

bleedX?ResponsiveValue<"asPadding" | "safeArea" | "spacingX.betweenChips" | "spacingX.globalGutter" | "spacingY.betweenText" | "spacingY.componentDefault" | "spacingY.navToTitle" | "spacingY.screenBottom" | 0 | Dimension | (string & {})> | undefined

Negative x-axis margin to extend the element outside its parent. If set to "asPadding", it will use the padding value in the same direction. If set to "safeArea", it will use the safe area inset in the same direction.

Cannot be combined with any margin* prop.

bleedY?ResponsiveValue<"asPadding" | "safeArea" | "spacingX.betweenChips" | "spacingX.globalGutter" | "spacingY.betweenText" | "spacingY.componentDefault" | "spacingY.navToTitle" | "spacingY.screenBottom" | 0 | Dimension | (string & {})> | undefined

Negative y-axis margin to extend the element outside its parent. If set to "asPadding", it will use the padding value in the same direction. If set to "safeArea", it will use the safe area inset in the same direction.

Cannot be combined with any margin* prop.

flexGrow?0 | 1 | true | (number & {}) | undefined

If true, flex-grow will be set to 1.

loading?boolean | undefined

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

Default

false

disabled?boolean | undefined

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

Default

false

color?ScopedColorFg | ScopedColorPalette | undefined

Color of the label and icons inside the button. Works only when variant is ghost.

Default

"fg.neutral"

fontWeight?"bold" | "medium" | "regular" | undefined

Weight of the label. Works only when variant is ghost.

Default

"bold"

Examples

Brand Solid

Neutral Solid

Neutral Weak

Critical Solid

Brand Outline

Neutral Outline

Ghost

Ghost variant는 color 속성을 사용해 레이블과 아이콘의 색상을, fontWeight 속성을 사용해 글꼴의 굵기를 변경할 수 있습니다.

Icon Only

Prefix Icon

Suffix Icon

Disabled

Loading

Bleed

bleedX, bleedY 속성을 사용해 버튼이 레이아웃에서 "빠져나오게" 할 수 있습니다.

Ghost variant를 시각적으로 정렬해야 할 때 유용합니다.

Bleed Example
Bleed Example

Last updated on 2026. 8. 2.