For the complete documentation index, see /llms.txt. A single-fetch full bundle is at /llms-full.txt. Every docs page is also available as Markdown by appending .md to its URL, or by requesting it with Accept: text/markdown.

TagCloud

Weighted tag pills showing the agent's most frequent feedback tags. Pill size reflects mention frequency across all feedback entries.

Preview

Usage

import { TagCloud } from "@erc8004/ui"
<TagCloud agentRegistry="eip155:8453:0x8004A169FB4a3325136EB29fA0ceB6D2e539a432" agentId={2290} />

Examples

Top 5 Tags

Limit to the 5 most frequent tags.

<TagCloud agentRegistry="eip155:8453:0x8004...a432" agentId={2290} maxTags={5} />

Minimum 3 Occurrences

Only show tags mentioned at least 3 times to filter out noise.

<TagCloud agentRegistry="eip155:8453:0x8004...a432" agentId={2290} minOccurrences={3} />

In Context

TagCloud in a marketplace card alongside agent identity and score.

<AgentProvider agentRegistry="eip155:8453:0x8004...a432" agentId={2290}>
  <div className="flex items-center gap-3">
    <AgentImage />
    <div>
      <AgentName />
      <ReputationScore />
    </div>
  </div>
  <TagCloud maxTags={5} />
</AgentProvider>

API Reference

PropTypeRequiredDefaultDescription
agentRegistrystringNoAgent registry in the format "eip155:{chainId}:{contractAddress}". Required unless inside an <AgentProvider>.
agentIdnumberNoERC-721 token ID of the agent. Required unless inside an <AgentProvider>.
classNamestringNoOptional CSS classes merged onto the component root for layout, spacing, or custom styling (e.g. Tailwind).
maxTagsnumberNo20Maximum number of tags shown.
minOccurrencesnumberNo1Minimum mention count for a tag to appear.

States

This component handles loading, error, empty, and not-found states internally. A skeleton placeholder is shown while fetching, an error message with details appears if the Subgraph is unreachable, and a short message is displayed when no data exists for this agent.