Home / Modern UI

Modern UI JavaScript Projects

The browser now does many things that used to need React or a big library. Custom components, animated page changes, routing, tooltips that place themselves, and state that updates the screen on its own. These ten projects show those features in real, useful interfaces. Each one is a single HTML file you can open, read and copy into your own work.

UI Component Library JavaScript project preview

011. UI Component Library

Six reusable Web Components you can drop into any page
View Transitions Gallery JavaScript project preview

012. View Transitions Gallery

A photo gallery where images grow smoothly into the detail page
Client-side Router JavaScript project preview

013. Client-side Router

A tiny single page app router with real URLs
Popovers Without Libraries JavaScript project preview

014. Popovers Without Libraries

Tooltips, menus, toasts and a side sheet with no library
Signals State Library JavaScript project preview

015. Signals State Library

A 40 line reactive state library running a shopping cart
Infinite Scroll Feed JavaScript project preview

016. Infinite Scroll Feed

A photo feed that loads more posts as you scroll
Responsive Dashboard Widgets JavaScript project preview

017. Responsive Dashboard Widgets

Dashboard widgets that change layout when you resize them
Kanban Board JavaScript project preview

018. Kanban Board

A Trello style task board with drag and drop
Color Picker and Palette Tool JavaScript project preview

019. Color Picker and Palette Tool

A color picker that pulls palettes from photos and checks contrast
Accessible Modal and Form Kit JavaScript project preview

020. Accessible Modal and Form Kit

An accessible sign up form inside a native dialog