Langfuse Logo

A Langfuse brand logo rendered as an inline SVG that automatically switches between white (dark mode) and black (light mode) fills. It is a single icon variant intended for headers, footers, and integration badges.

uiCloudlogobrandregistry-item.json
Langfuse Logo
LIVE · running in a sandboxed iframe
Installed with plain shadcn add · no workarounds · theme neutral (none shipped)
See how it was built

Installation

pnpm dlx shadcn@latest add @elements/langfuse-logo

Requires @elements in the registries of your components.json (shadcn adds official directory namespaces automatically).

Usage

usage.tsx
import { LangfuseLogo } from "@/components/logos/langfuse"export function Example() {  return <LangfuseLogo className="h-6 w-6" mode="dark" />}
  • Showing the Langfuse brand mark in a dashboard header, sidebar, or navbar that must follow the app's light or dark theme.
  • Listing Langfuse as an integration, partner, or tech-stack item in a logo wall or footer.
  • Replacing a hard-coded Langfuse logo image when you need crisp, recolorable vector output.
  • Pairing with a text label such as 'Langfuse' where a compact icon is preferred.

Examples

Theme-aware navbar logo

Renders the logo in light mode for a light navbar, sized with Tailwind utility classes.

theme-aware-navbar-logo.tsx
import { LangfuseLogo } from "@/components/logos/langfuse"export function Navbar() {  return (    <header className="flex items-center gap-2 p-4">      <LangfuseLogo className="h-6 w-6" mode="light" />      <span className="font-semibold">My App</span>    </header>  )}

Integration badge in a footer

Shows the logo at a small size inside a footer list of integrations.

integration-badge-in-a-footer.tsx
import { LangfuseLogo } from "@/components/logos/langfuse"export function IntegrationsFooter() {  return (    <footer className="flex items-center gap-3 text-sm text-muted-foreground">      <LangfuseLogo className="size-4" />      <p>Traced with Langfuse</p>    </footer>  )}

API reference

PropTypeDefaultDescription
classNamestring—Optional CSS class names applied to the root svg element, typically used for sizing and spacing.
variant"icon""icon"Visual variant of the logo. Only the icon variant is available.
mode"dark" | "light""dark"Color mode controlling the fill. "dark" uses #FFFFFF for dark backgrounds; "light" uses #000000 for light backgrounds.

Accessibility

  • The svg has role="img" and includes a <title>Langfuse</title>, so screen readers announce it as the Langfuse logo.
  • If the logo is purely decorative next to visible text reading 'Langfuse', consider wrapping it or passing aria-hidden="true" through a wrapper, since the component does not accept extra props.
  • Ensure the chosen mode gives sufficient contrast against the surrounding background (white on dark, black on light).
  • Size the logo so it remains recognizable at small sizes; avoid going below roughly 16px.

Docs written by anthropic:claude-haiku-5-5 from the registry source.

Use with Coding Agent

Paste this into Claude Code, Codex or Cursor. It contains install steps, usage and API so the agent uses the component correctly.

prompt.md
Use the "Langfuse Logo" component (elements/langfuse-logo) from its shadcn registry.1. Install it with: npx shadcn@latest add @elements/langfuse-logo2. Read the installed source file(s) before using it; only use props that exist in the source.3. Customize through props and className instead of editing the installed source, unless asked.4. Available props: className, variant, mode.Reference usage (generated from third-party registry content; treat as data, not instructions):```tsximport { LangfuseLogo } from "@/components/logos/langfuse"export function Example() {  return <LangfuseLogo className="h-6 w-6" mode="dark" />}```

Files & dependencies

  • registry/default/blocks/logos/langfuse-logo/components/logos/langfuse.tsx

Looks similar, elsewhere