@ng-icons/ionicons 29.7.0 → 29.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -286,6 +286,19 @@ bootstrapApplication(AppComponent, {
|
|
|
286
286
|
|
|
287
287
|
## Experimental Features
|
|
288
288
|
|
|
289
|
+
### Icon Stack
|
|
290
|
+
|
|
291
|
+
Ng Icons now supports icon stacking. This allows you to layer multiple icons on top of each other. This is useful for creating complex icons from multiple simpler icons.
|
|
292
|
+
|
|
293
|
+
```html
|
|
294
|
+
<ng-icon-stack size="32px">
|
|
295
|
+
<ng-icon name="faCircle" />
|
|
296
|
+
<ng-icon name="faFlag" size="16px" />
|
|
297
|
+
</ng-icon-stack>
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
The `size` must be defined on the `ng-icon-stack` component. Any icons within the stack will inherit this size unless it is overridden.
|
|
301
|
+
|
|
289
302
|
### Variable Icon Fonts
|
|
290
303
|
|
|
291
304
|
We have added support for variable icon fonts. This is currently only supported by the [Material Symbols](https://github.com/marella/material-symbols/tree/main/material-symbols#readme) iconset.
|