development
Syntax Highlight SVG Icon
Syntax Highlight icon for developer and development interface workflows. Preview the icon in realistic interface contexts, customise its presentation, copy reusable markup and download a tailored SVG.
Icon Studio
Icon Studio
Customise Syntax Highlight, test it in real interface surfaces and copy reusable SVG or JSX. Default copied SVG keeps currentColor; customised SVG includes your preview choices.
Output
Copy production-ready markup.
Default output stays reusable with currentColor. Use customised SVG when you need fixed presentation.
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M4 7h16" /><path d="M7 7v10a3 3 0 0 0 3 3h4a3 3 0 0 0 3-3V7" /><path d="M9 4h6" /><path d="M5 6l2 2" /></svg>Usage examples
Use the format that matches your project. Keep decorative icons hidden from assistive technology, and label icons when they carry meaning without visible text.
Paste inline SVG anywhere you need a dependency-free icon.
<span class="icon">Syntax Highlight</span>Let the icon inherit text colour with currentColor and control size from CSS.
.icon svg { width: 1.25rem; height: 1.25rem; color: currentColor; }Use the JSX snippet when the icon belongs inside a component or design system.
<SyntaxHighlightIcon aria-hidden="true" />Size and colour the inline SVG with utility classes in your own project.
<svg className="h-5 w-5 text-slate-700" aria-hidden="true">...</svg>Use this when adjacent text already explains the icon.
<svg aria-hidden="true" ...>...</svg>Use this when the icon itself communicates the label or state.
<svg role="img" aria-label="Syntax Highlight" ...>...</svg>Accessibility notes
Use aria-hidden="true" when nearby text already explains the action.
Give the button an accessible name, for example aria-label="Copy SVG".
Do not rely on colour alone. Pair status icons with text for error, warning and success states.