GithubHelp home page GithubHelp logo

abraham-ukachi / ab-nextjs-fonts Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 4.4 MB

✏️ A lightweight collection of React fonts created by Abraham Ukachi, and optimized for Next.js applications.

Home Page: https://ab-elements.vercel.app/docs#fonts

License: Other

CSS 89.52% TypeScript 10.48%
ab-elements ab-nextjs abraham fonts nextjs react ukachi

ab-nextjs-fonts's Introduction

Ab Logo on Light Ab Logo on Dark Next.js LogoName on Light Next.js LogoName on Dark

Checkout abElements →

ab-nextjs-fonts

IMPORTANT: This is a work in progress and subject to major changes until version 1.0.

✏️ This is a lightweight collection of React fonts created by Abraham Ukachi, and optimized for Next.js applications 😎.

Getting Started

Installation

npm

npm i ab-nextjs-fonts

pnpm

pnpm install ab-nextjs-fonts

Fonts

A list of all the supported fonts and their current status:

No. Name Status
1 Inter Done
2 Mulish Done
3 Quicksand Done
4 Roboto Done
5 ZillaSlab Done

NOTE: These fonts are also available offline ;) See ab-nextjs-theme/typography for more details.

Inter

Use font-inter-* tailwindcss utilities to apply the Inter font to your nextjs/react component:

<p className="font-inter-light">...</p>
# or
<p className="font-inter-medium">...</p>
# or
<p className="font-inter-bold">...</p>

Mulish

Use font-mulish-* tailwindcss utilities to apply the Mulish font to your nextjs/react component:

<p className="font-mulish-light">...</p>
# or
<p className="font-mulish-medium">...</p>
# or
<p className="font-mulish-bold">...</p>

Quicksand

Use font-quicksand-* tailwindcss utilities to apply the Quicksand font to your nextjs/react component:

<p className="font-quicksand-light">...</p>
# or
<p className="font-quicksand-medium">...</p>
# or
<p className="font-quicksand-bold">...</p>

Roboto

Use font-roboto-* tailwindcss utilities to apply the Roboto font to your nextjs/react component:

<p className="font-roboto-light">...</p>
# or
<p className="font-roboto-medium">...</p>
# or
<p className="font-roboto-bold">...</p>

Zilla Slab

Use font-zillaslab-* tailwindcss utilities to apply the ZillaSlab font to your nextjs/react component:

<p className="font-zillaslab-light">...</p>
# or
<p className="font-zillaslab-medium">...</p>
# or
<p className="font-zillaslab-bold">...</p>

TODOs

  • Optimize all fonts
  • Add the Sacramento font
  • Add a Nerd Font font (for easy icon support)

Learn More abElements

To learn more about abElements, take a look at the following resources:

You can check out the abElements GitHub repository for more details.

License

This ab-nextjs-fonts project is MIT Licensed ;)

ab-nextjs-fonts's People

Contributors

abraham-ukachi avatar

Stargazers

10946287 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.