Icon
import { Icon } from '@sky-uk/ui-core';
This component is intended to be used with the @sky-uk/skycons. (See Skycons).
Props
$size
smallmedium (default)large
$color
$color takes the name of any predefined color.
Gradients are not supported as the icons from the @sky-uk/skycons package are designed for use on interfaces using solid colours only.
Designs calling for an icon coloured with a gradient won't be interface based and should therefore be handled separately as content.
System Modifiers
The Icon component also supports the props applied using the following system modifiers: