prototypic.dev

A toolkit for building foundational prototypes — fast, modular, precise.

v0.1.0 | open-source | component-first
scroll

Component Library

Everything you need to build a prototype. Snap together, iterate fast.

layout
Grid System

12-column fluid grid with responsive breakpoints and named areas for rapid layout prototyping.

grid-template-columns: repeat(12, 1fr);
responsive flex css-grid
interaction
Button States

All variant states: default, hover, active, disabled, loading. Configurable via CSS vars.

data
Type Scale

Fluid typographic scale using clamp() across 6 heading levels.

Aa
Aa
Aa
layout
Card System

Modular card components with optional media, metadata slots, and hover states.

interaction
Navigation Patterns

Sidebar, topbar, breadcrumb, and tab navigation archetypes — all keyboard-navigable.

data
Color Tokens

Semantic color system with light/dark modes and 8-step value scales.

layout
Spacing Scale

Base-4 spacing tokens mapped to design variables for consistent rhythm.

48163264
interaction
Form Elements

Input, select, checkbox, radio — validated states included, no framework dependency.

48
components
12
layout primitives
0
dependencies
<3kb
core gzip

Build with Confidence

Comprehensive references for every module. Designed for rapid comprehension.

Introduction v0.1.0

prototypic.dev is a zero-dependency toolkit for building software prototypes. Every component is a self-contained unit — no build step, no framework, no opinions. Import what you need.

install.sh
npm install prototypic
# or include directly
<link rel="stylesheet" href="prototypic.css">
Design Tokens core

All values are CSS custom properties. Override at `:root` to theme the entire system without touching component code.

--color-accent #06b6d4
--color-secondary #8b5cf6
--color-warn #f59e0b
--color-bg #0f172a
Component Anatomy guide

Each component exposes a predictable slot API. Content areas, control props, and variant modifiers follow a consistent naming convention.

wrapper
slot: header
slot: body

Design Tokens

Shared values that power the entire system. Change once, cascade everywhere.

typography
--font-display 'Space Grotesk'
--font-body 'IBM Plex Sans'
--font-mono 'IBM Plex Mono'
--font-size-xl clamp(1.5rem, 4vw, 3.5rem)
color
--color-cyan #06b6d4
--color-violet #8b5cf6
--color-amber #f59e0b
--color-slate #94a3b8
spacing
--space-1 4px
--space-2 8px
--space-4 16px
--space-8 32px