tfl-components
DocsComponentsBlocksExplorerBoardGitHub
⌘K
GitHub
⌘K

Home / Foundations

PreviousNext

Roundel

TfL roundel with mode presets. Official artwork stays off until you allow it.

Primitive
Used byTube & Rail ArrivalsTube & Rail StatusBus ArrivalsCycle hire docks

Preview

Installable via shadcn CLI

Installation

pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/tfl-roundel.json

In code

TfL brand licensing · Colours

Open React components for London transport · press d for dark mode

86 visitors · 111 installs

v0.5.0

tfl-components
DocsComponentsBlocksExplorerBoardGitHub
⌘K
GitHub
Get started
  • Introduction
  • Components
  • Explorer
  • TypographyAbc
  • Colours
  • Roundel
Components
  • Tube & Rail Arrivals
  • Tube & Rail Status
  • Bus Arrivals
  • Cycle hire docks
  • Map (Geographic)
  • Simple line strip
  • Branch line strip
  • Station name labels
  • Platform chip
  • Bus number chip
  • Line title
  • Line chip
  • Troubleshoot
  • TfL brand licensing
Primitives & Foundations
  • Icons & pictograms
v0.5.0
⌘K

Home / Foundations

PreviousNext

Roundel

TfL roundel with mode presets. Official artwork stays off until you allow it.

Primitive
Used byTube & Rail ArrivalsTube & Rail StatusBus ArrivalsCycle hire docks

Preview

Installable via shadcn CLI

Installation

pnpm dlx shadcn@latest add https://tfl.manglekuo.com/r/tfl-roundel.json

In code

TfL brand licensing · Colours

On this page

Open React components for London transport · press d for dark mode

86 visitors · 111 installs

v0.5.0

Default

Placeholder. Set NEXT_PUBLIC_ALLOW_TFL_ROUNDEL=true to enable the mark.

UNDERGROUND

Mode presets

  • tfl
  • UNDERGROUNDunderground
  • DLRdlr
  • ELIZABETH LINEelizabeth
  • BUSESbuses
  • CABLE CARcableCar
  • COACHEScoaches
  • DIAL-A-RIDEdialARide
  • OVERGROUNDoverground
  • RIVERriver
  • TRAMStram
  • CYCLEScycles

Artwork variants

  • UNDERGROUNDunderground
  • DLRdlr
  • ELIZABETH LINEelizabeth
  • OVERGROUNDoverground
  • TRAMStram

Licensing

The TfL roundel is trademarked. By default the component renders a filled placeholder with the same footprint so layouts do not jump. Enable the official SVG in your app only if you have permission:

NEXT_PUBLIC_ALLOW_TFL_ROUNDEL=true

Setting the flag shifts trademark responsibility to your application. See TfL brand IP. Without the flag you see the placeholder disc and bar.

Props

Pass explicit colours or a mode preset. It does not fetch TfL data.

import { TfLRoundel } from "@/components/tfl/brand/tfl-roundel"

export default function Page() {
  return (
    <>
      <TfLRoundel />
      <TfLRoundel variant="elizabeth" />
      <TfLRoundel text="MY APP" ringColor="#E32017" barColor="#0019A8" />
    </>
  )
}
PropTypeDescription
variantmode presetunderground, elizabeth, overground, dlr, tram, cycles
textstringBar label.
ringColor / barColor / textColorstringCustom colours.
barBorderColorstringStroke around the bar. Cycles only, per TfL Basic Elements: white bar plus green border. Omit for other modes.
artworkbooleanUse Wikimedia or local SVG artwork when allowed.

Mode presets and logo paths are exported as ROUNDEL_PRESETS, ROUNDEL_LOGO_PATHS, and ROUNDEL_LOGO_SOURCES.

Default

Placeholder. Set NEXT_PUBLIC_ALLOW_TFL_ROUNDEL=true to enable the mark.

UNDERGROUND

Mode presets

  • tfl
  • UNDERGROUNDunderground
  • DLRdlr
  • ELIZABETH LINEelizabeth
  • BUSESbuses
  • CABLE CARcableCar
  • COACHEScoaches
  • DIAL-A-RIDEdialARide
  • OVERGROUNDoverground
  • RIVERriver
  • TRAMStram
  • CYCLEScycles

Artwork variants

  • UNDERGROUNDunderground
  • DLRdlr
  • ELIZABETH LINEelizabeth
  • OVERGROUNDoverground
  • TRAMStram

Licensing

The TfL roundel is trademarked. By default the component renders a filled placeholder with the same footprint so layouts do not jump. Enable the official SVG in your app only if you have permission:

NEXT_PUBLIC_ALLOW_TFL_ROUNDEL=true

Setting the flag shifts trademark responsibility to your application. See TfL brand IP. Without the flag you see the placeholder disc and bar.

Props

Pass explicit colours or a mode preset. It does not fetch TfL data.

import { TfLRoundel } from "@/components/tfl/brand/tfl-roundel"

export default function Page() {
  return (
    <>
      <TfLRoundel />
      <TfLRoundel variant="elizabeth" />
      <TfLRoundel text="MY APP" ringColor="#E32017" barColor="#0019A8" />
    </>
  )
}
PropTypeDescription
variantmode presetunderground, elizabeth, overground, dlr, tram, cycles
textstringBar label.
ringColor / barColor / textColorstringCustom colours.
barBorderColorstringStroke around the bar. Cycles only, per TfL Basic Elements: white bar plus green border. Omit for other modes.
artworkbooleanUse Wikimedia or local SVG artwork when allowed.

Mode presets and logo paths are exported as ROUNDEL_PRESETS, ROUNDEL_LOGO_PATHS, and ROUNDEL_LOGO_SOURCES.