You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Appuniversum includes many SVG icons that can be used by passing the name of the icon into the component, e.g.
9
+
10
+
```
11
+
<AuButton @icon="book">Button Text</AuButton>
12
+
```
13
+
14
+
Alternatively, wherever you can pass an icon name you can instead pass an Ember component that will be rendered instead of the default SVG in the AuIcon component.
15
+
This can be used, for example, to use inline SVGs or PNG icons.
16
+
17
+
Although the Ember component will not be passed any arguments, it's possible to pass them using the `component` helper.
18
+
See [AuIcon docs](/docs/components-brand-auicon--with-custom-icon) for a live example.
0 commit comments