Skip to content

A standalone font picker for the web. A package to quickly choose fonts from Google Web Fonts and preview a font from Google's large range of free fonts, and optionally select a font weight and font style (normal or italics).

License

Notifications You must be signed in to change notification settings

lablnet/fontpicker

Repository files navigation

pages-build-deployment

fontpicker

A standalone font picker for the web. A package to quickly choose fonts from Google Web Fonts and preview a font from Google's large range of free fonts, and optionally select a font weight and font style (normal or italics).

Features

  • Quickly preview and select any Google font family.
  • Optionally choose font weight and font style.
  • Find fonts by name, language and category (serif, sans-serif, display, handwriting, monospace).

More features will be added in later release.

Installations

Using npm

npm i @lablnet/fontpicker
import fontpicker from '@lablnet/fontpicker';

let picker = document.getElementById("picker");
fontpicker(picker, (data) => {
    let paragraph = document.getElementById("paragraph");
    paragraph.style.fontFamily = data.fontFamily;
})

Contribution

You're welcome to contribute to this project.
You should follow contribution guideline Contribution guideline

License

  • GPLv3

About

A standalone font picker for the web. A package to quickly choose fonts from Google Web Fonts and preview a font from Google's large range of free fonts, and optionally select a font weight and font style (normal or italics).

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

Packages