Lora
A well-balanced contemporary serif with calligraphic roots. Great for long-form reading.
Install
npm install @xerobi/fontsPreview Type anything — it's editable
Weights
Glyph Explorer 995 glyphs
Loading glyphs…
Download
Licensed under OFL-1.1 — free for personal and commercial use. The license is included in every download.
Developer setup
1. Install
bun add @xerobi/fonts # npm i @xerobi/fonts · pnpm add @xerobi/fonts · yarn add @xerobi/fonts
2. Import only what you need
Weights and subsets are separate files — the smaller the import, the faster the page.
@import "@xerobi/fonts/lora/latin-400.css"; @import "@xerobi/fonts/lora/latin-700.css"; @import "@xerobi/fonts/lora/latin-400-italic.css"; @import "@xerobi/fonts/lora/cyrillic-400.css"; /* cyrillic script */
3. Use it
body {
font-family: "Lora", serif;
}
h1 { font-weight: 700; }Variable font (one file, every weight)
Axes: ital, wght.
@import "@xerobi/fonts/lora/variable/latin-wght.css";
body {
font-family: "Lora Variable", serif;
font-weight: 450; /* any value 400–700 */
}Tailwind CSS v4 — app.css
@import "tailwindcss";
@import "@xerobi/fonts/lora/variable/latin-wght.css";
@theme {
--font-serif: "Lora Variable", ui-serif, system-ui;
}Tailwind CSS v3 — tailwind.config.js
// in your CSS entry: @import "@xerobi/fonts/lora/variable/latin-wght.css";
module.exports = {
theme: {
extend: {
fontFamily: { serif: ['"Lora Variable"', "serif"] },
},
},
};Then
<h1 class="font-serif font-bold">Hello</h1>
main.tsx
Bundlers (Vite, webpack, Rspack, Parcel) resolve the CSS and emit hashed font files.
import "@xerobi/fonts/lora/latin-400.css"; import "@xerobi/fonts/lora/latin-700.css"; import "./index.css";
index.css
:root {
font-family: "Lora", serif;
}app/layout.tsx
import "@xerobi/fonts/lora/latin-400.css";
import "@xerobi/fonts/lora/latin-700.css";
import "./globals.css";
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}app/globals.css
body {
font-family: "Lora", serif;
}No install — jsDelivr
<link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin />
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@xerobi/fonts@1/dist/fonts/lora/latin-400.css" />
<style>
body { font-family: "Lora", serif; }
</style>Custom font-display / own hosting (JS API)
import { fontFace } from "@xerobi/fonts";
const css = fontFace("lora", {
subsets: ["latin"],
weights: [400, 700],
display: "optional",
baseUrl: "/assets/fonts", // where you serve the .woff2 files
});1. Install
bun add @xerobi/react-native-fonts expo-font
2. Load the font
Only families you import are bundled by Metro.
import { useFonts } from "expo-font";
import lora from "@xerobi/react-native-fonts/lora";
export default function App() {
const [loaded] = useFonts(lora);
if (!loaded) return null;
// …
}3. Use it
Each weight has its own fontFamily name — don't also set fontWeight.
<Text style={{ fontFamily: "Lora_400Regular", fontSize: 16 }}>Regular</Text>
<Text style={{ fontFamily: "Lora_700Bold", fontSize: 16 }}>Bold</Text>1. Install the package
flutter pub add xerobi_fonts
2. Add this family to your app
Copies only these TTF files into assets/fonts and registers them in pubspec.yaml.
dart run xerobi_fonts add lora flutter pub get
3. Use it
Text('Hello', style: TextStyle(
fontFamily: 'Lora',
fontWeight: FontWeight.w700,
));
// or with the typed helper
import 'package:xerobi_fonts/xerobi_fonts.dart';
Text('Hello', style: XerobiFonts.lora.style(fontSize: 24, weight: 700));
// or as the whole app font
MaterialApp(theme: ThemeData(fontFamily: 'Lora'));Copyright 2011 The Lora Project Authors (https://github.com/cyrealtype/Lora-Cyrillic), with Reserved Font Name "Lora". Lora-Italic[wght].ttf: Copyright 2011 The Lora Project Authors (https://github.com/cyrealtype/Lora-Cyrillic), with Reserved Font Name "Lora". — licensed under OFL-1.1.