Generate Components

SVG, React, Svelte, SwiftUI and data URI.

Turn the cleaned vector into code.

Choose a format

In 03 Generate choose SVG, React, Svelte, SwiftUI or Data URI. The name field sets the component name; Specimen suggests one from the file name. The preview shows the code with line numbers.

Specimen SwiftUI output
A synthesizer card as a SwiftUI Shape, on a black ground.

Copy or save

Copy component code puts it on the clipboard. Save, or Command-S, writes it to a file with the right extension. SwiftUI Shape is geometry only; when a file uses effects a Shape cannot draw, Specimen explains what is missing.