Cloud|

@k2b/ui

Cards and identity

Links and portable avatar identity.

LinkCard@k2b/uiAvatar@k2b/ui

LinkCard uses an explicit color and Avatar accepts a portable image URL or text fallback.

TSX

Copy
import { Avatar, LinkCard } from "@k2b/ui";
<LinkCard href="/runtime" title="Runtime" description="Open details" icon="ti ti-server" color="cyan" />
<Avatar name="Ada Lovelace" src="/avatars/ada.webp" size="lg" />
<Avatar name="Grace Hopper" fallback="GH" size="md" />

LinkCard is a single-destination navigation tile. Avatar renders an application-owned image URL, a semantic icon, or an initials fallback.

Use cards and identity

Use LinkCard when the complete surface leads to one destination. Use Avatar beside a visible name when identity matters. Do not place unrelated interactive controls inside a link card.

Import

tsx
import { Avatar, LinkCard } from "@k2b/ui";

LinkCard accepts a title, description, icon, destination, and semantic color. Avatar accepts a name, optional image URL or icon, fallback, size, and loading behavior. Image content takes precedence over the icon, which takes precedence over initials.

Accessibility

The card remains one native link with a visible focus indicator. Avatar supplies an image alternative or fallback role="img" label.

Runtime

Both components render on the server. Link navigation works without hydration; avatar image-failure fallback activates after hydration.

Example

tsx
<LinkCard
  href="/runtime"
  title="Runtime"
  description="Open runtime details"
  icon="ti ti-server"
  color="cyan"
/>

<Avatar name="Ada Lovelace" src={profileImageUrl} size="sm" />
<Avatar name="Workflow" icon="ti ti-route" size="sm" />

Connect a coding agent

The Cloud skill provides compact working instructions. MCP supplies exact current documentation when details matter.

CLI command
bunx skills add https://docs.example.com

This command installs the working instructions published by this website in the selected coding agent.

For exact, current details, also connect the MCP server through one of the agent tabs.

Installation uses the open-source Vercel Skills CLI.

The skill and MCP complement each other: the skill describes workflows, while MCP supplies current documentation.