frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•11mo 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•11mo 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•11mo 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•11mo ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•11mo ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•11mo 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.

A simple LinkedIn prospecting trick that improved our lead quality

https://www.indiehackers.com/post/a-simple-linkedin-prospecting-trick-that-improved-our-lead-qual...
1•YashNetworkHQ•49s ago•0 comments

New wave of immunotherapy is eliminating cancers

https://www.bbc.com/future/article/20260410-how-a-new-wave-of-immunotherapy-is-eliminating-cancers
1•andsoitis•1m ago•0 comments

Copilot Key on My Keyboard

https://github.com/Rast1234/copilot_key_on_my_keyboard/blob/master/README.md
1•rast1234•2m ago•0 comments

Linux 7.1 just killed one of dual-booting's biggest headaches

https://www.xda-developers.com/linux-71-just-killed-one-of-dual-bootings-biggest-headaches/
1•y1n0•2m ago•0 comments

We beat Google's zero-knowledge proof of quantum cryptanalysis

https://blog.trailofbits.com/2026/04/17/we-beat-googles-zero-knowledge-proof-of-quantum-cryptanal...
1•EvgeniyZh•3m ago•0 comments

Father of man who inspired Super Mario was also named Luigi

https://www.theguardian.com/games/2026/apr/18/super-mario-nintendo-luigi-inspiration
1•y1n0•3m ago•0 comments

Why don't we just ask AI to write assembler?

1•canterburry•3m ago•0 comments

Venture capitalist Ron Conway says he has 'rare' cancer

https://sfstandard.com/2026/04/17/ron-conway-venture-capitalist-cancer-treatment/
1•littlexsparkee•9m ago•0 comments

How do I get better at first-person shooters?

https://www.mothership.blog/how-do-i-get-better-at-first-person-shooters/
1•Julesprobably•10m ago•0 comments

Claude Didn't Write This

https://blog.mfc83.io/blog/claude-didnt-write-this/
1•afro88•10m ago•0 comments

Humanoid Half-Marathon

https://observervoice.com/beijings-humanoid-half-marathon-training-a-grueling-challenge-200020/
1•ggraphilia•21m ago•0 comments

Sequencing DNA at Home Locally on a DGX Spark and Mac Studio

https://twitter.com/sethshowes/status/2045289299269070978
1•jonbraun•22m ago•0 comments

US-sanctioned currency exchange says $15M heist done by "unfriendly stat

https://arstechnica.com/security/2026/04/russia-friendly-exchange-says-western-special-service-be...
1•joozio•24m ago•1 comments

Salesforce Headless 360. No Browser Required

https://www.salesforce.com/news/stories/salesforce-headless-360-announcement/?bc=HL
1•lifesaverluke•25m ago•0 comments

Does Your Poop Float?

https://buildojas.substack.com/p/does-your-poop-float
1•rohan_shah•26m ago•0 comments

Why don't VCs help founders prepare for failed fundraising?

https://www.23mile.com/insights/what-happens-when-founders-cant-raise-but-dont-want-to-lose-it-all
1•kayovin1•27m ago•2 comments

Deleteduser.com –A $15 PII Magnet

https://mike-sheward.medium.com/deleteduser-com-a-15-pii-magnet-c4396eb21061
3•croes•28m ago•1 comments

Show HN: PrivaKit – A zero-upload AI workspace in the browser via WebGPU

1•felixne•37m ago•0 comments

Most People Pick the Wrong Cleaning Gloves

https://www.gogonano.com/latex-pvc-or-nitrile-cleaning-gloves/?lang=en
1•kakur007•37m ago•1 comments

Category Theory Illustrated – Orders

https://abuseofnotation.github.io/category-theory-illustrated/04_order/
7•boris_m•45m ago•0 comments

Meta prepares to lay off a tenth of its workforce

https://www.thetimes.com/us/business-us/article/meta-prepares-to-lay-off-a-tenth-of-its-workforce...
1•petethomas•46m ago•0 comments

Three meningitis B cases confirmed in Dorset schools outbreak

https://www.thetimes.com/uk/healthcare/article/meningitis-outbreak-dorset-p8gsjrvx7
2•petethomas•48m ago•0 comments

Why is IPv6 so complicated?

https://github.com/becarpenter/misc/blob/main/why6why.md
20•signa11•53m ago•2 comments

Display-switch: Turn a $30 USB switch into a full-featured KVM

https://github.com/haimgel/display-switch
1•croes•53m ago•0 comments

What if database branching was easy?

https://xata.io/blog/what-if-database-branching-was-easy
1•tee-es-gee•56m ago•0 comments

Interesting Map Geometry and Mathematics

https://www.markrjohnsongames.com/2026/04/11/ultima-ratio-regum-0-11-update-57-interesting-map-ge...
1•Hooke•1h ago•0 comments

Why Companies Are Quietly Rehiring Software Engineers

https://www.youtube.com/watch?v=OFmxKgaLN80
1•deterministic•1h ago•0 comments

Microsoft Increases the FAT32 Limit from 32GB to 2TB

https://blogs.windows.com/windows-insider/2026/04/10/announcing-windows-11-insider-preview-build-...
1•jnord•1h ago•0 comments

Understanding Flock's Testing and Development Program

https://www.flocksafety.com/blog/understanding-flocks-testing-and-development-program
1•lurkshark•1h ago•0 comments

Amiga Graphics

https://amiga.lychesis.net/
3•sph•1h ago•0 comments