Overview
The Cerberus Icons library is a optional library to add visual elements to your React app.
Installation
Install the Cerberus Icons library, with the package manager of your choice:
Usage
To use the Cerberus Icons library, import any icon component from the library:
Size
You can set the size of the icon by passing a size
prop. The default size is 16
.
Color
The icons inherit the color of the parent element. If you need to change the icon color to be different from the parent element, you can do so with custom styles.
Accessibility
The icons are hidden by default. You can add an aria-label
to the icon to provide a description for screen readers.