artifacts-builder

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.

Install

Hot:12

Download and extract to your skills directory

Copy command and send to OpenClaw for auto-install:

Download and install this skill https://openskills.cc/api/download?slug=composiohq-artifacts-builder&locale=en&source=copy

Artifacts Builder - Claude AI Frontend Component Builder Tool

Skill Overview


Artifacts Builder is a toolkit for creating complex, multi-component Claude.ai HTML artifacts. It supports modern frontend stacks such as React, TypeScript, Tailwind CSS, and shadcn/ui. It’s designed for complex artifacts that need state management, routing, or shadcn/ui components—not simple single-file HTML/JSX artifacts.

Use Cases

1. Building Complex Interactive UIs


When you need to create Claude.ai artifacts with complex user interactions, state management, or multi-page routing, Artifacts Builder provides a complete React + TypeScript development environment. Compared with simple single-file HTML, you can build a truly application-level interface here.

2. shadcn/ui Component Library Integration


If you want to use shadcn/ui’s 40+ prebuilt components (including buttons, forms, dialogs, data display, etc.) in your Claude artifacts, Artifacts Builder comes preconfigured with all dependencies and the theme system, so you can use them directly without manual setup.

3. Production-Grade Frontend Packaging


When you need to bundle a React + Vite project into a single self-contained HTML file, Artifacts Builder provides automated scripts that handle complex configurations such as Parcel bundling, resource inlining, and path aliases. With one click, it generates a shareable bundle.html.

Core Features

1. One-Click Project Initialization


Run scripts/init-artifact.sh to create a complete React + TypeScript + Vite project, including Tailwind CSS 3.4.1 + shadcn/ui theme system, path aliases (@/), 40+ shadcn/ui components, all Radix UI dependencies, and Node 18+ compatibility configuration.

2. Automated Bundling Script


The scripts/bundle-artifact.sh script automates the bundling process: installing bundling dependencies (parcel, @parcel/config-default, parcel-resolver-tspaths, html-inline), creating a .parcelrc configuration, using Parcel to build (without source maps), and inlining all resources into a single HTML file.

3. Modern Frontend Tech Stack


Supports React 18, TypeScript, Vite (development), Parcel (bundling), Tailwind CSS, and shadcn/ui, delivering a full modern frontend development experience, including hot module replacement, type checking, CSS-in-JS, and responsive design support.

FAQ

What types of Claude artifacts is Artifacts Builder suitable for?


Artifacts Builder is designed specifically for elaborate, multi-component artifacts. If your artifact needs state management, routing, or a shadcn/ui component library, this is the ideal choice. For simple single-file HTML/JSX artifacts, a lighter-weight solution is recommended.

How do I bundle my React project into a single HTML file?


Make sure there is an index.html file in the project root directory, then run bash scripts/bundle-artifact.sh. The script will automatically install bundling dependencies, configure Parcel, build the project, inline all resources, and generate a bundle.html file that you can share directly in your Claude conversation.

What preconfigurations are included after initialization?


The initialization script creates a project including: React + TypeScript (via Vite), Tailwind CSS 3.4.1 + shadcn/ui theme system, path alias (@/) configuration, 40+ shadcn/ui components preinstalled, all Radix UI dependencies, Parcel bundling configuration (.parcelrc), and Node 18+ compatibility (it auto-detects and locks the Vite version).