@kolkrabbi/kol-specimen
v0.1.0
Published
KOL type-specimen system — typeface hero, variable-font axis playground, parsed-metric glyph inspector, character-set browser, font-preview, and the typeface-catalog grid. Every component renders, inspects, or manipulates a live font. Typeface data is con
Downloads
21
Maintainers
Readme
@kolkrabbi/kol-specimen
The KOL type-foundry system — the type-specimen apparatus, lifted out of @kolkrabbi/kol-component (was the /foundry subpath) into its own package. It's a distinct content domain (typefaces, glyph metrics, variable-font axes — not Sanity CMS) with its own consumer (kolkrabbi.io/foundry) and versioning cadence.
What's in the box
| Export | What |
| --- | --- |
| TypefaceHero | specimen hero — typeface name, styles, sample |
| VariableFontSection | live weight/axis playground (useAxisAnimation) |
| GlyphMetricsGrid | parsed-metric glyph inspector |
| FoundryCharacterSets | character-set browser |
| TypefaceStyleSection | per-style specimen block |
| FontPreviewSection | size-ladder / preview control |
| SpecimenSectionHeader | shared section header |
| glyphSets, glyphCategories, SPECIMEN_SAMPLE_TEXT | glyph data |
import { TypefaceHero, VariableFontSection } from '@kolkrabbi/kol-specimen'Requirements
Components take flat prop bags — typeface metrics / font files are consumer-supplied. Shared primitives (Tag, Pill, Slider, Button, Divider, Dropdown, useAxisAnimation) stay in @kolkrabbi/kol-component; this package depends on them. Styling comes from @kolkrabbi/kol-theme. Vite + Tailwind v4 consumer (@source "…/node_modules/@kolkrabbi/kol-specimen/src").
