Icon Section

Simple Icon Display

A section component to render icons on your website. This component draws on a library of Feather icons, pre-loaded in the Metalsmith First starter, packaged as Nunjucks files. These icons are seamlessly integrated into the build process. The complete catalog of available icons can be explored on feathericons.com, giving you a wide range of choices to suit your design needs.

The icon section offers a straightforward and effective way to display icons, along with an optional caption.

And you're not limited to the built-in icons. You have the flexibility to expand your icon library simply by adding new icons to the lib/layouts/icons directory. Just make sure to change the file extension from svg to njk. Once this is done, the icon section will seamlessly recognize and render these new icons, providing you with even more creative freedom and customization options for your projects.

The Feather icon


  - container: section
    name: icon
      isDisabled: false
      isAnimated: false
      containerId: ""
      containerClass: ""
      inContainer: true
      isNarrow: false
        color: ""
        image: ""
        isDark: false
      name: feather
      caption: "The Feather icon"
Scroll to top