2021-07-20 21:03:16 +03:00
|
|
|
<div>
|
|
|
|
<section class='icon-24'>
|
|
|
|
<h1>Usage</h1>
|
|
|
|
<div>
|
|
|
|
Icon referenced by name:
|
|
|
|
<IconifyIcon @icon='mdi:home' />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
Icon referenced by object:
|
2022-01-24 19:44:10 +02:00
|
|
|
<IconifyIcon @icon={{this.iconData}} />
|
2021-07-20 21:03:16 +03:00
|
|
|
</div>
|
|
|
|
<div class='alert'>
|
|
|
|
<IconifyIcon @icon='mdi-light:alert' />
|
|
|
|
Important notice with alert icon!
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class='inline-demo'>
|
|
|
|
<h1>Inline demo</h1>
|
|
|
|
<div>
|
|
|
|
Block icon (behaving like image):
|
|
|
|
<IconifyIcon @icon='experiment2' />
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
Inline icon (behaving line text / icon font):
|
|
|
|
<IconifyIcon @icon='experiment2' @inline={{true}} />
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2022-05-13 22:35:06 +03:00
|
|
|
<ColorDemo />
|
2021-07-20 21:03:16 +03:00
|
|
|
</div>
|