Skip to main content
Our new developer certification is live!

TechnologyTags

Renders technology taxonomy terms with icons from /technologies/{term}.svg. Shows icon when available; otherwise text only. Shared by content pages and search filters.

Props

PropTypeRequiredDefaultDescription
termsstring[]Yes-Technology term UIDs (e.g. "react", "next")
cslpCSLPFieldMappingNo-CSLP mapping for visual editing in CMS
classNamestringNo''Additional CSS classes for container
interactivebooleanNofalseWhether tags are clickable (link to search)
getHref(term: string) => stringNo-Callback to generate href when interactive

Usage

import TechnologyTags from '@/components/molecules/TechnologyTags';

// Basic display
<TechnologyTags terms={['react', 'next']} />

// Interactive with links to search
<TechnologyTags
  terms={technologyTerms}
  interactive
  getHref={(term) => `/search?technology=${encodeURIComponent(term)}`}
/>

Features

  • Technology icons: Uses SVG icons from public/technologies/ (angular, astro, next, nuxt, react, svelte, vue)
  • Tag design system: Uses tagVariants from atoms/Tag for consistent taxonomy tag styling
  • Fallback: Renders text only when icon unavailable
  • Interactive mode: Links to search or custom URLs when getHref provided
  • CSLP support: Pass cslp for Contentstack Live Preview editing

Notes

  • Icons sourced from lib/technologies.ts via getTechnologyIconSrc()
  • Used by ContentTaxonomies for technology terms on Blog, Guide, LiveStream, Kickstart
  • Used by CardTaxonomies for kickstart cards in List (DefaultCard, IconCard)
  • Technology filter in search sidebar uses same icons via FilterCheckbox iconSrc