---
title: Toggle Button
description: 사용자가 특정 상태를 켜거나 끌 수 있게 해주는 버튼 형태의 컴포넌트입니다. 필터링이나 뷰 전환과 같은 즉각적인 상태 변경에 사용됩니다.
---
```json doc-gen:file
{
"file": "examples/react/toggle-button/preview.tsx",
"codeblock": true
}
```
## Installation
```package-install
npx @seed-design/cli@latest add ui:toggle-button
```
## Props
## Examples
### Brand Solid
```json doc-gen:file
{
"file": "examples/react/toggle-button/brand-solid.tsx",
"codeblock": true
}
```
### Neutral Weak
```json doc-gen:file
{
"file": "examples/react/toggle-button/neutral-weak.tsx",
"codeblock": true
}
```
### Small
```json doc-gen:file
{
"file": "examples/react/toggle-button/small.tsx",
"codeblock": true
}
```
### Xsmall
```json doc-gen:file
{
"file": "examples/react/toggle-button/xsmall.tsx",
"codeblock": true
}
```
### Prefix Icon
```json doc-gen:file
{
"file": "examples/react/toggle-button/prefix-icon.tsx",
"codeblock": true
}
```
### Disabled
```json doc-gen:file
{
"file": "examples/react/toggle-button/disabled.tsx",
"codeblock": true
}
```
### Loading
```json doc-gen:file
{
"file": "examples/react/toggle-button/loading.tsx",
"codeblock": true
}
```