"Stop thinking about what it would look like—just look at it."
Skip the pre-design guesswork. Preview, pair, and fine-tune Google Fonts live on your real UI components—then export with 1 click.
Choosing typography usually means guessing, copying <link> stylesheets, editing config files, waiting for reloads, and realizing the font doesn't fit your actual navigation, cards, or hero components.
Font-Tastic brings Google Fonts directly into your running application:
- Auto-Detection: Automatically scans your project's CSS variables (
--font-heading,--font-body, Tailwind's--font-sans/--font-mono) and computed styles. - Channel Switching: Independently preview fonts for Headings (
h1-h6), Body & UI (p, buttons), and Code (code,pre). - Curated Pairings & Shuffle: 1-click pairings tested by designers (Modern SaaS, Editorial Luxury, Neo-Brutalist, etc.) plus a randomizer.
- Typography Fine-Tuning: Live sliders for letter-spacing and font-scale without touching CSS.
- 1-Click Export: Instantly copy your finalized setup as Tailwind v3 config, Tailwind v4
@theme, CSS Variables,@fontsourcepnpm commands, or Next.jsnext/font. - Zero Bundle Impact in Production: Plug-and-play development widget.
| Package | Description |
|---|---|
@font-tastic/core |
Core engine: Google Fonts catalog, dynamic loader, CSS variable scanner, style override manager, and code exporter. |
@font-tastic/devtool |
React in-app devtool widget with floating trigger badge, drawer, categories, sliders, and export dialog. |
web |
Official website, documentation, and live playground to test and demonstrate live typography switching. |
pnpm add -D @font-tastic/devtool
# or
npm install -D @font-tastic/devtoolimport { FontTastic } from '@font-tastic/devtool';
export default function App() {
return (
<>
<YourAppComponents />
{process.env.NODE_ENV === 'development' && <FontTastic />}
</>
);
}A sleek floating badge will appear in the bottom corner. Click it or press Ctrl + Shift + F (Cmd + Shift + F on macOS) to slide out the typography drawer.
This project is managed as a pnpm monorepo.
- Node.js >= 18
- pnpm >= 9
pnpm installpnpm devOpen http://localhost:3000 in your browser.
pnpm buildMIT © Pedro & The Font-Tastic Open Source Contributors.