Skip to the component desk
A familiar place to make something new.Independent interface kit · v1.0
Pencil 95 / The component desk
Foundations Components Visual explanations Markdown Read me
Desk light

A hand-drawn interface system

Pencil 95

Familiar by design.
Imperfect by hand.

The useful bits of an old desktop, redrawn for the web. A small, opinionated kit for interfaces that feel like they belong together.

Make yourself at home Light + dark. No dependencies.
Same desk. A softer edge.

The familiar foundations

A place for every pixel.

Colors with a job to do

Named by function, never by hue
Desktopcolor-desktop
Surfacecolor-surface
Papercolor-paper
Inkcolor-ink
Title barcolor-title
Actioncolor-accent

One small spacing scale

48121624324864

Aa Bb 0123

W95FA / UI & headings
Courier New / code & data

Small pieces. One language.

Go ahead, press things.

Buttons.exe

Clear priorities, satisfyingly clicky edges.

Your changes stay on this demo desk.

Navigation.dll

A place for the next good idea.
File menu ▾

A few useful questions

Considered controls, drawn for the desk.
Give your next idea a home.
Included toolsChoose any that belong on your desk.
Little preferences
Workspace density
100%

Demo only. Preferences are kept until you reload.

Enter a name before saving.
You can select and copy this path.

Everything in its place

A little order goes a long way.

Project folder

3 items
Files included in every Pencil 95 project
NameKindStatus
pencil-95.cssDesign tokens + componentsReady
demo.htmlComponent referenceReference
assets/Font + hand-drawn SVGsBundled
All files live on your machine.Offline ready

The desk talks back

Words first. Color lends a hand.
Saved. Your draft is right where you left it.
Unsaved changes. Save your draft before leaving.
Couldn't open the file. Check the file and try again.
A small tip. Every color has a light and dark counterpart.
Loading preview / skeleton specimen
ReadyNeeds attentionFailed

An empty folder, a fresh start.

Create a note to put your first idea on the desk.

An idea you can follow

Decisions, handoffs, and a clearer next step.

Use a flowchart for a choice, a sequence for who does what, and a comparison for what gets easier. Each example explains the same task: saving and reopening a draft.

Choose the next step

When opening the workspace, check for a saved copy. Yes: open the saved draft. No: create a new draft. Both paths leave you ready to write.

Start

Open workspace

Decision

Saved copy exists?

Yes

Open saved draft

Keep working where you left off.

No

Create a draft

Start with a fresh page.

Build a flowchart like this

Stack steps inside p95-flow. Use two p95-flow-branch containers inside p95-flow-branches for a binary decision. Label each branch with its condition. At compact widths, the outcomes stack in reading order.

Copy the flowchart HTML

Follow a save

Read from top to bottom. Each numbered step names the sender, the receiver, and the work passed between them.

  1. Editor → Workspace

    Save draft

    Send the current text and file name.

  2. Workspace → Disk

    Write file

    Store the draft on this machine.

  3. Disk → Editor

    Confirm saved

    Show “Saved” only after the write succeeds.

Build a handoff sequence like this

Use an ordered list with p95-sequence for a short trace or timeline. Put the participants, action, and result in each list item. Numbering carries order without relying on color or animation.

Copy the sequence HTML

Show what changed

Keep the task and level of detail the same on both sides. Here, visual signposts replace guesswork when reopening a draft.

Before: find it yourself

  1. Read a paragraph of setup notes.
  2. Guess which command comes next.

The reader has to reconstruct the path.

After: follow the signposts

  1. Check whether a saved draft exists.
  2. Open it, or create a new draft.

The condition and next action are explicit.

Build a comparison like this

Compose p95-grid and p95-panel with visible “Before” and “After” headings. Keep the before state first in the document so the story still makes sense when columns stack.

Copy the comparison HTML

Keep one question per figure. Write the takeaway in its caption, label every path, and keep essential meaning in real text. These examples use only pencil-95.css and native HTML.

A home for your words

The Markdown reader.

readme.md / rendered preview

The things worth keeping

A desk is a place for work in progress. This one has room for unfinished thoughts, overcomplicated plans, and the next useful thing.1

Make it simple enough to use.
Leave a little evidence of the hand that made it.

Even the smallest detail can feel considered.

A list for a slower afternoon

  • Start with one useful idea.
    • Give it a clear name.
    • Find the smallest version that works.
  • Keep the things that help.
  • Leave some room for the next person.
  1. Open a fresh document.
  2. Write something real.
    1. Read it once.
    2. Make it a little clearer.
  3. Save a copy.

Small, satisfying progress

  • Choose a direction
  • Make something useful
  • Leave room to improve

A little code, clearly set

Wrap rendered content in .p95-prose. Keep styles scoped to .p95. Press Ctrl + S to save.

<body class="p95" data-p95-theme="light">
  <article class="p95-prose">
    <h1>A fresh page</h1>
    <p>Something worth keeping.</p>
  </article>
</body>

The details in a table

ElementA good default
Body text16px / 1.5 line height
Reading measure68 characters
SpacingMultiples of 4px

A fourth-level heading

A strong label for a smaller idea. Highlight the important bit and let the rest breathe.

A fifth-level heading

The same voice, one step quieter. H2O and x2 have room here, too.

A sixth-level heading

Still a heading. Still useful.

Window
A frame around a related set of things.
Paper
The reading surface inside the frame.
A hand-drawn computer, keyboard and pencil
Figure 1. A familiar shape, with a human line.
A note about Markdown support

Headings 1 through 6, paragraphs, links, emphasis, nested lists, task lists, blockquotes, code, tables, images, rules and footnotes are styled. Definition lists, disclosure, keyboard hints and highlights are included for renderers that emit HTML extensions.

  1. The best tools leave room for you. ↩

Your desk is ready.

Copy this whole folder into your project. Keep assets/ beside pencil-95.css, link the stylesheet, then add class="p95" to your page root.

<link rel="stylesheet" href="/design-system/pencil-95.css">
<body class="p95" data-p95-theme="light">
  <!-- Your next good idea goes here. -->
</body>
Read the usage guideSave CSSThe font, its license and SVGs stay with the bundle.
Ready. Everything has its place.100% hand consideredv1.0

A little preview

Pixel type, familiar colors, and a line that isn't quite straight. That's the whole idea.

This native dialog supports Escape, keyboard focus containment and returning focus to the button that opened it.