Icon
Display an icon using system colors and sizing
React
Pass an icon from the @hover/icons package
to the icon
prop.
import { Icon } from '@hover/blueprint';
Size
Icons are available in a handful of sizes which include a standard margin
around the icon by default.
The default size
is small.
Color
Pass any system color to the color
prop to control the color of the icon.
Accent
Some icons support a a secondary accent
color in addition to the primary icon
color
.
Inline
Pass isInline
to remove the default margin and set display
to inline.