Kits
SourceBadge
Linked source badge with an automatic same-origin favicon, derived hostname, and resilient fallback.
Composition
Linked source
The badge supplies its favicon automatically; SourceFavicon can also be used independently.
- <SourceBadge>
- <SourceFavicon />
Installation
Use this command to install the component.
Usage
Dependencies
Raw code
Installed component source and support files
Knobs
Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.
--cui-source-badge-* · 6 knobsHow the cascade resolves--cui-source-badge-background<color>var(--background)--cui-source-badge-foreground<color>var(--muted-foreground)--cui-source-badge-hover-background<color>oklch(from var(--muted) l c h / 0.6)--cui-source-badge-hover-foreground<color>var(--foreground)--cui-source-badge-favicon-background<color>var(--muted)--cui-source-badge-favicon-radius<length-percentage>var(--radius-sm)