Labsco
anthropics logo

Artifacts Builder

✓ Official158,000

by Anthropic · part of anthropics/skills

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts. license: Complete terms in LICENSE.txt

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

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts. license: Complete terms in LICENSE.txt

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

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts. license: Complete terms in LICENSE.txt npx skills add https://github.com/anthropics/skills --skill web-artifacts-builder Download ZIPGitHub158k

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