Code Agency

#frontend

8 articles tagged frontend.

9 min read

Stopping form spam without CAPTCHAs: honeypots, timing and fake success

Making a human prove humanity is a UX tax, and the bots pay it more reliably than your customers do. The invisible gate on every form on this site: a honeypot field, a minimum fill time, and a fake success that teaches the bot nothing — three server-side checks, no third-party script.

securityfrontendnextjs
9 min read

Design tokens in Tailwind v4: one palette, every surface

CSS-first config turns Tailwind into a token pipeline: OKLCH variables in, consistent components out. The two-layer setup, the one keyword that makes dark mode work, and the four files where the cascade stops.

frontendtailwind
8 min read

Leaving Radix for Base UI: a component migration story

When your primitive library changes direction, you migrate deliberately. Mapping Radix patterns onto Base UI, the accessibility differences that surprised us, and the codemod that did the boring three quarters.

reactfrontenddevelopment
8 min read

Core Web Vitals for business sites: the field guide

LCP, INP and CLS are graded on real visitors at the 75th percentile, not on your MacBook with a Lighthouse tab open. What actually moves each metric on content and commerce sites, ranked by effort.

performancefrontendseonextjs