Icons
Defaults
By default, starlight-package-managers
displays a package manager icon next to its name.
The code above generates the following commands:
Hiding Icons
You can hide the package manager icon by setting the icons
prop to false
.
The code above generates the following commands:
Hiding icons globally
Having to specify the icons
prop every time can be tedious.
To avoid this, you can create a custom Astro component wrapping starlight-package-managers
:
Now you can use the custom component instead of starlight-package-managers
:
The code above generates the following commands: