Skip to content

Tech Stack

List the tools you use, grouped by category, with icons and a label column.

Preview

Language
TypeScript
Rust
Frontend
Solid
React
Tailwind CSS
Backend
Bun
PostgreSQL
const GROUPS = [
  {
    label: "Language",
    tools: [
      { icon: "typescript", name: "TypeScript" },
      { icon: "rust", name: "Rust" },
    ],
  },
  {
    label: "Frontend",
    tools: [
      { icon: "solid", name: "Solid" },
      { icon: "react", name: "React" },
      { icon: "tailwindcss", name: "Tailwind CSS" },
    ],
  },
  {
    label: "Backend",
    tools: [
      { icon: "bun", name: "Bun" },
      { icon: "postgresql", name: "PostgreSQL" },
    ],
  },
];

export const TechStackExample = () => (
  <div className="flex w-full max-w-md flex-col gap-3.5 sm:gap-4">
    {GROUPS.map((group) => (
      <div
        className="grid grid-cols-[clamp(6.4rem,20vw,8rem)_minmax(0,1fr)] gap-2"
        key={group.label}
      >
        <div className="text-muted-foreground text-[13px] leading-5">
          {group.label}
        </div>
        <div className="flex flex-wrap gap-x-3.5 gap-y-1.5 sm:gap-x-4 sm:gap-y-2">
          {group.tools.map((tool) => (
            <div
              className="text-foreground/90 flex items-center gap-[0.4em] text-[13px] leading-5"
              key={tool.icon}
            >
              <img
                alt=""
                className="size-3.5"
                height={14}
                src={`https://cdn.simpleicons.org/${tool.icon}/a1a1aa`}
                width={14}
              />
              {tool.name}
            </div>
          ))}
        </div>
      </div>
    ))}
  </div>
);

Features

  • Sizes the label column to sit beside body text.
  • Takes any icon. An SVG, an image, or a sprite reference.
  • Wraps items cleanly on narrow screens.

Example

<div className="flex flex-col gap-3.5 sm:gap-4">
  <div className="grid grid-cols-[clamp(6.4rem,20vw,8rem)_minmax(0,1fr)] gap-2">
    <div className="text-muted-foreground text-[13px] leading-5">Frontend</div>
    <div className="flex flex-wrap gap-x-3.5 gap-y-1.5 sm:gap-x-4 sm:gap-y-2">
      <div className="text-foreground/90 flex items-center gap-[0.4em] text-[13px] leading-5">
        <img
          alt=""
          className="size-3.5"
          height="14"
          src="https://cdn.simpleicons.org/solid/a1a1aa"
          width="14"
        />
        Solid
      </div>
      <div className="text-foreground/90 flex items-center gap-[0.4em] text-[13px] leading-5">
        <img
          alt=""
          className="size-3.5"
          height="14"
          src="https://cdn.simpleicons.org/tailwindcss/a1a1aa"
          width="14"
        />
        Tailwind CSS
      </div>
    </div>
  </div>
</div>