vibe.handlers.utils

Utility helpers for handler rendering and placeholders.

placeholder_span

placeholder_span(label: str) -> str

Return a consistent placeholder span used in preview/UI fallbacks.

Uses the components/placeholder.html template for consistency. Falls back to inline HTML if no app context is available.