# Web Artifacts Builder

CreateWithAI Hub page: https://createwithaihub.com/skills/web-artifacts-builder-skill
Latest version of this file: https://createwithaihub.com/skills/web-artifacts-builder-skill.md

- Type: Skill · Category: Skills
- Publisher: Anthropic (official)
- Pricing: Free · License: Apache-2.0
- Works with: Claude Code, Claude apps, Claude API

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

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.

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

## Connection

- Repository source: Anthropic
- Installation: Plugin marketplace

## Skill source

- SKILL.md: https://github.com/anthropics/skills/blob/main/skills/web-artifacts-builder/SKILL.md
- Folder: https://github.com/anthropics/skills/tree/main/skills/web-artifacts-builder

## Before you start

- Node.js 18+
- bash

## Install steps from the official documentation

Add marketplace in Claude Code:

```
/plugin marketplace add anthropics/skills
```

Claude Code (part of example-skills):

```
/plugin install example-skills@anthropic-agent-skills
```

## Limitations

- 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

## Official links

- Source repository: https://github.com/anthropics/skills/tree/main/skills/web-artifacts-builder
- Documentation: https://support.claude.com/en/articles/12512180-using-skills-in-claude
- Source: https://github.com/anthropics/skills/blob/main/skills/web-artifacts-builder/SKILL.md (Skill name and description (multi-component claude.ai HTML artifacts with React, Tailwind CSS, shadcn/ui); init and bundle scripts, stack and requirements)
- Source: https://github.com/anthropics/skills/blob/main/skills/web-artifacts-builder/LICENSE.txt (Apache License 2.0 for this skill folder)
- Source: https://github.com/anthropics/skills/blob/main/.claude-plugin/marketplace.json (Included in the example-skills plugin of the anthropic-agent-skills marketplace)
- Source: https://github.com/anthropics/skills (README: install commands, demonstration-only disclaimer, availability on Claude.ai paid plans and the Claude API)
