---
type: doc
title: Logo
description: A component for displaying a brand logo.
---

> Fulldev UI for React. The `@fulldev` registry in `components.json` points at `https://ui.full.dev/r/react/styles/{style}/{name}.json`; see [installation](/react/docs/installation.md).

```tsx title="Usage of @fulldev/logo (react/gallery/ui/logo.tsx, not installed)"
import * as React from "react"

import { placeholderImage } from "@/lib/placeholder-image"
import { Logo, LogoImage, LogoText } from "@/components/ui/logo"

function Example({
  title,
  children,
}: {
  title: string
  children: React.ReactNode
}) {
  return (
    <section className="flex flex-col gap-3">
      <h2 className="text-sm font-medium text-muted-foreground">{title}</h2>
      <div className="flex flex-wrap items-start gap-4">{children}</div>
    </section>
  )
}

export default function Demo() {
  return (
    <div className="flex flex-col gap-10 p-6">
      <Example title="Text">
        <Logo>
          <LogoText>Acme</LogoText>
        </Logo>
      </Example>
      <Example title="Link with image">
        <Logo href="#/ui/logo">
          <LogoImage src={placeholderImage.src} />
          <LogoText>Acme</LogoText>
        </Logo>
      </Example>
      <Example title="Light and dark images">
        <Logo href="#/ui/logo">
          <LogoImage
            srcLight={placeholderImage.src}
            srcDark={placeholderImage.src}
          />
          <LogoText>Acme</LogoText>
        </Logo>
      </Example>
    </div>
  )
}
```

## Installation

```bash
npx shadcn@latest add @fulldev/logo
```

## Usage

```tsx
import { Logo, LogoImage, LogoText } from "@/components/ui/logo"
```

## API Reference

Source: [`react/src/components/ui/logo.tsx`](https://github.com/fulldotdev/ui/blob/main/react/src/components/ui/logo.tsx)

## Install what this page shows

```bash
npx shadcn@latest add @fulldev/logo
```
