npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@calcom/cal-sans-ui

v1.3.0

Published

Cal Sans UI, Cal Sans Text, and Cal Sans Geo typefaces for Cal.com interfaces

Readme

@calcom/cal-sans-ui

Cal Sans UI, Cal Sans Text, and Cal Sans Geo typefaces for Cal.com.

Installation

npm install @calcom/cal-sans-ui

Next.js: peer dependency Next.js 13.2+

Using with Next.js

Next.js config (required for Next.js < 15)

Add transpilePackages to next.config.js or next.config.mjs:

/** @type {import('next').NextConfig} */
const nextConfig = {
  transpilePackages: ["@calcom/cal-sans-ui"],
};

export default nextConfig;

App Router

In app/layout.js or app/layout.tsx:

import { CalSansUI } from "@calcom/cal-sans-ui/ui";
import { CalSansText } from "@calcom/cal-sans-ui/text";
import { CalSansGeo } from "@calcom/cal-sans-ui/geo";

export default function RootLayout({ children }) {
  return (
    <html lang="en" className={`${CalSansUI.variable} ${CalSansText.variable} ${CalSansGeo.variable}`}>
      <body>{children}</body>
    </html>
  );
}

Pages Router

In pages/_app.js:

import { CalSansUI } from "@calcom/cal-sans-ui/ui";

export default function MyApp({ Component, pageProps }) {
  return (
    <main className={CalSansUI.className}>
      <Component {...pageProps} />
    </main>
  );
}

With Tailwind CSS

Map Cal Sans to Tailwind's theme variables so you can use font-sans (body), font-heading (headings), and font-display (geo):

Tailwind v4tailwind.css:

@theme {
  --font-sans: var(--font-cal-sans-ui), ui-sans-serif, sans-serif;
  --font-heading: var(--font-cal-sans-text), ui-sans-serif, sans-serif;
  --font-display: var(--font-cal-sans-geo), ui-sans-serif, sans-serif;
}

Tailwind v3tailwind.config.js:

module.exports = {
  theme: {
    extend: {
      fontFamily: {
        sans: ["var(--font-cal-sans-ui)", "sans-serif"],
        heading: ["var(--font-cal-sans-text)", "sans-serif"],
        display: ["var(--font-cal-sans-geo)", "sans-serif"],
      },
    },
  },
};

Usage in components:

<p className="font-sans">Body text uses Cal Sans UI</p>
<h1 className="font-heading">Headings use Cal Sans Text</h1>
<h1 className="font-display">Display text uses Cal Sans Geo</h1>

For the GEOM axis (e.g. subheadings):

<h2 className="font-heading" style={{ fontVariationSettings: '"GEOM" 50' }}>
  Subheading
</h2>

Non-Next.js (Vite, CRA, etc.)

import "@calcom/cal-sans-ui/ui.css";
import "@calcom/cal-sans-ui/text.css";
import "@calcom/cal-sans-ui/geo.css";
h1 {
  font-family: "Cal Sans Text", sans-serif;
  font-variation-settings: "GEOM" 50;
}

p {
  font-family: "Cal Sans UI", sans-serif;
  font-variation-settings: "GEOM" 0;
}

For browsers that don't support variable fonts: import "@calcom/cal-sans-ui/ui-non-variable.css"

Exports

| Import | Description | |--------|-------------| | @calcom/cal-sans-ui | Next: CalSansUI, CalSansUINonVariable, CalSansText, CalSansGeo (all in one). Preferred. | | @calcom/cal-sans-ui/ui | Next: CalSansUI (variable). | | @calcom/cal-sans-ui/ui-non-variable | Next: CalSansUINonVariable (static UI). | | @calcom/cal-sans-ui/text | Next: CalSansText (variable subheadings). | | @calcom/cal-sans-ui/geo | Next: CalSansGeo (variable). | | @calcom/cal-sans-ui/ui.css | CSS: variable font. | | @calcom/cal-sans-ui/ui-non-variable.css | CSS: static UI weights. | | @calcom/cal-sans-ui/text.css | CSS: Cal Sans Text. | | @calcom/cal-sans-ui/geo.css | CSS: Cal Sans Geo. |

License

SIL Open Font License 1.1. See OFL.txt.