Documentation Index
Fetch the complete documentation index at: https://mintlify.com/apursley2012/y2k-webring/llms.txt
Use this file to discover all available pages before exploring further.
PillTag is the skill badge component used on the Skills page. It encodes proficiency visually through size: a level-1 beginner tag is small and understated, while a level-5 expert tag is large and bold. This means a quick scan of the skill grid immediately communicates relative expertise without needing a separate legend or star rating. An optional note prop surfaces a tooltip on hover, giving each tag a single line of extra context.
Props
The skill label displayed inside the pill. Rendered as plain text.
Proficiency level from 1 (beginner) to 5 (expert). Controls the Tailwind
sizing classes applied to the pill — see the Level Scale
table for exact values.
Optional tooltip text displayed above the tag on hover. Rendered inside a
Framer Motion
AnimatePresence transition. If omitted, no tooltip is shown.Border and glow color for the pill. Accepts
"magenta", "lime", or
"cyan". Resolves to border-y2k-{color} on the pill border and
border-y2k-{color} on the tooltip border.Level Scale
Thelevel prop maps directly to a set of Tailwind size classes. There are no intermediate values — only integers 1–5 are valid.
level | Tailwind size classes | Typical meaning |
|---|---|---|
1 | text-xs px-2 py-0.5 | Beginner — aware of the tool |
2 | text-sm px-3 py-1 | Learning — building familiarity |
3 | text-base px-4 py-1.5 | Competent — can work independently |
4 | text-lg px-5 py-2 | Proficient — comfortable with advanced patterns |
5 | text-xl px-6 py-2.5 font-bold | Expert — deep knowledge, go-to skill |
Tooltip
Whennote is provided, PillTag tracks a hovered boolean via useState on onMouseEnter / onMouseLeave. The tooltip mounts and unmounts inside a Framer Motion <AnimatePresence> block, which means it animates in and out cleanly even if the user moves away quickly.
The tooltip animates through three stages:
| Stage | opacity | y offset | scale |
|---|---|---|---|
Enter (initial) | 0 | 10 | 0.9 |
Visible (animate) | 1 | 0 | 1 |
Exit (exit) | 0 | 5 | 0.9 |
bottom: 100%, centered with -translate-x-1/2) and uses a bg-y2k-violet background (#14001f) with the same colored border as the pill. Text is rendered in font-marginalia (Caveat cursive) with text-y2k-lavender color.
The tooltip container has
w-max max-w-[200px], so short notes appear
compact while longer notes wrap at 200px. Keep notes brief — one punchy
phrase is ideal.Usage Example
In Context
The Skills page iterates overportfolioData’s skill categories object, rendering a PillTag for every entry. Each category maps to its own colored group:
color prop can be varied per category to give each group a distinct neon hue.