David Amunga

Software Maker·Frontend / Mobile·Nairobi, Kenya
  • Senior Frontend Engineer at Piedmont Global
  • 8+ years building mobile & web applications
David Amunga

UI Registry

These are a few components I use a lot. They live in a shadcn registry, so you can add them to your project with one command. No copy and paste.

First, add this alias to your components.json

{ "registries": { "@davidamunga": "https://davidamunga.com/r/{name}.json" } }

components.json

After that, install a component with npx shadcn add @davidamunga/stat. If you skip the alias, use the full URL on each card instead.

Stat

A number with a label, how it changed, and a short note.

Weekly readers
2,481
Increase of 18.2%

vs last week

Open tasks
14
Decrease of 3

cleared since Monday

Uptime
99.9%
Change of 0.0%

last 30 days

npx shadcn add @davidamunga/stat

No alias yet? Use this instead: npx shadcn add https://davidamunga.com/r/stat.json

Time Picker

A time field with a column picker on desktop and a clock on phones.

Analog clock

Select time

:
123456789101112

Hours, minutes, AM/PM

Computer or phone

0330PM

On a computer this opens a menu. On a phone it opens a sheet.

Desktop only

0330PM

24-hour

1530

With seconds

033000PM

Disabled

0330PM

Between 9 AM and 5 PM

0815AM

Only times during office hours.

Pick a later time.

npx shadcn add @davidamunga/time-picker

No alias yet? Use this instead: npx shadcn add https://davidamunga.com/r/time-picker.json