4.0.1 • Published 5 years ago
@usercentric/uc-design-system-icons v4.0.1
UCDS Icons
Collection of Material design UI icons.
yarn add @usercentric/uc-design-system-iconsUsage
Icons are grouped into the following categories: general (common objects and symbols), interface
(user interface elements), and social (companies and products). Icon names are prefixed with
"Icon" and can be imported from their category folder.
import IconCheck from '@usercentric/uc-design-system-icons/lib/interface/IconCheck'Icon components support the following props:
accessibilityLabel(string) - Label to provide accessibility controls.decorative(bool) - Icon is decorative only and does not require accessibility controls.size(number | string) - Size of the icon (emis preferred). Default is "1em".color(string) - Custom CSS hexcode or name to color the icon SVG with.inline(bool) - Display the component inline instead of block.
accessibilityLabelordecorativeis required, but not both.
4.0.1
5 years ago