Fira Code

Monospace coding-mono โดย Nikita Prokopov #271 บน Google Fonts
น้ำหนัก

เกี่ยวกับ Fira Code

Fira Code is a monospace typeface by Nikita Prokopov that extends Mozilla's Fira Mono with a carefully curated set of programming ligatures, turning multi-character sequences like arrows, comparisons, and operators into single fluid glyphs. The variable weight axis (wght) lets developers fine-tune stroke thickness without switching font files, and the face covers Cyrillic, Greek, and extended symbol ranges. It is the go-to choice for code editors and terminal emulators where ligature rendering is supported.

แผนผังตัวอักษร

AaBbCcDdEeFfGgHhIiJjKkLlMm
NnOoPpQqRrSsTtUuVvWwXxYyZz
0123456789
!@#$%^&*()_+-=[]{}|;':",.<>?

ตัวอย่าง Code Editor

example.js
const fibonacci = (n) => {
  if (n <= 1) return n;
  return fibonacci(n - 1) + fibonacci(n - 2);
};

// Generate first 10 numbers
const results = Array.from(
  { length: 10 },
  (_, i) => fibonacci(i)
);

console.log(`Result: ${results.join(', ')}`);

Coding Ligatures

=> != !== === >= <= -> ->> |> <| :: && || ++ -- ** // /* */ ?? << >> ?. ...

การแยกแยะตัวอักษร

คุณสามารถแยกสิ่งเหล่านี้ออกจากกันได้ไหม? ฟอนต์ monospace ที่ดีทำให้ ตัวอักษรที่คล้ายกันแยกแยะได้ง่าย

ศูนย์ vs O 0 O o
หนึ่ง vs l vs I 1 l I | !
เครื่องหมายคำพูด ' ' " " ` ´
วงเล็บปีกกา ( ) [ ] { } < >
เครื่องหมายวรรคตอน . , : ; .. ...

น้ำตกน้ำหนัก (5)

300 Light
400 Regular
500 Medium
600 SemiBold
700 Bold

วิธีใช้

<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;500;600;700;400&display=swap" rel="stylesheet">
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;500;600;700;400&display=swap');
font-family: 'Fira Code', monospace;
brew install --cask font-fira-code

รายละเอียด

หมวดหมู่
Monospace
สไตล์
coding-mono
น้ำหนัก
5
ตัวเอียง
เกาหลี
นักออกแบบ
Nikita Prokopov
สัญญาอนุญาต
OFL
เวอร์ชัน
ความนิยม
#271
ดาวน์โหลด
194

การใช้สัญญาอนุญาต

ใช้บนเว็บอนุญาต
งานพิมพ์อนุญาต
วิดีโอ / ออกอากาศอนุญาต
บรรจุภัณฑ์อนุญาต
การฝังในแอปอนุญาต
แบรนด์ / โลโก้อนุญาต
การดัดแปลงอนุญาต

OFL — ฟรีสำหรับใช้ส่วนตัวและเชิงพาณิชย์

การรองรับภาษา

cyrillic cyrillic-ext greek greek-ext latin latin-ext symbols2

เหมาะสำหรับ

code_editors technical_docs web_apps ui_elements presentations

ฟอนต์ที่คล้ายกัน

แนวคิดการพิมพ์

  • Ligature

    Two or more letters combined into a single glyph, like 'fi' or 'fl'. Common in serif fonts and coding fonts (e.g., Fira Code).

  • Monospace

    A typeface where every character occupies the same horizontal width. Essential for code editors and tabular data.

  • OpenType

    A font format developed by Microsoft and Adobe supporting advanced typographic features like ligatures, alternates, and variable axes.

บทความเกี่ยวกับ Fira Code