<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/epaper-108-web-components-built-for-e-ink-displays-no-framework-no-animations-tqk7hpsvy" -->

---
title: EPaper: 108 web components built for e-ink displays, no...
description: EPaper is a TypeScript component library built specifically for e-ink displays, addressing hardware constraints that most UI libraries ignore: slow refresh...
canonical: https://daily.dev/posts/epaper-108-web-components-built-for-e-ink-displays-no-framework-no-animations-tqk7hpsvy
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: EPaper: 108 web components built for e-ink displays, no framework, no animations | daily.dev
og:description: EPaper is a TypeScript component library built specifically for e-ink displays, addressing hardware constraints that most UI libraries ignore: slow refresh...
og:url: https://daily.dev/posts/epaper-108-web-components-built-for-e-ink-displays-no-framework-no-animations-tqk7hpsvy
og:image: https://api.daily.dev/og/posts/tQK7hpsvy.png
og:image:alt: EPaper: 108 web components built for e-ink displays, no framework, no animations
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# EPaper: 108 web components built for e-ink displays, no framework, no animations

**[Marco M.](https://daily.dev/sources/z7eobifwkwcbmpc7i9nvu)** · [@mdevo](https://daily.dev/mdevo) · 2 min read · 2 upvotes · 0 comments

## Summary

EPaper is a TypeScript component library built specifically for e-ink displays, addressing hardware constraints that most UI libraries ignore: slow refresh rates (200-800ms full, 30-80ms partial), ghosting, and lack of hover support. It uses plain custom elements with zero runtime dependencies, light DOM only, and no CSS transitions or animations. Components render once and mutate via patch helpers that skip no-op updates to avoid unnecessary refreshes. Form controls use ElementInternals for native form integration. The library supports Kaleido color panels with dithered previews and is MIT licensed, currently at version 2.0.0. The full bundle is 63.7 KB brotli, with per-component subpath imports as small as 1.7 KB.

## Content

E-paper controllers don't refresh at 60 fps. A full refresh takes 200–800 ms and flashes, a partial refresh of a dirty rectangle takes 30–80 ms, and intermediate pixel states stay on screen as ghosting until the next refresh clears them. Most UI libraries assume none of that.

EPaper is a component library written around those constraints. It's plain custom elements in TypeScript, zero runtime dependencies, light DOM only, MIT licensed, currently at 2.0.0.

What that means concretely:

- No CSS transitions or animations anywhere. The base reset disables them globally inside `.ink-page`, and the source tree contains no `@keyframes`.
- No `:hover` rules. Capacitive layers on e-paper report contact, not proximity. State is encoded in things that survive 1-bit rendering: focus is a 3px outline, selection inverts foreground and background, disabled and error states use hatch fills instead of grey or opacity.
- Components render once in `connectedCallback` and afterwards mutate via patch helpers (`patchText`, `patchAttr`, `patchBoolAttr`, `patchClassModifier`) that return early when the value hasn't changed. A framework re-asserting an attribute costs nothing, so it doesn't trigger a refresh.
- Form controls are form-associated custom elements via `ElementInternals`. A `name` attribute is enough for `FormData`, `form.reset()` and constraint validation. A form works from plain HTML without any application code.
- Minimum stroke width is 2px, default touch target is 44px, icons are stroked paths with square caps. All of it is tokens you can override.
- Kaleido color panels get five flat color tokens and a diagnostic `<e-kaleido>` element that shows each swatch next to a Bayer-8 dithered preview.

Size: the full library bundles to 63.7 KB brotli, a single `<e-button>` import is 1.7 KB, the combined CSS is 12.2 KB gzip. Every component ships as its own subpath, so you import what you use.

It's not a fit for shimmer loaders, hover menus, drop shadows or color-coded status.

Repo: [https://github.com/marcomattes/epaper-components](https://github.com/marcomattes/epaper-components)
Site and Storybook: [https://epaper-components.dev/](https://epaper-components.dev/)

```
npm install @marcomattes/epaper-components
```

## Similar posts on daily.dev

- [Elena, a library for building Progressive Web Components](https://daily.dev/posts/elena-a-library-for-building-progressive-web-components-pdveiscfo) · Hacker News · 56 upvotes · 0 comments
- [First look: Electrobun for TypeScript-powered desktop apps](https://daily.dev/posts/first-look-electrobun-for-typescript-powered-desktop-apps-iqkfz3lt9) · InfoWorld · 0 upvotes · 0 comments
- [Progressive Web Components](https://daily.dev/posts/progressive-web-components-t3lc8pytx) · Hacker News · 4 upvotes · 2 comments
- [Issue \#803: JavaScript desktop apps in under 10MB — JavaScript Weekly](https://daily.dev/posts/issue-803-javascript-desktop-apps-in-under-10mb-javascript-weekly-pypzvc0cg) · JavaScript Weekly · 6 upvotes · 1 comments
- [Canvas UI Ships 35 HTML-in-Canvas Components That Run WebGL and WebGPU Effects Over Live DOM](https://daily.dev/posts/canvas-ui-ships-35-html-in-canvas-components-that-run-webgl-and-webgpu-effects-over-live-dom-tfekmd60e) · InfoQ · 0 upvotes · 0 comments

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#web-components](https://daily.dev/tags/web-components)

[View this post on daily.dev](https://daily.dev/posts/epaper-108-web-components-built-for-e-ink-displays-no-framework-no-animations-tqk7hpsvy)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/epaper-108-web-components-built-for-e-ink-displays-no-framework-no-animations-tqk7hpsvy","headline":"EPaper: 108 web components built for e-ink displays, no framework, no animations","text":"EPaper is a TypeScript component library built specifically for e-ink displays, addressing hardware constraints that most UI libraries ignore: slow refresh rates (200-800ms full, 30-80ms partial), ghosting, and lack of hover support. It uses plain custom elements with zero runtime dependencies, light DOM only, and no CSS transitions or animations. Components render once and mutate via patch helpers that skip no-op updates to avoid unnecessary refreshes. Form controls use ElementInternals for native form integration. The library supports Kaleido color panels with dithered previews and is MIT licensed, currently at version 2.0.0. The full bundle is 63.7 KB brotli, with per-component subpath imports as small as 1.7 KB.","url":"https://daily.dev/posts/epaper-108-web-components-built-for-e-ink-displays-no-framework-no-animations-tqk7hpsvy","datePublished":"2026-09-21T06:34:51.220Z","dateModified":"2026-09-21T06:35:12.252Z","author":{"@type":"Person","name":"Marco M.","url":"https://daily.dev/mdevo","image":"https://lh3.googleusercontent.com/a/AGNmyxZjbGidx9Ga4UtABzFayWw0UAmIxqR6BzMK8eJ9nzM=s96-c","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":20}},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/z7eobifwkwcbmpc7i9nvu","name":"Marco M."}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Marco M.","item":"https://daily.dev/sources/z7eobifwkwcbmpc7i9nvu"},{"@type":"ListItem","position":3,"name":"EPaper: 108 web components built for e-ink displays, no framework, no animations"}]}
```

