Registry

Utilities, UI primitives, and blocks I reuse across my projects.

Overview

Scroll down. The bar stays put and tightens as the page moves under it.

Work

The name and the links share one row when there's room. Sign in is just whatever you put on the right.

Notes

Shrink the window and the links drop into the menu. Escape closes it.

Nav 01

Blocks

A top bar that shrinks a little as you scroll. On a small screen the links fold into a menu.

View source

Chunk

Utilities

Splits an array into multiple arrays, each containing a maximum of 'chunkSize' elements.

View source

DeepPartial

Utilities

A utility type that recursively makes all properties of a type optional, including nested objects, arrays, Maps, and Sets.

View source

DeepKeyPaths

Utilities

A utility type that extracts all nested key paths from an object type as a union of string literals, including array indices in both dot and bracket notation.

View source