Illustration
Illustration
jsx
import Coffee from 'intergalactic/illustration/Coffee';
<Coffee />;
IllustrationProps
Name | Type | Description |
---|---|---|
primaryColor | string | Main color of the illustration |
secondaryColor | string | Secondary color of the illustration |
fill | string | Changes background fill of the illustration |
width | string | number | Width of the illustration |
height | string | number | Height of the illustration |
Direct link
Any illustration can be obtained using a template.
js
import IllustrationName from 'intergalactic/illustration/illustrationName';
getIllustrationPath
To obtain any illustration, you can use the getIllustrationPath
function, which returns the URL in the format https://static.semrush.com/ui-kit/illustration/${version}/${name}.svg
.