CreateWithAIHub

Skill Anthropic

Web Artifacts Builder

Anthropic skill for building multi-component claude.ai HTML artifacts with React, Tailwind CSS and shadcn/ui, bundled to one file.

Web artifact building skillOfficialFreeOpen source
View repository ↗
Save

What it is

Web Artifacts Builder is a skill in Anthropic's example set for creating elaborate, multi-component claude.ai HTML artifacts with modern front-end tools. Claude initialises a React + TypeScript + Vite project with Tailwind CSS and shadcn/ui using a bundled script, develops the app, then bundles everything into a single self-contained HTML file with Parcel. It is meant for complex artifacts that need state management, routing or shadcn/ui components, not simple single-file HTML.

What it's useful for

Building an interactive dashboard artifact with tabs, forms and shadcn/ui components that still ships as one HTML file.

Key features

  • init-artifact.sh scaffolds React 18 + TypeScript + Vite with Tailwind CSS and shadcn/ui
  • 40+ shadcn/ui components and Radix UI dependencies pre-installed
  • bundle-artifact.sh inlines all JS, CSS and assets into a single bundle.html
  • Design guidance to avoid generic layouts, purple gradients and default fonts

Skill source

How to use it

Before you start

  • Node.js 18+
  • bash
Add marketplace in Claude Code
/plugin marketplace add anthropics/skills
Claude Code (part of example-skills)
/plugin install example-skills@anthropic-agent-skills

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Provided by Anthropic for demonstration and educational purposes; behaviour in Claude may differ
  • Not intended for simple single-file HTML/JSX artifacts
  • Scripts need a bash environment with Node 18+ and package installs

MCP servers for this

Figma's MCP server that gives coding agents design context from Figma files and can write back to the canvas.

Free plan + paid

Open-source MCP server that gives coding agents simplified Figma layout and styling data to implement designs.

Free plan + paidOpen source

CreateWithAI Hub's own MCP server: tell your AI what you're building and it finds the tools, MCP servers and skills for the job.

FeaturedFree

Related resources

Anthropic's family of proprietary large language models (Opus, Sonnet, Haiku tiers) for reasoning, coding and agents.

Paid

Atlassian's remote MCP server that lets AI tools search, create and update Jira issues, Confluence pages and more.

Free plan + paid

Anthropic's Chrome extension that lets Claude read pages, click, type and fill forms in your signed-in browser.

Paid

Cloudflare's set of hosted MCP servers, led by one API server that lets agents call the whole Cloudflare API through code.

Free plan + paidOpen source

Type to search. Use ↑ ↓ and Enter.