# Swiper design system

> Swiper design system measured from swiperjs.com: Inter font, #5CAEFF primary on #000000, 7 color hex codes, type scale, spacing and a free DESIGN.md.

Canonical page: https://sitepeel.dev/design-md/swiperjs.com/

Swiper’s website (swiperjs.com) uses the Inter font and #5CAEFF as its main color on a black background. Measured by Sitepeel on November 29, 2026.

## What font does Swiper use?

Swiper uses Inter (weights 400 and 500) on swiperjs.com. Page titles are 96px at weight 400 (60px on phones) and body text is 16px. Measured on November 29, 2026.

- Inter (weights 400, 500)

## Swiper colors: palette and hex codes

Swiper’s main colors are #000000 (near black) for the background, #FFFFFF (white) for text and #5CAEFF (blue) as the main accent. Measured on November 29, 2026.

- #000000: near black (rgb(0, 0, 0), hsl(0, 0%, 0%))
- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #5CAEFF: blue (rgb(92, 174, 255), hsl(210, 100%, 68%))

## What is Swiper built with?

Swiper’s website (swiperjs.com) is built with Next.js, React, Embla Carousel, Flickity and Keen Slider. Measured on November 29, 2026.

- JavaScript framework: Next.js 15.1.8, React 19.1.0
- Hosting & CDN: Cloudflare
- UI & CSS: Embla Carousel, Flickity, Keen Slider, Tailwind CSS 4.x
- Analytics: Cloudflare Web Analytics, Google Analytics

## Questions and answers

### What font does Swiper use?

Swiper’s website uses Inter (weights 400 and 500). Page titles are 96px at weight 400 (60px on phones) and body text is 16px. Measured on November 29, 2026.

### What are the Swiper colors and hex codes?

On swiperjs.com: #000000 (near black) for the background, #FFFFFF (white) for text and #5CAEFF (blue) as the main accent. The color palette above lists all 7 colors with their hex codes and where each one is used.

### What is the Swiper design system?

The design system on this page is swiperjs.com’s, as measured on November 29, 2026: Inter type, #5CAEFF as the main color, 24px corners and a 4px spacing grid, written down as a DESIGN.md. It is not Swiper’s own documentation.

### What is Swiper built with?

Swiper’s website (swiperjs.com) is built with Next.js, React, Embla Carousel, Flickity and Keen Slider. The full tech stack Sitepeel found: Next.js, React, Cloudflare, Embla Carousel, Flickity, Keen Slider, Cloudflare Web Analytics, Tailwind CSS and Google Analytics. Measured on November 29, 2026.

### What is the Swiper DESIGN.md?

A plain-text file with Swiper’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this Swiper’s official design system?

No. Sitepeel measured it from swiperjs.com’s public page on November 29, 2026. It is an independent analysis, not made or approved by Swiper.

### Can I use Swiper’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Swiper’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/swiperjs.com/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with Swiper.

## The DESIGN.md file

```markdown
---
version: alpha
name: Swiper
description: "Dark interface measured from swiperjs.com: Inter type, blue accents, flat surfaces and 24px corners."
colors:
  background: "#000000"
  surface: "#000000"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  overlay: "#32323280"
  overlay-strong: "#202020BF"
  outline: "#FFFFFF26"
  primary: "#5CAEFF"
  on-primary: "#000000"
typography:
  headline-display:
    fontFamily: Inter
    fontSize: 96px
    fontWeight: 400
    lineHeight: 1
  headline-lg:
    fontFamily: Inter
    fontSize: 48px
    fontWeight: 500
    lineHeight: 1.1
    letterSpacing: -0.025em
  body-md:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: Inter
    fontSize: 24px
    fontWeight: 400
    lineHeight: 1.75
  body-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  label-md:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.5
  label-sm:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.43
  headline-display-mobile:
    fontFamily: Inter
    fontSize: 60px
    fontWeight: 400
    lineHeight: 1
  headline-lg-mobile:
    fontFamily: Inter
    fontSize: 36px
    fontWeight: 500
    lineHeight: 1.1
    letterSpacing: -0.025em
rounded:
  md: 24px
spacing:
  base: 4px
  xs: 4px
  sm: 8px
  md: 16px
  lg: 32px
  xl: 48px
  gutter: 32px
  margin: 32px
  container: 1280px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    padding: 0px 32px
    height: 64px
  button-outline:
    textColor: "#969FAF"
    typography: "{typography.label-md}"
    padding: 0px 0px 0px 8px
    height: 32px
  button-outline-hover:
    backgroundColor: "#1E2832"
  button-ghost:
    textColor: "#969FAF"
    typography: "{typography.label-md}"
    padding: 0px 0px 0px 8px
  link:
    textColor: "{colors.on-surface}"
---

# Swiper Design System

## Overview

Swiper describes itself as: “Swiper is the most modern free mobile touch slider with hardware accelerated transitions and amazing native behavior.” The interface is dark, built on **Near Black (#000000)** with **White (#FFFFFF)** text, and **Blue (#5CAEFF)** as the main accent.

Type is set in **Inter**. Headlines run large; body text is 16px. The surface language is flat. Corners are mostly 24px.

Measured from [swiperjs.com](https://swiperjs.com/) on November 29, 2026 at 1440×900 and 390×844 from 193 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 7 roles, plus gradient stops #5CAEFF.

- **Near Black (#000000):** Page background, seen 1 time. Token `background`.
- **White (#FFFFFF):** Primary text and headings, seen 16 times. Token `on-surface`, CSS `--cladd-theme`.
- **Graphite 50% (#32323280):** Translucent fill for cards and controls, seen 16 times. Token `overlay`, CSS `--color-surface-1`.
- **Charcoal 75% (#202020BF):** Stronger translucent fill, seen 2 times. Token `overlay-strong`.
- **White 15% (#FFFFFF26):** Borders and dividers, seen 19 times. Token `outline`, CSS `--color-outline`.
- **Blue (#5CAEFF):** Primary buttons and calls to action, seen 18 times. Token `primary`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.

## Typography

**Inter** carries the whole interface. Fallback stack: `Inter, -apple-system, system-ui, Helvetica Neue`.

- **headline-display:** Inter 96px at weight 400, line height 1 (60px on mobile). Page title (h1).
- **headline-lg:** Inter 48px at weight 500, line height 1.1, tracking -0.025em (36px on mobile). Section headings (h2).
- **body-md:** Inter 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Inter 24px at weight 400, line height 1.75. Lead paragraphs.
- **body-sm:** Inter 14px at weight 400, line height 1.43. Secondary and small text.
- **label-md:** Inter 16px at weight 500, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Inter 14px at weight 500, line height 1.43. Small labels and badges.

## Layout

Spacing follows a 4px grid: 99% of measured gaps and paddings are multiples of 4px.

- **Scale:** xs 4px, sm 8px, md 16px, lg 32px, xl 48px.
- **Gaps:** 32px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1280px.
- **Page margin:** 32px on each side of full-width sections.
- **Breakpoints:** 480px, 768px, 980px, 1024px, 1400px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from color contrast and #FFFFFF26 borders.

## Shapes

Most elements use 24px corners. Measured radii, most used first:

- **md (24px):** 72 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Get started”):** #5CAEFF fill, #000000 text, 18px/600, 3.35544e+07px radius, padding 0px 32px.
- **button-outline (“K”):** transparent fill, #969FAF text, 16px/500, 3.35544e+07px radius, padding 0px 0px 0px 8px, border 1px solid #FFFFFF26.
- **button-outline-hover:** background #1E2832, text #969FAF on hover.
- **button-ghost (“K”):** transparent fill, #969FAF text, 16px/500, 3.35544e+07px radius, padding 0px 0px 0px 8px, border 1px solid #FFFFFF26.
- **link:** transparent fill, #FFFFFF text, padding 0px.

## Do's and Don'ts

- Do use #000000 for the page.
- Do reserve #5CAEFF for primary actions and key highlights.
- Do keep spacing on the 4px grid.
- Do use 24px corners on most elements.
- Don't add drop shadows for depth; use borders and contrast.
- Don't introduce new font families beyond Inter.
- Don't use #5CAEFF for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.3s, 0.2s.

- **Easing:** `ease`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/swiperjs.com/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).

```
