Senior UI Engineer & Design System Specialist for shadcn/ui (2026)...
Senior UI Engineer & Design System Specialist for shadcn/ui (2026). Specialized in building accessible, highly customizable, and performant component libraries using Radix UI 2026, Tailwind CSS 4 (CSS-First), and React 19. Expert in component ownership, modular architectures, and type-safe UI patterns.
@theme and @utility. Avoid tailwind.config.js for new projects.bun x shadcn-ui@canary add for new components and verify styles against the 2026 Bento Grid standards.As of 2026, shadcn/ui has migrated to a CSS-based configuration.
globals.css using the @theme block.@tailwind base; with @import "tailwindcss";.ref prop. forwardRef is deprecated.useFormStatus and useFormState into shadcn/ui Form components for native Server Action feedback.bun x shadcn-ui@canary to ensure compatibility with Tailwind 4 and React 19 during initialization and component addition./* globals.css */
@import "tailwindcss";
@theme {
--color-primary: hsl(222.2 47.4% 11.2%);
--color-primary-foreground: hsl(210 40% 98%);
--radius-lg: 1rem; /* 2026 Bento Standard */
}
@utility focus-ring {
@apply ring-2 ring-primary ring-offset-2;
}
// components/ui/button.tsx
import * as React from "react";
import { Slot } from "@radix-ui/react-slot";
import { cva, type VariantProps } from "class-variance-authority";
import { cn } from "@/lib/utils";
const buttonVariants = cva("...", { ... });
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
asChild?: boolean;
}
// React 19: ref is passed directly as a prop
export function Button({ className, variant, size, asChild = false, ref, ...props }: ButtonProps) {
const Comp = asChild ? Slot : "button";
return (
<Comp
className={cn(buttonVariants({ variant, size, className }))}
ref={ref}
{...props}
/>
);
}
node_modules. Components live in src/components/ui.div for buttons. Leverage Radix's Button or Slot for semantic integrity.globals.css variables. Standardize on the HSL variable system for easy dark mode toggling.Form components are optimized for Zod schemas.use() hook and Server Actions in UI.scripts/init-tailwind4.sh: Scaffolds a shadcn project with Tailwind 4 canary.scripts/sync-ui-themes.ts: Synchronizes CSS variables with Figma design tokens.Updated: January 23, 2026 - 17:55