Opinionated Library
A small library of interface components, each built with a strong point of view. Where it helps, an entry shows the version that works next to the one that doesn't, so you can see why the choices were made.
How to use it
- Pick an entry from the list on the left.
- Try the demos. Click, press and listen.
- Copy what you need into your own project.
What you can copy
- Prompt
- A ready-to-paste instruction for an AI coding tool, with the code included as a reference.
- HTML
- Plain HTML, CSS and JavaScript. No dependencies, and it works anywhere.
- React
- A React component with its styles included.
- Tailwind
- The same React component, styled with Tailwind classes.
Sound
Some components make a sound and some don't. When one does, you'll find a Sound switch and a choice of sound style at the top of its page. Your choice applies to the demos and to the code you copy, so you can take a version with or without sound.