Components

Component types, attributes, and example entry points.

Available components

LinkFox currently provides five component types:

  • linkfox-widget
  • linkfox-navbar
  • linkfox-list
  • linkfox-grid
  • linkfox-inline

If you want live previews and copy-ready snippets, open the interactive examples page at /component.

Common attributes

Use api-key only in trusted environments. For private data on external sites, prefer server-side rendering with @linkfox/core.

AttributeRequiredTypeDescription
slugYesstringThe source site slug used as the root context
api-keyNostringYour LinkFox API key. Omit it to read public site networks only
groupNostringFilter returned sites by group slug
titleNostringHeader text for widget, list, and grid
themeNolight | sand | mintBuilt-in visual theme
max-itemsNonumberMaximum number of sites to render
show-descriptionNobooleanToggle link descriptions
open-in-new-tabNobooleanOpen links in a new tab
utm-keyNostringQuery parameter key appended to links
utm-valueNostringQuery parameter value appended to links
empty-messageNostringText shown when no related sites are returned

Example

<linkfox-inline
  slug="game-father"
  group="game"
  max-items="5"
  utm-key="ref"
  utm-value="docs"
></linkfox-inline>