ClaudeCodeMod

All shelves / Mods / Review

slint-preview

By tilladam

slint-preview is a Claude Code review mod by tilladam.

Opens a live preview of a Slint UI file in a pane beside the conversation, reloads it when you save, and lists build errors under the last good UI.

Draws

Install

The marketplace name is ratatui-slint.

In Claude Code
/plugin install slint-preview --marketplace tilladam/ratatui-slint
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
License
Apache-2.0
Repo stars
12
Last change
2026-10-25

What it can reach

  • Draws in the session
  • Calls another program on this machine

kitty or Ghostty: the preview needs the kitty graphics protocol, and other terminals show a line of text in its place. macOS; on Linux the preview has not been tried in a terminal. slint-preview-helper on the PATH, built with a Rust toolchain: cargo install --locked --git https://github.com/tilladam/ratatui-slint slint-preview-helper, whose first build takes a few minutes. Claude Code with mod support, tested with 2.1.304 to 2.1.308. Without the --marketplace option, add the marketplace first: /plugin marketplace add tilladam/ratatui-slint, then /plugin install slint-preview@ratatui-slint. No pointer or keyboard input reaches the preview, and over ssh the picture is a blank box.

The marketplace, ratatui-slint, holds only this mod; the repository is ratatui-slint, which embeds Slint components as pixel widgets in ratatui terminal apps. Seeing a UI file as it will look is why this page files it under review. cc-preview draws hover cards for images in the conversation and a side pane that previews markdown. xcode-mods draws a canvas of SwiftUI preview snapshots beside its build and test pane. This one previews a Slint file with /slint-preview path/to/ui.slint, rendered by slint-preview-helper, a separate program, and drawn as real pixels through the kitty graphics protocol. Saving the file, or a .slint file next to it, reloads the pane, and if the helper ends the pane offers Restart the preview.

Demo

The slint-preview pane with the bundled demo at 4 seconds: a progress bar, a circle with an orbiting dot, a grid, and eight purple bars, over the line app.slint · 1326×792 px · cell 17×33 (tty).
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/slint-preview
  • ui.closeWhen its pane closes
  • session.endWhen a session ends
  • ui.renderDraws into the sessionPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /slint-previewLive preview of a .slint file in a pane

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
tilladam
Category
Review
Marketplace
ratatui-slint
Repo
tilladam/ratatui-slint
Folder
integrations/claude-code/slint-preview
Version
0.1.0
License
Apache-2.0
Repo stars
12
Last change
2026-10-25
Language
Rust
Files
8

Other mods in Review

prompt-polishjheroorehjRewrites your prompt with the prompting guide for the session's model before it is sent, and shows the polish beside the original to apply, retry, or keep.latexzaahiralTypesets TeX math, TikZ diagrams, and LaTeX blocks in Claude's replies in the desktop app's Code tab, with MathJax or one of 10 LaTeX fonts.quick-peekmidudevTurns file paths in Claude's replies into links: hover one for a preview of the file, or its lines, by the pointer, and click to show it in Finder.review-pingarasovicShows a toast when Claude commits 30 or more lines with no review since the last commit, and adds a note to that commit asking the model to review it.vellumbengousHolds a commandHolds a planning mode: Claude writes the plan, you review it in a browser page, a band shows above the prompt, and other writes are refused while it plans.leafmax-sixtyHas the agent build a browser page for a plan, a decision, or live work. You comment and edit, the agent revises it, and a line per page sits above the prompt.diff-reviewnicolas-codemateOpens a review pane for your uncommitted changes, the pull request, or one commit, where you click a line to ask Claude and the answer streams in under it.rippleNealMaps what a code change reaches: a background agent traces the code that uses what you changed, and a pane draws the files, which break, and which to review.testivai-reportTestivAIDraws a pane of a TestivAI visual report's snapshots, changed first, toasts what a run found, and opens the full report with its screenshots in the side panel.owner-repmacollins27Draws a row above the prompt with the result you asked for and what the agent is doing, warns when work is dropped, and checks the agent's claims on a press.editlensmymotomaker-aiShows each change Claude makes to your website in your browser as it happens, with the chat and the code beside the page, and draws a line above the prompt.bilingual-viewagainest1Translates a Chinese prompt into English before it is sent, and draws Claude's English reply in Chinese, with buttons to see the sent text or the original.
All 145 in Review