Get your publishable key from the Logo.dev
dashboard to get started.
Install a component
In any project set up with shadcn/ui, install from the registry URL:.env.local:
NEXT_PUBLIC_LOGO_DEV_TOKEN: your publishable key, safe in client code. Every component reads it.LOGO_DEV_SECRET_KEY: your secret key, server-only. Onlybrand-searchneeds it.
What’s in the registry
| Component | Install name | What it does |
|---|---|---|
| Logo | logo | A logo that never breaks: domain, name, ticker, crypto, or ISIN lookup with retina srcSet, dark-mode variants, and layered fallbacks |
| Logo Avatar | logo-avatar | A logo in a shadcn Avatar shell with initials fallback, for CRM rows and transaction feeds |
| Brand Search | brand-search | Company autocomplete backed by the Search API, plus a server route that keeps your secret key private |
| Logo Wall | logo-wall | A customer or integration logo grid with grayscale-to-color hover |
| Attribution | attribution | The attribution link free plans require in production |
| Logo lib | logo-lib | The typed URL builder underneath all of the above, useful on its own |
Logo
Render a logo from any identifier your data already has:theme="auto" (the default) renders light and dark variants toggled by Tailwind’s dark: variant, so the right logo shows in both color schemes without a theme provider. fallback controls what renders when no logo exists: the API’s generated monogram (default), a local initials tile, or any React node you pass.
Logo Avatar
Drop a logo into account lists and transaction feeds:Brand Search
Let users pick their company by typing a name:app/api/logo-dev/search/route.ts, a Next.js route that proxies the Search API so your secret key never reaches the browser. Not on Next.js? Recreate that proxy in your backend and pass its path via the endpoint prop.
Logo Wall
Build a customer logo grid from a list of domains:attribution={false}.
Requirements
The components target React 19 (React 18.3 works, without ref forwarding) and Tailwind CSS v4 with shadcn/ui tokens. They have zero npm dependencies of their own: shadcn primitives likeavatar, command, and popover install from ui.shadcn.com as needed.
Next steps
Use cases
The patterns these components implement, with live demos.
logo-dev/logo-api
Component source, issues, and contributions.