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
import { For } from "solid-js";

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 class="flex w-full max-w-md flex-col gap-3.5 sm:gap-4">
    <For each={GROUPS}>
      {(group) => (
        <div class="grid grid-cols-[clamp(6.4rem,20vw,8rem)_minmax(0,1fr)] gap-2">
          <div class="text-muted-foreground text-[13px] leading-5">
            {group.label}
          </div>
          <div class="flex flex-wrap gap-x-3.5 gap-y-1.5 sm:gap-x-4 sm:gap-y-2">
            <For each={group.tools}>
              {(tool) => (
                <div class="text-foreground/90 flex items-center gap-[0.4em] text-[13px] leading-5">
                  <img
                    alt=""
                    class="size-3.5"
                    height="14"
                    src={`https://cdn.simpleicons.org/${tool.icon}/a1a1aa`}
                    width="14"
                  />
                  {tool.name}
                </div>
              )}
            </For>
          </div>
        </div>
      )}
    </For>
  </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 class="flex flex-col gap-3.5 sm:gap-4">
  <div class="grid grid-cols-[clamp(6.4rem,20vw,8rem)_minmax(0,1fr)] gap-2">
    <div class="text-muted-foreground text-[13px] leading-5">Frontend</div>
    <div class="flex flex-wrap gap-x-3.5 gap-y-1.5 sm:gap-x-4 sm:gap-y-2">
      <div class="text-foreground/90 flex items-center gap-[0.4em] text-[13px] leading-5">
        <img
          alt=""
          class="size-3.5"
          height="14"
          src="https://cdn.simpleicons.org/solid/a1a1aa"
          width="14"
        />
        Solid
      </div>
      <div class="text-foreground/90 flex items-center gap-[0.4em] text-[13px] leading-5">
        <img
          alt=""
          class="size-3.5"
          height="14"
          src="https://cdn.simpleicons.org/tailwindcss/a1a1aa"
          width="14"
        />
        Tailwind CSS
      </div>
    </div>
  </div>
</div>