XIcon

You don't need to import this component.

Icons come from Ionicons(MIT)

x-icon is a virtual component,which means you don't need to import XIcon, vux-loader@^1.0.46 will transform your code into inline svg

you can set fill style by its class names.

Currently it does not support svg sprite,will implement in later release.

<x-icon type="ios-arrow-up"></x-icon>
<x-icon type="ios-arrow-up" size="30"></x-icon>

API

Props

nametypedefaultdescriptionrequired version
typestringicon name--
sizestring24icon size--
Variables

Variables

namedefaultdescriptioninherited name
@icon-success-color #09BB07 --


Contributors

Contributors

Total commits quantity: 9,Total contributors quantity: 1

airyland

Changelog

Releases