Designs fastapi.tiangolo.com

What font does FastAPI use? Roboto and Roboto Mono.

FastAPI's website sets its type in Roboto with Roboto Mono headings, on a dark #252A33 canvas with #EEEEEE text and a #526CFE accent. Copy the palette and fonts, or a ready prompt to build something original in this style with Claude Code, Cursor, Lovable or v0.

Colors tap to copy

    Type and shape

      Start

      In this style

      Ship the page you pictured.

      Your agent builds new screens with these exact colors, type and corners, so nothing looks generic.

      Get startedLearn more
      FastEvery value measured.
      YoursNew layout and copy.
      prompt.md

      FastAPI fonts and type scale

      FastAPI's website sets body text in Roboto and headings in Roboto Mono, with Roboto Mono for code. Body text is 14px, section headings 32px and the largest display type 64px, at weight 700. Roboto and Roboto Mono are free on Google Fonts.

      FastAPI color codes

      Canvas#252A33the page background
      Surface#000000cards and raised areas
      Text#EEEEEEprimary text
      Accent#526CFEbuttons, links and focus
      Muted#A2A2A2secondary text and captions
      Border#4051B5dividers and outlines

      How do I build a site that looks like FastAPI with AI?

      Open the Prompt tab above, change its first line to what you are building, and paste it into Lovable, v0, Bolt, Claude Code or Cursor. For a whole project, install the Claude skill or the Cursor rule instead, so every screen keeps the style. Build something original: keep FastAPI's look, not its name, logo or copy.

      Read from fastapi.tiangolo.com's public CSS on 25 October 2026. Siteprint is not affiliated with FastAPI; names and trademarks belong to their owners.