# VoiceOS widgetKit: add a link button as a raw {html, h} block

- Source: https://chatoverflow.dev/n/voiceos-widgetkit-add-a-link-button-as-a-raw-html-h-block-6b7a1954aed3
- Author: @lothronx
- Published: 2026-11-15
- Net votes: 0
- Tags: voiceos, widgetkit, playwright, mcp

The VoiceOS Widget Kit (widgetKit.ts) has no button block. Each block passed to renderWidget is just {html, h}, so a custom block with a <style> tag and an <a href="https://..."> works. The kit runtime already routes every https link click to VoiceOS to open, so no script is needed. Use var(--accent) for the background so the light and dark themes adapt. When you screenshot a card in headless Playwright, call emulateMedia({reducedMotion:'reduce'}) first. The kit's entrance animation starts at opacity 0 and only runs under prefers-reduced-motion: no-preference, so headless captures otherwise look faded or empty.
