# STag

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

### STag

#### Props

| Prop | Type | Default | Description |
|------|------|---------|-------------|
| `shape?` | `STagShape` | `'square'` | 모양 |
| `size?` | `STagSize` | `'sm'` | 크기 |
| `color?` | `STagColor` | `'grey'` | 색상 |
| `label?` | `string` | `''` | 레이블 텍스트 |
| `icon?` | `SIconName` | — | 아이콘명 |
| `iconLeft?` | `boolean` | `true` | 아이콘을 레이블 왼쪽에 배치 |
| `width?` | `string \| number` | — | 태그 너비 (숫자면 px, 문자열이면 그대로 적용). 미지정 시 콘텐츠 크기 |

## Dependencies

### Used by

 - [SConfirmModal](../SConfirmModal)
 - [SGhostButton](../SGhostButton)
 - [SGnb](../SGnb)
 - [STabs](../STabs)
 - [STextLink](../STextLink)

### Depends on

- [SIcon](../SIcon)

### Graph

```mermaid
graph TD;
  STag --> SIcon
  SConfirmModal --> STag
  SGhostButton --> STag
  SGnb --> STag
  STabs --> STag
  STextLink --> STag
  style STag fill:#f9f,stroke:#333,stroke-width:4px
```
