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
It is also possible to use custom components for the icon by using the `icon` slot.
34
35
In this example we are using the `NcAvatar` component to render the users avatar as the icon.
35
36
36
-
*Hint: If you use round icons like avatars you should set their size to `24px` (or use CSS variable `--chip-size`) to make then fully fill and align with the the chip*
37
+
*Hint: If you use round icons like avatars you should set their size to `24px` (or use CSS variable `--chip-size`) to make them fully fill and align with the the chip*
<!-- @slot The icon slot can be used to set the chip icon. Make sure that the icon is not exceeding a height of `24px`. For round icons a exact size of `24px` is recommended. -->
75
81
<slot name="icon">
76
82
<!-- The default icon wrapper uses a size of 18px to ensure the icon is not clipped by the round chip style -->
0 commit comments