Resend Logo

ResendLogo is a brand logo component for Resend that renders either the square icon mark or the full wordmark as an inline SVG. It takes a mode prop to switch between a near-white dark-background version and a black light-background version.

blockProductivitylogobrandregistry-item.json
Resend 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/resend-logo

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

Usage

usage.tsx
import { ResendLogo } from "@/components/logos/resend"export function Example() {  return <ResendLogo variant="wordmark" mode="light" className="h-6 w-auto" />}
  • Showing the Resend brand mark in a navbar, footer, partner list, or integration card where a compact icon is enough (variant "icon", the default).
  • Displaying the full Resend name as a logotype in marketing pages, docs headers, or 'powered by' sections (variant "wordmark").
  • Matching a light or dark surface by setting mode to "light" on white backgrounds or "dark" on dark backgrounds, since the component does not read the theme itself.
  • Rendering a brand logo that needs no runtime dependencies and can be sized with Tailwind classes via className.

Examples

Icon in a navbar (dark surface)

Default icon variant in dark mode, sized with a Tailwind class, placed next to a product name on a dark header.

icon-in-a-navbar-(dark-surface).tsx
import { ResendLogo } from "@/components/logos/resend"export function NavBrand() {  return (    <div className="flex items-center gap-2 bg-zinc-950 p-4 text-white">      <ResendLogo className="size-6" />      <span className="font-medium">Acme Mail</span>    </div>  )}

Wordmark on a light page

Wordmark variant in light mode for a white marketing hero, sized by height.

wordmark-on-a-light-page.tsx
import { ResendLogo } from "@/components/logos/resend"export function PoweredBy() {  return (    <div className="flex flex-col items-center gap-2 bg-white p-8">      <p className="text-sm text-neutral-500">Powered by</p>      <ResendLogo variant="wordmark" mode="light" className="h-8 w-auto" />    </div>  )}

Integration list with icon variants

Icon variant in both modes, rendered in a list where the mode is chosen per row.

integration-list-with-icon-variants.tsx
import { ResendLogo } from "@/components/logos/resend"export function IntegrationRow() {  return (    <ul className="flex gap-6">      <li>        <ResendLogo mode="light" className="size-8" />      </li>      <li className="rounded bg-zinc-900 p-2">        <ResendLogo mode="dark" className="size-8" />      </li>    </ul>  )}

API reference

PropTypeDefaultDescription
classNamestring—Class names applied to the root <svg> element. Use this to set size (for example size-6 or h-8 w-auto) and other styling.
variant"icon" | "wordmark""icon"Selects the icon-only monogram (viewBox 400 400 1000 1000) or the full horizontal "Resend" wordmark (viewBox 0 0 1978 420).
mode"dark" | "light""dark"Chooses the fill color. "dark" uses #FDFDFD for dark backgrounds; "light" uses #000000 for light backgrounds. This is an explicit prop; the component does not detect the active theme.

Accessibility

  • The root svg has role="img", so assistive technology announces it as an image.
  • Each SVG contains a <title> with the text "Resend", which provides the accessible name without extra props.
  • No aria-label or aria-hidden is set by the component. If the logo is decorative next to visible text, wrap it in a container with aria-hidden="true" to avoid redundant announcements.
  • Choose mode so the fill has sufficient contrast against its background: use "dark" on dark surfaces and "light" on light surfaces.

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 "Resend Logo" component (elements/resend-logo) from its shadcn registry.1. Install it with: npx shadcn@latest add @elements/resend-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 { ResendLogo } from "@/components/logos/resend"export function Example() {  return <ResendLogo variant="wordmark" mode="light" className="h-6 w-auto" />}```

Files & dependencies

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

Looks similar, elsewhere