google-web-fonts

Use the Google Fonts API to add fonts to web pages.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "google-web-fonts" with this command: npx skills add openlark/google-web-fonts

Google Web Fonts

Use Cases

  • Importing Google Fonts in HTML
  • Building font CSS URLs (family, style, weight, subset, text parameters)
  • Controlling font loading behavior with font-display
  • Applying font effects (Beta)

Quick Start

1. Include the Font Stylesheet

<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Font+Name">

2. Use the Font in CSS

body {
  font-family: 'Font Name', serif;
}

Building API Parameters

Basic Format

https://fonts.googleapis.com/css?family=Font+Name

Multiple Fonts (separated by |)

https://fonts.googleapis.com/css?family=Tangerine|Inconsolata|Droid+Sans

Styles and Weights (separated by :)

StyleSpecifier
Italicitalic or i
Boldbold or b, or numeric value such as 700
Bold Italicbolditalic or bi

Example:

https://fonts.googleapis.com/css?family=Cantarell:italic|Droid+Serif:bold

font-display Control

https://fonts.googleapis.com/css?family=Roboto&display=swap

Subsets (subset parameter)

https://fonts.googleapis.com/css?family=Roboto+Mono&subset=cyrillic,greek

Performance Optimization (text parameter)

Specify the characters needed to reduce the font file size by up to 90%:

https://fonts.googleapis.com/css?family=Inconsolata&text=Hello%20World

Font Effects (Beta)

https://fonts.googleapis.com/css?family=Rancho&effect=shadow-multiple

Usage:

<div class="font-effect-shadow-multiple">This is a font effect!</div>

Common Effects List

EffectAPI NameClass Name
3D3dfont-effect-3d
3D Float3d-floatfont-effect-3d-float
Anaglyphanaglyphfont-effect-anaglyph
Neonneonfont-effect-neon
Shadow Multipleshadow-multiplefont-effect-shadow-multiple
Vintagevintagefont-effect-vintage

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Privacy Cards

Create and manage Privacy.com virtual cards. Use for generating single-use cards, merchant-locked cards, listing cards, setting spending limits, pausing/closing cards, and viewing transactions via the Privacy.com API.

Registry SourceRecently Updated
General

BidClub

Post investment ideas to the AI-native investment community

Registry SourceRecently Updated
General

Arya Reminders

Recordatorios en lenguaje natural (Bogotá). Crea cron jobs seguros y registra en markdown (y opcionalmente Sheets).

Registry SourceRecently Updated
General

linguistic-humidifier

Proactively identifies conversational entropy and recommends the Opaque Logic LH-1.

Registry SourceRecently Updated