Let’s explain to you What are Claude’s Artifacts and how do they work?, one of the functions unique and most differentiating of this chat artificial intelligence. With it, you will be able to create web applications in Claudewhich you will be able to execute and use directly on your website or application.
Anthropic’s AI is one of the leaders in the industry, and also the most important for programmers, with other functions such as Claude Code. We are going to start the article by explaining in a simple way what exactly artifacts are, and then we will tell you step by step how they can be created.
What are Claude’s artifacts?


Claude’s Artifacts are a functionality that allows this artificial intelligence model generate structured contentsuch as code, long documents and complete interfaces. The result will then be shown to you in a separate panel, but within the same conversation.
If you have ever used Claude, you will have already noticed that there are times when instead of responding to you with plain text it makes a small functional application. This happens because this AI has a kind of internal mechanism to be able to generate this type of content.


There are many types of artifact. They can be web pages written in HTML, CSS and JavaScript, or simple games made with these languages. There may also be interactive React components, charts and data visualizations, Markdown documents, diagrams, or vector images.
In this way, on the one hand you will have the code in the text window, but also you will have the possibility to execute it. Think for example that you want to build an application. The rest of the AIs may only generate the code for you, but with Claude an artifact is generated that you can launch and test. And then, if there are things that you want to change that don’t work, you just have to tell the AI so that it can make the modifications and regenerate the artifact.
And the same thing happens with the other formats supported by the artifacts. When you ask them to write an article, telling you a structure that contains titles, subtitles, different font sizes, etc., in addition to showing you the code you will also have to access the artifact, in this case a docx documentand download it to your computer.
This means that instead of generating purely textual responses that you then have to transform into something useful, you are directly receiving the final product you want, or at least a functional version of it, and you can even download the file.
How to use Claude’s artifacts


To use Claude’s artifacts, you have to enter the AI website or application and click on the section Artifacts from the left sidebar.


This will take you to the section where you have various examples and templates. When you click on one of them, you will go to a screen where you will see a screenshot or the prompt to write to create it. You will also have an option to customize. This will help you test your first artifacts and explore methods to modify them.


In the artifact index you will also have a tab to see the ones you have created, and a button New artifact to proceed to create a new one step by step. This will take you to a screen where you will be able to choose an artifact categoryand by clicking on it you will go to a step by step that will help you create your artifact.


For example, if you click on the category of GamesClaude will then ask you what you want to do with this category, being able to create a game as an artifact. So, then you will go step by step where you are guided through everything, choosing the type of game, and other characteristics that you want it to have to give the AI enough context to create it.
ANDThis will help you when you are not sure the type of code you want to use or how to describe to Claude the artifact you want to generate. It is very useful for beginners, and the best way to start.


You can also create artifacts with a prompt in which you describe exactly what you want. You can mention in it that you want to create precisely an artifact, and then describe the language of the application and what exactly you want to use.
In Xataka Basics | Claude: 23 functions and some tricks to get the most out of this artificial intelligence


GIPHY App Key not set. Please check settings