---
category: Components
type: General
title: Icon
toc: false
---
Semantic vector graphics.
## Icons naming convention
We provide semantic name for every icon, and naming rules are as follows:
- Scanning line icon has the similar name with its solid one,but it's distinguished by `-o`, for example, `question-circle` (a full circle) and `question-circle-o` (an empty circle);
- Naming sequence:`[name]-[shape?]-[outline?]-[direction?]`.
> `?` means is optional.
See more design detail at [here](/docs/spec/icon).
## List of icons
> Click the icon and copy the code.
### Directional Icons
```__react
import IconSet from 'site/theme/template/IconSet';
ReactDOM.render(, mountNode);
```
### Suggested Icons
```__react
import IconSet from 'site/theme/template/IconSet';
ReactDOM.render(, mountNode);
```
### Application Icons
```__react
import IconSet from 'site/theme/template/IconSet';
ReactDOM.render(, mountNode);
```
### Brand and Logos
```__react
import IconSet from 'site/theme/template/IconSet';
ReactDOM.render(, mountNode);
```
## API
### Icon
| Property | Description | Type | Default |
| --- | --- | --- | --- |
| type | Type of ant design icon | string | - |
| style | Style properties of icon, like `fontSize` and `color` | CSSProperties | - |
| svgStyle | Inline style to apply to the SVG element | CSSProperties | - |
| svgClassName | Define extra class name for the SVG element | string | - |
| spin | Rotate icon with animation | boolean | false |
| component | The component used for the root node. This will override the **`type`** property. | ComponentType | - |
All the icons will render to `