December 13, 2019
News and updates
Changelog
Show & Tell: Account/Orion
Analyze What??
Sprites, Icons, and SVGs
Q & A
📰
📜
🎭
🕵️♂️
🧚♀️
❓
bsd-react-ui-kit v1.13.0
bsd-ui-utils v1.7.4
activecore-react-ui-kit v2.5.0
Does this pattern already exist?
Can you modify an existing component?
Can you create a HOC?
How can this be made reusable?
What are the necessary requirements?
<Sprite> // from bsd-react-ui-kit
<Icons /> // from activecore-react-ui-kit
<ActionIcons /> // from local app
<VoiceIcons />
</Sprite>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
role="presentation"
focusable="false"
style={{ display: 'none' }}
>
<symbol id="icon-circle" width="20" height="20" viewBox="0 0 20 20">
<path d="M14.119 6v13.54V6zM9.746 9v10.667V9zM1 9v10.667V9zm4z" />
</symbol>
<symbol id="icon-square" width="20" height="20" viewBox="0 0 20 20">
<path d="M14.119 6v13.54V6zM9.746 9v10.667V9zM1 9v10.667V9zm4z" />
</symbol>
<symbol id="icon-triangle" width="20" height="20" viewBox="0 0 20 20">
<path d="M14.119 6v13.54V6zM9.746 9v10.667V9zM1 9v10.667V9zm4z" />
</symbol>
</svg>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
role="presentation"
focusable="false"
style={{ display: 'none' }}
>
<symbol id="icon-circle" width="20" height="20" viewBox="0 0 20 20">
<path d="M14.119 6v13.54V6zM9.746 9v10.667V9zM1 9v10.667V9zm4z" />
</symbol>
</svg>
<svg role={role} focusable="false">
<title>{description}</title>
<use xlinkHref={path} width="100%" height="100%" />
</svg>