Placeholder Logo
shadcncraft/placeholder-logoFreeComponent
A component for that can be replaced with your brand's main logo. This component ensures layouts stay consistent before brand assets are applied.
Install it
npx shadcn@latest add https://shadcncraft.com/r/placeholder-logo.jsonSource
1import type { ComponentProps } from "react";23import { IconPlaceholder } from "@/registry/icons/icon-placeholder";4import { cn } from "@/lib/utils";56export function PlaceholderLogo({7 className,8 onlyIcon = false,9 ...props10}: ComponentProps<typeof IconPlaceholder> & { onlyIcon?: boolean }) {11 const icon = (12 <IconPlaceholder13 lucide="Bolt"14 tabler="IconBolt"15 hugeicons="ZapIcon"16 phosphor="LightningIcon"17 remixicon="RiSpeedLine"18 className={cn("size-6 shrink-0 text-primary", className)}19 {...props}20 />21 );2223 if (onlyIcon) {24 return icon;25 }2627 return (28 <div className="flex shrink-0 items-center gap-1">29 {icon}30 <span className="text-sm font-medium text-nowrap text-primary">Acme Inc.</span>31 </div>32 );33}
Files it writes
More from shadcncraft
All 26 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Avatar Stackavatar-stack | shadcncraft | Components | Free | no deps | |
| Badgebadge | shadcncraft | Components | Free | no deps | |
| Featured Iconfeatured-icon | shadcncraft | Components | Free | no deps | |
| Image Zoomimage-zoom | shadcncraft | Components | Free | 1 dep | |
| Marqueemarquee | shadcncraft | Components | Free | no deps | |
| Page Headingpage-heading | shadcncraft | Components | Free | no deps | |
| Profile Cardprofile-card | shadcncraft | Components | Free | no deps | |
| Section Headingsection-heading | shadcncraft | Components | Free | no deps |
