New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@noaignite/tailwind-typography

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noaignite/tailwind-typography

TailwindCSS plugin to create responsive typography

latest
Source
npmnpm
Version
0.1.13
Version published
Maintainers
2
Created
Source

@noaignite/tailwind-typography

Tailwind CSS plugin for responsive typography.

Installation

@noaignite/tailwind-typography is available as an npm package.

// with pnpm
pnpm add @noaignite/tailwind-typography

// with yarn
yarn add @noaignite/tailwind-typography

// with npm
npm install @noaignite/tailwind-typography

Usage

Use typography() to define responsive typography variants and generate utility classes from your design tokens. The example below shows a basic setup with custom breakpoints, a class prefix, and fluid type scaling.

// tailwind.config.ts
import type { Config } from 'tailwindcss'
import { typography } from '@noaignite/tailwind-typography'

const config: Config = {
  content: [
    // ...
  ],
  theme: {
    // ...
  },
  plugins: [
    typography({
      breakpointKeys: ['xs', 'md', 'xl'] as const,
      prefix: 'type-' as const,
      unit: 'rem',
      fluid: true,
      variants: {
        h1: {
          xs: {
            fontFamily: 'var(--font-primary)',
            fontSize: 48,
            fontWeight: 700,
            lineHeight: 1.2,
            textTransform: 'uppercase',
          },
          md: { fontSize: 72 },
        },
        body1: {
          fontFamily: 'var(--font-secondary)',
          fontSize: 14,
          fontWeight: 400,
          lineHeight: 1.2,
        },
      },
    }),
  ],
}

export default config

This configuration makes type-h1, type-h1-xs, type-h1-md, and type-body1 available as utility classes.

Documentation

Visit https://noaignite.dev/tailwind-typography to view the full documentation.

Contributing

Read the contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.

Changelog

The changelog is regularly updated to reflect what's changed in each new release.

License

This project is licensed under the terms of the MIT license.

Keywords

tailwindcss

FAQs

Package last updated on 30 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts