tfl-components
DocsComponentsBlocksExplorerBoardGitHub
⌘K
GitHub
⌘K

Home / Rendering primitives

PreviousNext

Branch line strip

A branched schematic with an explicit colour and a prepared lane model.

Work in progress. More refinement is coming.
Primitive
Built withStation name labels
Uses foundationsColours
Used bySimple line stripWeek ahead

Preview

Installable via shadcn CLI

Installation

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

In code

Simple line strip · Station name labels · Station typography tool

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 / Rendering primitives

PreviousNext

Branch line strip

A branched schematic with an explicit colour and a prepared lane model.

Work in progress. More refinement is coming.
Primitive
Built withStation name labels
Uses foundationsColours
Used bySimple line stripWeek ahead

Preview

Installable via shadcn CLI

Installation

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

In code

Simple line strip · Station name labels · Station typography tool

On this page

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

86 visitors · 111 installs

v0.5.0

Northern line, horizontal and vertical. Separate schematics, not one graph rotated. Duplicate Euston nodes where the corridors run parallel.

  • High Barnet
  • Mill Hill East
  • Edgware
  • Bank
  • Charing Cross
  • Morden
  • Battersea

Horizontal

High Barnet
Totteridge and WhetstoneTotteridge & Whetstone
Woodside Park
West Finchley
Finchley Central
East Finchley
Highgate
Archway
Tufnell Park
Kentish TownKentish
Town
Mill Hill East
Edgware
Burnt Oak
Colindale
Hendon Central
Brent Cross
Golders Green
Hampstead
Belsize Park
Chalk Farm
Camden Town
Mornington Crescent
Euston
Euston
Kings Cross St. PancrasKing's Cross St. Pancras
Angel
Old Street
Moorgate
Bank
London Bridge
Borough
Elephant & CastleElephant and CastleElephant
& Castle
Warren Street
Goodge Street
Tottenham Court Road
Leicester Square
Charing CrossCharing
Cross
Embankment
Waterloo
Kennington
Oval
Stockwell
Clapham North
Clapham Common
Clapham South
Balham
Tooting Bec
Tooting Broadway
Colliers Wood
South Wimbledon
Morden
Nine Elms
Battersea Power

Vertical

High Barnet
Totteridge and WhetstoneTotteridge & Whetstone
Woodside Park
West Finchley
Finchley Central
East Finchley
Highgate
Archway
Tufnell Park
Kentish TownKentish
Town
Mill Hill East
Edgware
Burnt Oak
Colindale
Hendon Central
Brent Cross
Golders Green
Hampstead
Belsize Park
Chalk Farm
Camden Town
Mornington Crescent
Euston
Euston
Kings Cross St. PancrasKing's Cross St. Pancras
Angel
Old Street
Moorgate
Bank
London Bridge
Borough
Elephant & CastleElephant and CastleElephant
& Castle
Warren Street
Goodge Street
Tottenham Court Road
Leicester Square
Charing CrossCharing
Cross
Embankment
Waterloo
Kennington
Oval
Stockwell
Clapham North
Clapham Common
Clapham South
Balham
Tooting Bec
Tooting Broadway
Colliers Wood
South Wimbledon
Morden
Nine Elms
Battersea Power

When to use this

Use BranchStrip when you already have a prepared render model and an explicit lineColor. Prefer LineStrip when you still need TfL label recipes and colour resolution.

import { BranchStrip } from "@/components/tfl/diagram/branch-strip"
import { LineStrip } from "@/components/tfl/diagram/line-strip"
import { prepareBranchStrip } from "@/lib/tfl/strip-model"
NeedUse
TfL colour, label recipes, prepared schematicLineStrip with schematic={…}
Full control over a prepared lane modelBranchStrip

It ships with the line-strip registry item. No tfl-ts fetch inside this atom.

Geometry

BranchStrip takes a LineSchematic of lane and position nodes and edges, an explicit lineColor, and optional prepared nodeLabelLines / segmentStates.

Author separate horizontal and vertical schematics. Do not rotate one graph. Shared stations that diverge and converge, Camden Town, Kennington, are single nodes. Parallel corridors that share a name, Euston, use duplicate nodes with a shared stationKey.

Lane joins follow the Line Diagram Standard, not the geographic Tube map: circular arcs at 45° / 90°, never freeform Béziers. Horizontal strips use in-carriage §6 joins, 45° S when space allows, otherwise 90° R. Vertical strips use platform §11 branch curves, 90° with R3n / R4n.

Northern line, horizontal and vertical. Separate schematics, not one graph rotated. Duplicate Euston nodes where the corridors run parallel.

  • High Barnet
  • Mill Hill East
  • Edgware
  • Bank
  • Charing Cross
  • Morden
  • Battersea

Horizontal

High Barnet
Totteridge and WhetstoneTotteridge & Whetstone
Woodside Park
West Finchley
Finchley Central
East Finchley
Highgate
Archway
Tufnell Park
Kentish TownKentish
Town
Mill Hill East
Edgware
Burnt Oak
Colindale
Hendon Central
Brent Cross
Golders Green
Hampstead
Belsize Park
Chalk Farm
Camden Town
Mornington Crescent
Euston
Euston
Kings Cross St. PancrasKing's Cross St. Pancras
Angel
Old Street
Moorgate
Bank
London Bridge
Borough
Elephant & CastleElephant and CastleElephant
& Castle
Warren Street
Goodge Street
Tottenham Court Road
Leicester Square
Charing CrossCharing
Cross
Embankment
Waterloo
Kennington
Oval
Stockwell
Clapham North
Clapham Common
Clapham South
Balham
Tooting Bec
Tooting Broadway
Colliers Wood
South Wimbledon
Morden
Nine Elms
Battersea Power

Vertical

High Barnet
Totteridge and WhetstoneTotteridge & Whetstone
Woodside Park
West Finchley
Finchley Central
East Finchley
Highgate
Archway
Tufnell Park
Kentish TownKentish
Town
Mill Hill East
Edgware
Burnt Oak
Colindale
Hendon Central
Brent Cross
Golders Green
Hampstead
Belsize Park
Chalk Farm
Camden Town
Mornington Crescent
Euston
Euston
Kings Cross St. PancrasKing's Cross St. Pancras
Angel
Old Street
Moorgate
Bank
London Bridge
Borough
Elephant & CastleElephant and CastleElephant
& Castle
Warren Street
Goodge Street
Tottenham Court Road
Leicester Square
Charing CrossCharing
Cross
Embankment
Waterloo
Kennington
Oval
Stockwell
Clapham North
Clapham Common
Clapham South
Balham
Tooting Bec
Tooting Broadway
Colliers Wood
South Wimbledon
Morden
Nine Elms
Battersea Power

When to use this

Use BranchStrip when you already have a prepared render model and an explicit lineColor. Prefer LineStrip when you still need TfL label recipes and colour resolution.

import { BranchStrip } from "@/components/tfl/diagram/branch-strip"
import { LineStrip } from "@/components/tfl/diagram/line-strip"
import { prepareBranchStrip } from "@/lib/tfl/strip-model"
NeedUse
TfL colour, label recipes, prepared schematicLineStrip with schematic={…}
Full control over a prepared lane modelBranchStrip

It ships with the line-strip registry item. No tfl-ts fetch inside this atom.

Geometry

BranchStrip takes a LineSchematic of lane and position nodes and edges, an explicit lineColor, and optional prepared nodeLabelLines / segmentStates.

Author separate horizontal and vertical schematics. Do not rotate one graph. Shared stations that diverge and converge, Camden Town, Kennington, are single nodes. Parallel corridors that share a name, Euston, use duplicate nodes with a shared stationKey.

Lane joins follow the Line Diagram Standard, not the geographic Tube map: circular arcs at 45° / 90°, never freeform Béziers. Horizontal strips use in-carriage §6 joins, 45° S when space allows, otherwise 90° R. Vertical strips use platform §11 branch curves, 90° with R3n / R4n.