Skip to content

Icon

te-icon renders icon-font class names, or inline SVG for the social set. See the icons guide for setup.

Social icons

Inline SVG, no font required.

vue
<te-icon social name="github" />
<te-icon social name="linkedin" />
<te-icon social name="slack" />
<te-icon social name="reddit" />
<te-icon social name="twitch" />
vue
<te-icon name="alarm" />              <!-- class="bi bi-alarm" -->
<te-icon family="fa" name="trash" />  <!-- class="fa-trash-can" -->
<te-icon social name="github" />      <!-- inline SVG -->

Props

PropTypeDefaultDescription
namestring— (required)Icon name. The bi- prefix is optional for Bootstrap Icons.
socialbooleanfalseRenders one of the bundled inline SVGs.
familystringundefinedA family registered through the plugin options.

Released under the MIT License.