Skip to content

Comments

feat: add reusable Badge pill component#110

Merged
struong merged 1 commit intojen/network-upgrades-pagefrom
struong/badge-component
Feb 18, 2026
Merged

feat: add reusable Badge pill component#110
struong merged 1 commit intojen/network-upgrades-pagefrom
struong/badge-component

Conversation

@gakonst
Copy link
Contributor

@gakonst gakonst commented Feb 18, 2026

Summary

Adds a reusable <Badge> component and replaces emoji priority indicators on the network upgrades page.

Changes

  • New src/components/Badge.tsx — pill-style badge following the Demo component pattern (rounded-[30px], 9px uppercase)
  • Supports all Radix color variants: red, amber, green, blue, violet, gray
  • Updates network-upgrades.mdx to use <Badge variant="red">Required</Badge> instead of 🔴 emoji

Usage

import { Badge } from '../../../components/Badge'

<Badge variant="red">Required</Badge>
<Badge variant="amber">Recommended</Badge>
<Badge variant="green">Optional</Badge>

Stacked on #108.

Prompted by: struong

Adds a Badge component following the Demo pill style (rounded-[30px], 9px
uppercase text) with variants for all Radix color scales: red, amber,
green, blue, violet, gray.

Replaces emoji priority indicators with <Badge variant="red">Required</Badge>
on the network upgrades page.

Co-authored-by: Jen <jen@tempo.xyz>
Amp-Thread-ID: https://ampcode.com/threads/T-019c71df-8566-77cd-80ce-01c287208044
Co-authored-by: Amp <amp@ampcode.com>
@vercel
Copy link

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tempo-docs Ready Ready Preview, Comment Feb 18, 2026 5:57pm

Request Review

@struong struong merged commit 0b4c1c1 into jen/network-upgrades-page Feb 18, 2026
6 checks passed
@struong struong deleted the struong/badge-component branch February 18, 2026 18:33
struong pushed a commit that referenced this pull request Feb 18, 2026
* docs: add network upgrades and releases page

Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019c6d44-a233-71bd-ab22-e0b7912d371a

* fix: escape angle brackets in synced TIPs and fix MDX entities in network-upgrades

Amp-Thread-ID: https://ampcode.com/threads/T-019c7057-3255-75ec-b56f-aaa78135684e
Co-authored-by: Amp <amp@ampcode.com>

* feat: add reusable Badge pill component and use in network upgrades page (#110)

Adds a Badge component following the Demo pill style (rounded-[30px], 9px
uppercase text) with variants for all Radix color scales: red, amber,
green, blue, violet, gray.

Replaces emoji priority indicators with <Badge variant="red">Required</Badge>
on the network upgrades page.


Amp-Thread-ID: https://ampcode.com/threads/T-019c71df-8566-77cd-80ce-01c287208044

Co-authored-by: Jen <jen@tempo.xyz>
Co-authored-by: Amp <amp@ampcode.com>

---------

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Jen <jen@tempo.xyz>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants