Fly.io Logo
FlyioLogo is a single-color SVG component that renders the Fly.io brand mark in violet (#8B5CF6) on a 24x24 viewBox. It accepts a className for sizing and styling, plus variant and mode props that are declared in the source.


shadcn add · no workarounds · theme neutral (none shipped)Installation
Requires @elements in the registries of your components.json (shadcn adds official directory namespaces automatically).
Usage
import { FlyioLogo } from "@/components/logos/flyio"export default function Example() { return <FlyioLogo className="size-6" />}- Showing the Fly.io brand mark in a footer, partner list, integrations page, or deployment dashboard.
- Marking Fly.io as a provider in a cloud or hosting comparison table or a status page.
- Using a compact, sized brand icon inside a button, badge, or list item by passing a className.
- Needing an accessible SVG logo that exposes a title for screen readers.
Examples
Integration list item
Shows Fly.io as a provider next to a text label in a deployment integrations list.
import { FlyioLogo } from "@/components/logos/flyio"export function ProviderRow() { return ( <div className="flex items-center gap-2 text-sm font-medium"> <FlyioLogo className="size-5" /> <span>Fly.io</span> </div> )}Footer brand mark
Places a larger logo in a site footer with an explicit variant and mode.
import { FlyioLogo } from "@/components/logos/flyio"export function Footer() { return ( <footer className="flex items-center justify-center py-8"> <FlyioLogo variant="icon" mode="dark" className="size-10 opacity-80" /> </footer> )}Partner badge in a button
Uses the logo as a leading icon inside a styled link button.
import { FlyioLogo } from "@/components/logos/flyio"export function DeployButton() { return ( <a href="https://fly.io" className="inline-flex items-center gap-2 rounded-md border px-3 py-2 text-sm" > <FlyioLogo className="size-4" /> Deploy on Fly.io </a> )}API reference
Accessibility
- The root svg has role="img" and contains a <title>Fly.io</title>, so screen readers announce the brand name.
- If the logo is decorative, because the adjacent text already names Fly.io, pass aria-hidden="true" from the caller and remove the role by wrapping it in a span with aria-hidden. The component does not accept extra props, so use a wrapper.
- Keep the rendered size at least 16px so the mark stays legible.
- Because both modes use the same color, check that #8B5CF6 meets the contrast requirement against your background, especially on light backgrounds.
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.
Use the "Fly.io Logo" component (elements/flyio-logo) from its shadcn registry.1. Install it with: npx shadcn@latest add @elements/flyio-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 { FlyioLogo } from "@/components/logos/flyio"export default function Example() { return <FlyioLogo className="size-6" />}```Files & dependencies
- registry/default/blocks/logos/flyio-logo/components/logos/flyio.tsx