Skip to content

[FEATURE]: render SVG/HTML artifacts inline in chat #25076

Closed as not planned
Closed as not planned

Description

@CarryRoy007

Feature hasn't been suggested before.

  • 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.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Apr 30, 2026
  2. github-actions commented on Apr 30, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • Feature request titles must start with [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.

  3. changed the title [-]feat(desktop): render SVG/HTML artifacts inline in chat[/-] [+][FEATURE]: render SVG/HTML artifacts inline in chat[/+] on Apr 30, 2026
  4. github-actions commented on Apr 30, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now meets our contributing guidelines. Your feature request is good to go.

  5. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    webRelates to opencode on web / desktop
    on May 3, 2026
  6. github-actions commented on Sep 1, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions