Components

Logo

The RDC SVG logo component.

Demo

The RDC logo can be used in two color variations:

  • Sunset Rev on a white background — this is the default
  • White on a Midnight Blue background

Installation

npx shadcn add @rdc-ui/logo

Usage

import Logo from "@/components/Logo"

export function Header() {
  return <Logo className="h-8 w-auto fill-alternative" />
}

This is a MANUAL step. Usually, you would let the LLM decide what colors to apply by analyzing the design and component context.

LLM Example Prompt

To have an LLM add the logo for you, simply instruct it:

"Add the RDC logo to the header and center it."

The LLM will install the component from the registry and configure the correct variant based on the background context.

Variants

Sunset Rev on white (default)

<Logo className="fill-alternative" />

White on Midnight Blue

<Logo className="fill-white" />

Props

PropTypeDefaultDescription
animatebooleanfalseEnable stroke draw animation on load
onAnimated() => voidCallback fired after animation completes
classNamestringAdditional CSS classes

All standard SVG attributes are also supported.

Conditions

The logo height may never be smaller than 24px.

On this page