Icon
Prop | Type | Default |
---|---|---|
name | string | - |
color | 'base' | 'brand' | - |
as | HTMLTag | i |
HTML Attributes | Polymorphic<i> | - |
Examples
---
import Icon from 'fulldev-ui/components/Icon.astro'
---
<Icon name="circle" />
<Icon name="arrow-right" />
<Icon name="brand-x" />
<Icon name="brand-github" />
---
import Icon from 'fulldev-ui/components/Icon.astro'
---
<Icon size="sm" name="circle" />
<Icon size="md" name="circle" />
<Icon size="lg" name="circle" />
---
import Icon from 'fulldev-ui/components/Icon.astro'
---
<Icon color="base" name="circle" />
<Icon color="brand" name="circle" />