You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: render SVG/HTML artifacts inline in chat #25076
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Problem
When a model generates SVG or HTML content, the desktop app only shows raw code. There's no way to preview the rendered output without copying it to a browser.
Proposed solution
Add an inline preview panel in the desktop app (Tauri-based) that renders SVG/HTML when the model outputs a code block tagged as svg or html. Similar to how Claude.ai or LobeChat handle Artifacts.
Why it belongs in OpenCode
The desktop app already wraps a web UI via Tauri, so a webview-based renderer is a natural fit. This would make the desktop experience meaningfully different from the TUI.
Reacted by Roby Ibrahim Renata, seho, Daniel Harvey, Motoi Washida, Trinition and Chao-Han Tsai
changed the title [-]feat(desktop): render SVG/HTML artifacts inline in chat[/-][+][FEATURE]: render SVG/HTML artifacts inline in chat[/+]on Apr 30, 2026
Activity
github-actions commentedon Apr 30, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:(e.g.,[FEATURE]: render SVG/HTML artifacts inline in chat)Please edit this issue to address the above within 2 hours, or it will be automatically closed.
If you believe this was flagged incorrectly, please let a maintainer know.
[-]feat(desktop): render SVG/HTML artifacts inline in chat[/-][+][FEATURE]: render SVG/HTML artifacts inline in chat[/+]github-actions commentedon Apr 30, 2026
Thanks for updating the issue! It now meets our contributing guidelines. Your feature request is good to go.
github-actions commentedon Sep 1, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.