Labsco
anthropics logo

web-artifacts-builder

✓ Official158,100

by anthropic · part of anthropics/skills

Multi-component React artifacts for Claude with bundling, state management, and shadcn/ui component library. Scaffolds React 18 + TypeScript projects with Vite, Tailwind CSS, and 40+ pre-installed shadcn/ui components via automated initialization script Bundles complete artifacts into single self-contained HTML files with inlined assets, ready for Claude artifact display Includes design guidance to avoid common "AI slop" patterns like excessive centering, purple gradients, and uniform...

🔥🔥🔥🔥✓ VerifiedFreeQuick setup
🧩 One of 7 skills in the anthropics/skills package — works on its own, and pairs well with its siblings.

Multi-component React artifacts for Claude with bundling, state management, and shadcn/ui component library. Scaffolds React 18 + TypeScript projects with Vite, Tailwind CSS, and 40+ pre-installed shadcn/ui components via automated initialization script Bundles complete artifacts into single self-contained HTML files with inlined assets, ready for Claude artifact display Includes design guidance to avoid common "AI slop" patterns like excessive centering, purple gradients, and uniform...

Inspect the full instructions your agent will receiveExpand

This is the exact playbook injected into your agent when the skill activates — shown here so you can audit it before installing. You don't need to read it to use the skill.

by anthropic

Multi-component React artifacts for Claude with bundling, state management, and shadcn/ui component library. Scaffolds React 18 + TypeScript projects with Vite, Tailwind CSS, and 40+ pre-installed shadcn/ui components via automated initialization script Bundles complete artifacts into single self-contained HTML files with inlined assets, ready for Claude artifact display Includes design guidance to avoid common "AI slop" patterns like excessive centering, purple gradients, and uniform... npx skills add https://github.com/anthropics/skills --skill web-artifacts-builder Download ZIPGitHub158.1k

Web Artifacts Builder

To build powerful frontend claude.ai artifacts, follow these steps:

  • Initialize the frontend repo using scripts/init-artifact.sh

  • Develop your artifact by editing the generated code

  • Bundle all code into a single HTML file using scripts/bundle-artifact.sh

  • Display artifact to user

  • (Optional) Test the artifact

Stack: React 18 + TypeScript + Vite + Parcel (bundling) + Tailwind CSS + shadcn/ui

Design & Style Guidelines

VERY IMPORTANT: To avoid what is often referred to as "AI slop", avoid using excessive centered layouts, purple gradients, uniform rounded corners, and Inter font.

Reference