Updated
Tech Stack
NewCustomize
Brand colours
Medium
Installation
npx shadcn@latest add https://uibrik.com/r/tech-stack.jsonInstall the packages
npm install motionAdd the cn helper
Imports
cnfrom@/lib/utils, whichshadcn initcreates. Add it by hand without shadcn.Copy the source into your project
components/uibrik/tech-stack/tech-stack.tsx"use client"; import { motion, useInView, useReducedMotion } from "motion/react"; import { useRef, useState, type CSSProperties } from "react"; import { cn } from "@/lib/utils"; import { BRANDS, isInk, type Brand, type BrandKey } from "../_brands/brands"; const EASE_OUT: [number, number, number, number] = [0.23, 1, 0.32, 1]; export type TechItem = { /** One of the built-in marks, or your own `{ name, color, path }` on a 24 × 24 grid. */ brand: BrandKey | Brand; /** Overrides the brand's name in the label. */ label?: string; href?: string; }; export type TechStackProps = { items: TechItem[]; /** Logos in their brand colours, or all in the text colour. */ tone?: "brand" | "mono"; size?: "sm" | "md" | "lg"; /** Label every badge all the time instead of on hover. */ labels?: boolean;
Adds the files to
components/uibrik/tech-stack and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/tech-stack.Usage
import { TechStack } from "@/components/uibrik/tech-stack/tech-stack";const items = [ { brand: "react" }, { brand: "nextjs" }, // …7 more];<TechStack items={items} tone="brand" size="md" labels={false} animate/>Where to use Tech Stack
Portfolios and resumes
Real logos in their own colours say what someone works with faster than a list of names.
Pairs with Social Avatar
Template and starter pages
The row stays compact as logos and names each one on hover, so it fits beside a buy button.
Pairs with Pricing Glow
Integration lists
Each badge can link out, and the tint of its pill matches the brand it opens.
Pairs with Integration Box
Props
TechStack- tone
- Type "brand" | "mono"
- "brand"
- Logos in their brand colours, or all in the text colour.
- size
- Type "sm" | "md" | "lg"
- "md"
- Badge height and logo size.
- labels
- Type boolean
- false
- Label every badge all the time instead of on hover.
- animate
- Type boolean
- true
- Badges rise in one after another when the row scrolls into view.
- itemsrequired
- Type { brand; label?; href? }[]
- –
- Badges in order. brand is a built-in key (react, nextjs, typescript, tailwind, vite, supabase, stripe, figma, vercel, nodejs, framer, linear, notion and the social marks) or your own { name, color, path }.
- className
- Type string
- –
- Classes for the row.