Fragments in Factory are powerful tools that allow you to generate, preview, and integrate various types of code snippets and visualizations directly within your development environment. This guide will walk you through the different types of fragments available and how to use them effectively.
Generate a Fragment
View the Fragment
Interact and Refine
Copy or Export
HTML Fragment Features
Request an HTML Fragment
View and Refine
Import External Library
SVG Fragment Features
Request an SVG Fragment
Refine the Design
React Fragment Features
Request a React Fragment
Add Interactivity
Style with Tailwind
Mermaid Fragment Features
Request a Mermaid Fragment
Refine the Diagram
Python Fragment Features
Request a Python Fragment
Refine the Analysis