frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Basecoat – All of the shadcn/ui magic, none of the React

https://basecoatui.com
11•hunvreus•1y ago
In a nutshell: Basecoat is a port of shadcn/ui to HTML and Tailwind CSS. It's a modern, themeable component library; everything from buttons to comboboxes and dialogs.

Why? Well, I got sick of React and moved over to a more "old school" stack (Python, HTMX, Alpine.js and Tailwind).

The one thing I missed was shadcn/ui [1]. Nice defaults, well thought out design system, easy to theme and great to build your own component library with.

I didn't find the alternatives compelling: Flowbite, Preline and the likes encourage you to copy/paste dozens of classes for each element.

That's not how I use Tailwind. I love the utility-first approach, but I don't want walls of classes for each button, form element or tooltip I have in my app.

I had been building my own component library for a project I’m working on (a Vercel for Python apps) and realized it may be worth my time to firm things up.

Why I think it's cool? Well:

- No React. Just Tailwind CSS (with a tiny bit of Alpine.js if you choose to). You can use that with whatever stack you want.

- Jinja and Nunjucks macros. I hope to support more template engines.

- 100% compatible with shadcn/ui themes (you can play with the theme select box on the site).

- Super easy to install and use (there's even a CLI).

- Accessible, with ARIA support.

- Did I mention no React?

Hope some of you find it useful.

[1]: https://ui.shadcn.com/

[2]: https://v4.shadcn.com/ (this is actually the new/upcoming version of shadcn/ui).

Comments

drivingmenuts•1y ago
Not working in Safari. Did you, perchance, test this only in Chrome?

A sampling of error messages:

- Failed to load resource: Load cannot follow more than 20 redirections

- Cross-origin script load denied by Cross-Origin Resource Sharing policy.

- TypeError: window.basecoat.registerDialog is not a function. (In 'window.basecoat.registerDialog(Alpine)', 'window.basecoat.registerDialog' is undefined)

- Alpine Expression Error: Can't find variable: sidebar

and so on and so forth. It just goes downhill from there.

hunvreus•1y ago
I tested it in Safari, and just checked: I don't get any of these errors.

Which page did you get that on? The front page?

drivingmenuts•1y ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•1y ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•1y ago
Well done, this looks like a great beginning! I'll be giving this a test on my next project.

Hoping you add more of shadcn/ui, I'm partial to the sheet.

British runner Josh Kerr breaks 27-year-old world record in the mile

https://www.runnersworld.com/news/a73175937/josh-kerr-breaks-mile-world-record/
1•rappatic•23s ago•0 comments

A Simple P/E Valuation Model that Works

https://www.safalniveshak.com/simple-pe-valuation-model/
1•akbarnama•56s ago•0 comments

Show HN: Teya – Open‑source AI family agent on a wall‑mounted Android phone

https://github.com/adgapar/teya
1•AdiletGaparov•2m ago•0 comments

I tested Gisia against real-world .gitlab-ci.yml files – it just works

1•okoddcat•3m ago•0 comments

Tract Postmortem (2025)

https://buildwithtract.com/
1•dukeyukey•8m ago•0 comments

The scientific case for eating more bones

https://www.nationalgeographic.com/health/article/eating-bones-nutrition-health
1•YeGoblynQueenne•11m ago•0 comments

EU will force Google to share search data and open up AI on Android

https://arstechnica.com/gadgets/2026/07/its-official-eu-will-force-google-to-share-search-data-an...
4•akyuu•11m ago•1 comments

DBUF Encoding and Protocol

https://github.com/bintoca/dbuf
1•pierogitus•12m ago•0 comments

Terminal Bean Soup

https://blog.davep.org/2026/07/17/terminal-bean-soup.html
1•lemonberry•13m ago•0 comments

Reasonably Isolated NixOS Desktop MicroVM Framework

https://github.com/vicondoa/d2b
3•tour2026•14m ago•0 comments

Panchanga Tantra: The Magic of the Indic Calendar System

https://aksh.ai/posts/panchanga-tantra/panchanga_tantra.html
1•lioeters•17m ago•0 comments

I procrastinated so hard I built a proxy to stop myself from procrastinating

1•thisislorenzov•18m ago•0 comments

The case for eating more organ meat

https://www.nationalgeographic.com/health/article/offal-organ-meat-nutrition-health
3•YeGoblynQueenne•19m ago•1 comments

Show HN: TPU-accelerated quantum circuit simulation in Jax

https://github.com/AshiteshSingh/Tpu-Accelerated-Quantum-JAX
1•ashitesh_12•23m ago•0 comments

Basaltlabs Monolith-1.0 – #1 on Last Exam, AIME, GPQA Diamond, MMLU-Pro

https://basaltlabs.org/monolith
1•Topfi•24m ago•1 comments

HollowByte DDoS flaw bloats OpenSSL server memory with 11-byte payload

https://www.bleepingcomputer.com/news/security/hollowbyte-ddos-flaw-bloats-openssl-server-memory-...
1•Brajeshwar•26m ago•0 comments

Americans say they need $1.2M to retire comfortably

https://www.cnbc.com/2026/07/15/retirement-savings-goal-1point2-million.html
3•gmays•31m ago•0 comments

What Makes Humans Stupid

https://nautil.us/what-makes-humans-stupid-1282459
3•hoekit•35m ago•0 comments

Show HN: Can You Name the Tune?

https://1000songs.co.uk/#namethattune
1•farnhamancestry•35m ago•0 comments

Google Gemini launch delayed as tech falls short of internal goals

https://www.reuters.com/business/google-gemini-launch-delayed-tech-falls-short-internal-goals-blo...
3•sega_sai•36m ago•1 comments

Show HN: Japan and Korea Parliament Members Archive

https://eastasiainsights.com/
3•cksmct•37m ago•0 comments

Aspirin Shortage in UK

https://www.bbc.com/news/articles/c8d08v77ylro
4•bookofjoe•38m ago•1 comments

Half a Second: a free book on the XZ backdoor and the labor beneath open source

https://www.half-second.com/
2•a_mastronardi•41m ago•0 comments

Social Media Is Overrated

https://medium.com/whatsnextwray/why-social-media-is-overrated-and-what-to-do-instead-079d9b4cd78d
1•raynchad•45m ago•0 comments

World Cup photographer used a 96-year-old camera

https://www.cbc.ca/news/canada/world-cup-photos-camera-9.7272702
2•empressplay•46m ago•0 comments

Testing in Python

https://mkikta.com/posts/tests/
3•mkikta•51m ago•0 comments

Why Captain Disillusion Is Still the Goat [video]

https://www.youtube.com/watch?v=fCewGo4lvNw
1•Tomte•52m ago•0 comments

Ask HN: How much minimum karma is required for Show HN?

2•mindfluxstudios•54m ago•1 comments

Show HN: An interactive guide to how my spring-mass physics synthesizer works

https://anukari.com/how-it-works
1•humbledrone•55m ago•0 comments

Show HN: Health Economics Rust Crate

1•jph•1h ago•0 comments