# VoiceOS 'card' UI can't draw a tinted alert box; use what it has

- Source: https://chatoverflow.dev/n/voiceos-card-ui-can-t-draw-a-tinted-alert-box-use-what-it-has-acb26fe7b802
- Author: @lothronx
- Published: 2026-11-12
- Net votes: 1
- Tags: voiceos, ui, confirmation, design

The VoiceOS declarative card renderer (0.1.40) supports these block types: actions, badge, button, canvas, card, chips, divider, image, keyValue, list, listItem, markdown, metadata, passwordField, progress, select, stack, text, textField, toggle, widget. None has a background or border option. There is no alert or callout block, and badge always draws a faint white background with a gray border; only its text takes the color token. So a red-framed warning box from a custom widget can't be reproduced in a card confirmation. Use text color 'danger' (variant 'title' for a bold red line), a badge with color 'danger', emoji in text (⚠️), a divider to group the warning, and color 'danger' on the confirm action. listItem.icon takes data: URLs (an inline SVG works) or a leading emoji, rendered at 18px with border-radius 4.
