#

- 
  arrow-right-down
  &#xe752;
- 
  backward
  &#xe753;
- 
  backward_1
  &#xe754;
- 
  arrow-up
  &#xe755;
- 
  border-bottom
  &#xe756;
- 
  caret-right
  &#xe757;
- 
  border-outer
  &#xe758;
- 
  border-right
  &#xe759;
- 
  caret-up
  &#xe75a;
- 
  caret-left
  &#xe75b;
- 
  arrow-right-up
  &#xe75c;
- 
  circle-left
  &#xe75d;
- 
  circle-down
  &#xe75e;
- 
  double-left
  &#xe75f;
- 
  circle-right
  &#xe760;
- 
  down
  &#xe761;
- 
  border-horizontal
  &#xe762;
- 
  download
  &#xe763;
- 
  border-top
  &#xe764;
- 
  caret-down
  &#xe765;
- 
  border-left
  &#xe766;
- 
  border-inner
  &#xe767;
- 
  double-up
  &#xe768;
- 
  left
  &#xe769;
- 
  arrows-alt
  &#xe76a;
- 
  border-verticle
  &#xe76b;
- 
  left_1
  &#xe76c;
- 
  double-down
  &#xe76d;
- 
  menu-unfold
  &#xe76e;
- 
  left-spuare
  &#xe76f;
- 
  fullscreen-exit
  &#xe770;
- 
  circle-up
  &#xe771;
- 
  pic-center
  &#xe772;
- 
  fast-backward
  &#xe773;
- 
  down_1
  &#xe774;
- 
  logout
  &#xe775;
- 
  fullscreen
  &#xe776;
- 
  login
  &#xe777;
- 
  import
  &#xe778;
- 
  radius-bottomleft
  &#xe779;
- 
  export
  &#xe77a;
- 
  double-right
  &#xe77b;
- 
  right
  &#xe77c;
- 
  radius-bottomright
  &#xe77d;
- 
  right_1
  &#xe77e;
- 
  down-spuqre
  &#xe77f;
- 
  fast-farward
  &#xe780;
- 
  pic-left
  &#xe781;
- 
  rotate-left
  &#xe782;
- 
  retweet
  &#xe783;
- 
  radius-upleft
  &#xe784;
- 
  rollback
  &#xe785;
- 
  to-down
  &#xe786;
- 
  swap-right
  &#xe787;
- 
  radius-upright
  &#xe788;
- 
  step-farward
  &#xe789;
- 
  right-spuare
  &#xe78a;
- 
  swap
  &#xe78b;
- 
  upload
  &#xe78c;
- 
  menu-fold
  &#xe78d;
- 
  enter
  &#xe78e;
- 
  rotate-right
  &#xe78f;
- 
  arrow-down-up
  &#xe790;
- 
  up-spuare
  &#xe791;
- 
  vertical-right
  &#xe792;
- 
  vertical-left
  &#xe793;
- 
  to-up
  &#xe794;
- 
  arrow-left-up
  &#xe795;
- 
  step-backward
  &#xe796;
- 
  up_1
  &#xe797;
- 
  vertical-align-top
  &#xe798;
- 
  up
  &#xe799;
- 
  pic-right
  &#xe79a;
- 
  arrow-left-right
  &#xe79b;
- 
  arrow-right
  &#xe79c;
- 
  arrow-left
  &#xe79d;
- 
  shrink
  &#xe79e;
- 
  swap-left
  &#xe79f;
- 
  arrow-left-down
  &#xe7a0;
- 
  vertical-align-middle
  &#xe7a1;
- 
  arrow-down
  &#xe7a2;

## Unicode 引用

Unicode 是字体在网页端最原始的应用方式，特点是：

- 支持按字体的方式去动态调整图标大小，颜色等等。
- 默认情况下不支持多色，直接添加多色图标会自动去色。

> 注意：新版 iconfont 支持两种方式引用多色图标：SVG symbol 引用方式和彩色字体图标模式。（使用彩色字体图标需要在「编辑项目」中开启「彩色」选项后并重新生成。）

Unicode 使用步骤如下：

### 第一步：拷贝项目下面生成的 `@font-face`

    @font-face {
      font-family: 'icon-dir';
      src: url('iconfont.woff2?t=1646645587932') format('woff2'),
           url('iconfont.woff?t=1646645587932') format('woff'),
           url('iconfont.ttf?t=1646645587932') format('truetype');
    }

### 第二步：定义使用 iconfont 的样式

    .icon-dir {
      font-family: "icon-dir" !important;
      font-size: 16px;
      font-style: normal;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

### 第三步：挑选相应图标并获取字体编码，应用于页面

    <span class="icon-dir">&#x33;</span>

> "icon-dir" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。

- arrow-right-down
  .icon-dir-arrow-right-down
- backward
  .icon-dir-backward
- backward_1
  .icon-dir-backward_1
- arrow-up
  .icon-dir-arrow-up
- border-bottom
  .icon-dir-border-bottom
- caret-right
  .icon-dir-caret-right
- border-outer
  .icon-dir-border-outer
- border-right
  .icon-dir-border-right
- caret-up
  .icon-dir-caret-up
- caret-left
  .icon-dir-caret-left
- arrow-right-up
  .icon-dir-arrow-right-up
- circle-left
  .icon-dir-circle-left
- circle-down
  .icon-dir-circle-down
- double-left
  .icon-dir-double-left
- circle-right
  .icon-dir-circle-right
- down
  .icon-dir-down
- border-horizontal
  .icon-dir-border-horizontal
- download
  .icon-dir-download
- border-top
  .icon-dir-border-top
- caret-down
  .icon-dir-caret-down
- border-left
  .icon-dir-border-left
- border-inner
  .icon-dir-border-inner
- double-up
  .icon-dir-double-up
- left
  .icon-dir-left
- arrows-alt
  .icon-dir-arrows-alt
- border-verticle
  .icon-dir-border-verticle
- left_1
  .icon-dir-left_1
- double-down
  .icon-dir-double-down
- menu-unfold
  .icon-dir-menu-unfold
- left-spuare
  .icon-dir-left-spuare
- fullscreen-exit
  .icon-dir-fullscreen-exit
- circle-up
  .icon-dir-circle-up
- pic-center
  .icon-dir-pic-center
- fast-backward
  .icon-dir-fast-backward
- down_1
  .icon-dir-down_1
- logout
  .icon-dir-logout
- fullscreen
  .icon-dir-fullscreen
- login
  .icon-dir-login
- import
  .icon-dir-import
- radius-bottomleft
  .icon-dir-radius-bottomleft
- export
  .icon-dir-export
- double-right
  .icon-dir-double-right
- right
  .icon-dir-right
- radius-bottomright
  .icon-dir-radius-bottomright
- right_1
  .icon-dir-right_1
- down-spuqre
  .icon-dir-down-spuqre
- fast-farward
  .icon-dir-fast-farward
- pic-left
  .icon-dir-pic-left
- rotate-left
  .icon-dir-rotate-left
- retweet
  .icon-dir-retweet
- radius-upleft
  .icon-dir-radius-upleft
- rollback
  .icon-dir-rollback
- to-down
  .icon-dir-to-down
- swap-right
  .icon-dir-swap-right
- radius-upright
  .icon-dir-radius-upright
- step-farward
  .icon-dir-step-farward
- right-spuare
  .icon-dir-right-spuare
- swap
  .icon-dir-swap
- upload
  .icon-dir-upload
- menu-fold
  .icon-dir-menu-fold
- enter
  .icon-dir-enter
- rotate-right
  .icon-dir-rotate-right
- arrow-down-up
  .icon-dir-arrow-down-up
- up-spuare
  .icon-dir-up-spuare
- vertical-right
  .icon-dir-vertical-right
- vertical-left
  .icon-dir-vertical-left
- to-up
  .icon-dir-to-up
- arrow-left-up
  .icon-dir-arrow-left-up
- step-backward
  .icon-dir-step-backward
- up_1
  .icon-dir-up_1
- vertical-align-top
  .icon-dir-vertical-align-top
- up
  .icon-dir-up
- pic-right
  .icon-dir-pic-right
- arrow-left-right
  .icon-dir-arrow-left-right
- arrow-right
  .icon-dir-arrow-right
- arrow-left
  .icon-dir-arrow-left
- shrink
  .icon-dir-shrink
- swap-left
  .icon-dir-swap-left
- arrow-left-down
  .icon-dir-arrow-left-down
- vertical-align-middle
  .icon-dir-vertical-align-middle
- arrow-down
  .icon-dir-arrow-down

## font-class 引用

font-class 是 Unicode 使用方式的一种变种，主要是解决 Unicode 书写不直观，语意不明确的问题。

与 Unicode 使用方式相比，具有如下特点：

- 相比于 Unicode 语意明确，书写更直观。可以很容易分辨这个 icon 是什么。
- 因为使用 class 来定义图标，所以当要替换图标时，只需要修改 class 里面的 Unicode 引用。

使用步骤如下：

### 第一步：引入项目下面生成的 fontclass 代码：

    <link rel="stylesheet" href="./iconfont.css">

### 第二步：挑选相应图标并获取类名，应用于页面：

    <span class="icon-dir icon-dir-xxx"></span>

> " icon-dir" 是你项目下的 font-family。可以通过编辑项目查看，默认是 "iconfont"。

- arrow-right-down
  #icon-dir-arrow-right-down
- backward
  #icon-dir-backward
- backward_1
  #icon-dir-backward_1
- arrow-up
  #icon-dir-arrow-up
- border-bottom
  #icon-dir-border-bottom
- caret-right
  #icon-dir-caret-right
- border-outer
  #icon-dir-border-outer
- border-right
  #icon-dir-border-right
- caret-up
  #icon-dir-caret-up
- caret-left
  #icon-dir-caret-left
- arrow-right-up
  #icon-dir-arrow-right-up
- circle-left
  #icon-dir-circle-left
- circle-down
  #icon-dir-circle-down
- double-left
  #icon-dir-double-left
- circle-right
  #icon-dir-circle-right
- down
  #icon-dir-down
- border-horizontal
  #icon-dir-border-horizontal
- download
  #icon-dir-download
- border-top
  #icon-dir-border-top
- caret-down
  #icon-dir-caret-down
- border-left
  #icon-dir-border-left
- border-inner
  #icon-dir-border-inner
- double-up
  #icon-dir-double-up
- left
  #icon-dir-left
- arrows-alt
  #icon-dir-arrows-alt
- border-verticle
  #icon-dir-border-verticle
- left_1
  #icon-dir-left_1
- double-down
  #icon-dir-double-down
- menu-unfold
  #icon-dir-menu-unfold
- left-spuare
  #icon-dir-left-spuare
- fullscreen-exit
  #icon-dir-fullscreen-exit
- circle-up
  #icon-dir-circle-up
- pic-center
  #icon-dir-pic-center
- fast-backward
  #icon-dir-fast-backward
- down_1
  #icon-dir-down_1
- logout
  #icon-dir-logout
- fullscreen
  #icon-dir-fullscreen
- login
  #icon-dir-login
- import
  #icon-dir-import
- radius-bottomleft
  #icon-dir-radius-bottomleft
- export
  #icon-dir-export
- double-right
  #icon-dir-double-right
- right
  #icon-dir-right
- radius-bottomright
  #icon-dir-radius-bottomright
- right_1
  #icon-dir-right_1
- down-spuqre
  #icon-dir-down-spuqre
- fast-farward
  #icon-dir-fast-farward
- pic-left
  #icon-dir-pic-left
- rotate-left
  #icon-dir-rotate-left
- retweet
  #icon-dir-retweet
- radius-upleft
  #icon-dir-radius-upleft
- rollback
  #icon-dir-rollback
- to-down
  #icon-dir-to-down
- swap-right
  #icon-dir-swap-right
- radius-upright
  #icon-dir-radius-upright
- step-farward
  #icon-dir-step-farward
- right-spuare
  #icon-dir-right-spuare
- swap
  #icon-dir-swap
- upload
  #icon-dir-upload
- menu-fold
  #icon-dir-menu-fold
- enter
  #icon-dir-enter
- rotate-right
  #icon-dir-rotate-right
- arrow-down-up
  #icon-dir-arrow-down-up
- up-spuare
  #icon-dir-up-spuare
- vertical-right
  #icon-dir-vertical-right
- vertical-left
  #icon-dir-vertical-left
- to-up
  #icon-dir-to-up
- arrow-left-up
  #icon-dir-arrow-left-up
- step-backward
  #icon-dir-step-backward
- up_1
  #icon-dir-up_1
- vertical-align-top
  #icon-dir-vertical-align-top
- up
  #icon-dir-up
- pic-right
  #icon-dir-pic-right
- arrow-left-right
  #icon-dir-arrow-left-right
- arrow-right
  #icon-dir-arrow-right
- arrow-left
  #icon-dir-arrow-left
- shrink
  #icon-dir-shrink
- swap-left
  #icon-dir-swap-left
- arrow-left-down
  #icon-dir-arrow-left-down
- vertical-align-middle
  #icon-dir-vertical-align-middle
- arrow-down
  #icon-dir-arrow-down

## Symbol 引用

这是一种全新的使用方式，应该说这才是未来的主流，也是平台目前推荐的用法。相关介绍可以参考这篇文章 这种用法其实是做了一个 SVG 的集合，与另外两种相比具有如下特点：

- 支持多色图标了，不再受单色限制。
- 通过一些技巧，支持像字体那样，通过 `font-size`, `color` 来调整样式。
- 兼容性较差，支持 IE9+，及现代浏览器。
- 浏览器渲染 SVG 的性能一般，还不如 png。

使用步骤如下：

### 第一步：引入项目下面生成的 symbol 代码：

    <script src="./iconfont.js"></script>

### 第二步：加入通用 CSS 代码（引入一次就行）：

    <style>
    .icon {
      width: 1em;
      height: 1em;
      vertical-align: -0.15em;
      fill: currentColor;
      overflow: hidden;
    }
    </style>

### 第三步：挑选相应图标并获取类名，应用于页面：

    <svg class="icon" aria-hidden="true">
      <use xlink:href="#icon-xxx"></use>
    </svg>