# SBarcodeInput

> 자동 생성 문서 — `npm run docs:gen`. 소스: 각 컴포넌트의 Props/Handle 인터페이스 + import 의존성.

### SBarcodeInput

#### Props

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `value?` | `string \| number \| null` | — |  |
| `size?` | `SBarcodeInputSize` | `'sm'` |  |
| `clearable?` | `boolean` | `false` |  |
| `autoFocus?` | `boolean` | — |  |
| `name?` | `string` | — |  |
| `placeholder?` | `string` | `'입력해 주세요.'` |  |
| `disabled?` | `boolean` | `false` |  |
| `readOnly?` | `boolean` | `false` |  |
| `rules?` | `Rule[]` | — |  |
| `status?` | `SFieldStatus` | — |  |
| `focused?` | `boolean` | — |  |
| `hovered?` | `boolean` | — |  |
| `prefix?` | `ReactNode` | — | 입력 앞 슬롯 |
| `suffix?` | `ReactNode` | — | 입력 뒤 슬롯 |
| `inputClass?` | `string` | — |  |
| `inputStyle?` | `CSSProperties` | — |  |
| `label?` | `string` | — |  |
| `labelWidth?` | `number \| string` | — |  |
| `icon?` | `SIconName` | — |  |
| `iconColor?` | `SColor` | — |  |
| `labelTooltip?` | `string` | — |  |
| `labelTooltipProps?` | `Partial<STooltipProps>` | — |  |
| `addonLabel?` | `string` | — |  |
| `addonAlign?` | `SFieldAddonAlign` | — |  |
| `hint?` | `string` | — |  |
| `error?` | `boolean` | — |  |
| `errorMessage?` | `string` | — |  |
| `width?` | `number \| string` | — |  |
| `className?` | `string` | — |  |
| `style?` | `CSSProperties` | — |  |

#### Events

| Event | Type | Description |
|-------|------|-------------|
| `onValueChange` | `(value: string) => void` | 값 변경 (sdUpdate) |
| `onFocus` | `() => void` |  |
| `onBlur` | `() => void` |  |

## Dependencies

### Depends on

- [SField](../SField)
- [SGhostButton](../SGhostButton)

### Graph

```mermaid
graph TD;
  SBarcodeInput --> SField
  SBarcodeInput --> SGhostButton
  style SBarcodeInput fill:#f9f,stroke:#333,stroke-width:4px
```
