Anti-Vibecode UI Grader
Paste any React, TSX, HTML, or CSS snippet generated by an AI agent. Instant 0–100 audit for token discipline, accessibility, reduced-motion safety, and AI slop patterns — plus a 1-click Fix Prompt.
Paste AI-Generated UI to Grade
Diagnostic Findings (19)
Also runnable in CI vianpx uikits-md checkTriggered by: Generic purple/indigo gradient or neon glow; Pure #000000 dark surface halation; Untokenized hardcoded hex palette drift; Placeholder media or Lorem Ipsum filler; Generic cliché copy or third-party brand leak; Distracting loops or transition-all without reduced-motion; Default icon library drift (lucide-react); Template shortcuts (outline-none, clickable divs, or uniform rounded-2xl cards). Apply a semantic design system with 60-30-10 color discipline and real domain copy.
purple-neon-gradient · pure-black-halation · untokenized-hex-drift · placeholder-filler · generic-logo-test-copy · unbounded-motion · icon-library-drift · template-a11y-shortcutReplace arbitrary hex values with semantic CSS custom properties like var(--surface) or var(--ink).
<div className="min-h-screen bg-[#000000] text-[#ffffff] p-8">Replace arbitrary hex values with semantic CSS custom properties like var(--surface) or var(--ink).
<h4 className="text-sm text-[#cbd5e1]">Lorem ipsum all-in-one solution.</h4>Replace arbitrary hex values with semantic CSS custom properties like var(--surface) or var(--ink).
<button onClick={() => {}} className="mt-4 bg-[#6366f1] px-6 py-3 outline-none transition-all">Replace arbitrary hex values with semantic CSS custom properties like var(--surface) or var(--ink).
<div onClick={() => {}} className="mt-6 bg-[#111827] p-4 transition-all">Avoid pure #000000 / bg-black on dark primary containers (causes OLED halation). Use tinted obsidian (#09090b, #0b0d10, or #121212) with stepped surface luminance.
<div className="min-h-screen bg-[#000000] text-[#ffffff] p-8">Never ship placeholder.com or picsum.photos URLs. Use real brand-safe assets or inline SVG graphics.
<img src="https://picsum.photos/600/400" className="w-full" />Replace 'Lorem ipsum' and 'Image here' with realistic domain-specific copy and real visual components.
<h4 className="text-sm text-[#cbd5e1]">Lorem ipsum all-in-one solution.</h4>Replace 'Lorem ipsum' and 'Image here' with realistic domain-specific copy and real visual components.
<p>Image here</p>Use a native <button type="button"> or add proper role + keyboard Enter/Space handling.
<div onClick={() => {}} className="mt-6 bg-[#111827] p-4 transition-all">Every <img> must include a descriptive alt attribute (or alt="" if purely decorative).
<img src="https://picsum.photos/600/400" className="w-full" />Removing outline-none / outline: none hides keyboard focus (WCAG 2.2 SC 2.4.7). Pair with focus-visible:ring-2 or focus-visible:outline-2.
<button onClick={() => {}} className="mt-4 bg-[#6366f1] px-6 py-3 outline-none transition-all">Use sequential heading levels (<h1> -> <h2>) for screen-reader navigation and control visual scale with CSS classes.
<h4 className="text-sm text-[#cbd5e1]">Lorem ipsum all-in-one solution.</h4>WCAG 2.2 SC 2.5.8 requires at least 24x24px interactive hit targets (44x44px recommended for touch). Expand size or add padding/pseudo-element hit area.
<button type="button" aria-label="Close banner" className="ml-2 h-4 w-4">x</button>Animate only specific GPU-friendly properties (transition-colors, transition-transform, transition-opacity).
<button onClick={() => {}} className="mt-4 bg-[#6366f1] px-6 py-3 outline-none transition-all">Animate only specific GPU-friendly properties (transition-colors, transition-transform, transition-opacity).
<div onClick={() => {}} className="mt-6 bg-[#111827] p-4 transition-all">Replace default animate-bounce/ping with intentional state transitions that respect prefers-reduced-motion.
<Sparkles className="h-5 w-5 animate-bounce" />Use restrained 60-30-10 surface hierarchy, hairline borders, and a disciplined accent token instead of purple-pink gradients.
<div className="rounded-2xl bg-gradient-to-r from-purple-500 via-indigo-500 to-pink-500 p-8 shadow-[0_0_40px_rgba(168,85uikits.tech standardizes on @phosphor-icons/react for consistent stroke geometry across all packs.
import { Sparkles } from "lucide-react";Automate Anti-Vibecode Grading on Every Pull Request
Drop this workflow into .github/workflows/ui-check.yml to grade PR UI files automatically and post a sticky 0–100 scorecard comment — 100% free with built-in GITHUB_TOKEN.
name: UI Anti-Vibecode PR Gate
on:
pull_request:
paths: ["src/components/**"]
permissions:
contents: read
pull-requests: write
jobs:
ui-grade:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
- uses: vietlinhh02/uikits-md/.github/actions/anti-vibecode-check@main
with:
directory: "src/components"
min-score: "85"
comment-pr: "true"