Watermark
Live Demos HubWatermark
Interactive production-grade hypermedia component for HTMXUI.
Interactive Preview
{content}
{text}
HTML Source
<!--
Component: watermark.html
Configurable State: themeColor ('primary'|'secondary'|'destructive'), size ('sm'|'md'|'lg'), isOpen (boolean)
Usage: Bind styles dynamically using hx-class="{ 'bg-primary': themeColor === 'primary' }" or hx-style="{ width: size === 'lg' ? '100%' : 'auto' }"
-->
<div hx-ext="reactive" hx-state="{ themeColor: \'primary\', size: \'md\', isOpen: false }" class="relative w-full h-full">
{content}
<div class="pointer-events-none absolute inset-0 flex items-center justify-center opacity-10">
<h1 class="text-6xl font-black uppercase text-foreground rotate-[-45deg]">{text}</h1>
</div>
</div>