Artifacts UI
under review
Paul-Louis Pröve
Claude 3.5 Sonnet introduces artifacts, which appears to be a very flexible way to bring interactive components to the UI. It uses XML tags to mark artifacts in the UI, which can then be interpreted by external renderers like a browser.
Somebody posted the Sonnet 3.5 artifacts instructions on twitter which might be a good starting point for implementation details, but you might want to consider a more general solution. In theory, artifacts should work with any model. It's just code within a specific XML tag that gets interpreted a certain way by the application. Having a UI that allows workflows like v0.dev or Claude artifacts would be amazing, where I can switch between viewing code and seeing the rendered result and then iterating over it.
N
Nirmal Sharon Joji
Hey Daniel Nguyen if you are looking for some inspiration on how you would build the artifacts UI, take a look at the below (its the first native mac app that i have seen with support for artifacts)
https://sageapp.ai/
(have attached a screenshot as well)
N
Nirmal Sharon Joji
Would we be getting this feature ? Daniel Nguyen
Daniel Nguyen
Nirmal Sharon Joji Yes. I recently added the thinking UI which works the same way. I will support for artifacts soon.
N
Nirmal Sharon Joji
Daniel Nguyen If you are putting in the effort, it would be really good if you supported React with Tailwind CSS instead of plain HTML, CSS, and JS. As a bonus, if shadcn/ui could be included, then it would be a game-changer!
N
Nirmal Sharon Joji
take a look at this as well:
Man i really wish this feature was in progress :(
N
Nirmal Sharon Joji
Love this idea. Having a native application do this is probably going to be the first time!
Maybe something we could take inspiration from? any rough estimates for this feature ?
Daniel Nguyen
under review