New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@sunnyai/sunny-marker

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sunnyai/sunny-marker

Sunny Marker: a handwritten variable font with weight, width, slant and optical size.

latest
npmnpm
Version
1.313.0
Version published
Weekly downloads
197
Maintainers
2
Weekly downloads
 
Created
Source

Sunny Marker

A handwritten variable font for little notes, labels, headings and playful interfaces. One self-hosted WOFF2 contains all four axes and 391 glyphs. Font version 1.313; package version 1.313.0. Free for personal and commercial use under the SIL OFL 1.1.

Install

npm install @sunnyai/sunny-marker

Also works with pnpm add @sunnyai/sunny-marker, yarn add @sunnyai/sunny-marker and bun add @sunnyai/sunny-marker. The same package is available as a versioned tarball from the Sunny website.

Any CSS bundler (Vite, React, Vue, Svelte, Astro)

Import once in your app's entry point or global stylesheet:

import "@sunnyai/sunny-marker/css";
<span class="sunny-marker note">A LITTLE NOTE GOES A LONG WAY.</span>
.note {
  font-size: 18px;
  font-weight: 500;
  font-stretch: 85%;
  font-style: oblique 0deg;
}

You can also apply font-family: "Sunny Marker", cursive directly. The stylesheet defines the font and one optional utility class; it does not change global type. Keep font-optical-sizing: auto and font-synthesis: none on your own classes.

Next.js

Use the optional next/font/local entry point instead of the CSS import:

import { SunnyMarker } from "@sunnyai/sunny-marker/next";
import "./globals.css";

export default function RootLayout({ children }) {
  return <html lang="en" className={SunnyMarker.variable}><body>{children}</body></html>;
}
.note {
  font-family: var(--font-sunny-marker), cursive;
  font-optical-sizing: auto;
  font-synthesis: none;
  font-size: 18px;
  font-weight: 500;
  font-stretch: 85%;
  font-style: oblique 0deg;
}

SunnyMarker.className is also available. Next.js is an optional peer dependency; CSS users do not install it. Preloading is off because annotations usually do not need a page-wide font preload. The host app serves the font; no external font request or runtime library is required.

Variable controls

ControlCSSRange
Weightfont-weight300–700
Widthfont-stretch75%–125%
Slantfont-style: oblique 6deg0–9° right lean
Optical sizefont-optical-sizing: auto10–36

For direct axis control, use font-variation-settings: "wght" 500, "wdth" 85, "slnt" -6, "opsz" 18. Positive CSS oblique angles correspond to negative slnt values. The font has slanted letterforms; it does not contain a separate cursive italic design. Case is controlled by your text or CSS text-transform.

The raw font is exported at @sunnyai/sunny-marker/files/SunnyMarker-Variable.woff2. The package contains no install scripts, telemetry, runtime dependencies, source history or Sunny brand artwork. Keep OFL.txt with redistributed font files.

Try the font and browse every glyph.

Keywords

font

FAQs

Package last updated on 17 Sep 2026

Related posts