import { iconChevronDown } from '@bolt/elements-icon/src/icons/js/chevron-down';. Importing icons individually reduces the compiled JS file size.<svg> element as a string. It automatically includes the e-bolt-icon class on the SVG. The function accepts a JSON object as an argument. It supports the same props as the Icon element, for example: chevronDown({ size: 'xsmall', class: 'u-bolt-margin-right-xsmall' }).unsafeHTML() as follows: ${unsafeHTML(iconChevronDown())}.import { html, unsafeHTML } from '@bolt/element';
import { iconChevronDown } from '@bolt/elements-icon/src/icons/js/chevron-down';
return html`
`;