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•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•12mo 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.

PRD-Driven Development

https://debarshibasak.github.io/readables/blogs/prd-driven-development.html
1•debarshri•23s ago•0 comments

s4 – Super Simple Storage Service

https://github.com/rh-aiservices-bu/s4
1•gudvardur•4m ago•0 comments

Blink – AI Assistant

https://blink-oi.vercel.app
1•Pascal1997•10m ago•0 comments

Colabro: AI Employee for Your Computer

https://colabroai.com
1•Jeba_jebarsan•15m ago•0 comments

Chewing gum releases microplastics into your saliva, UCLA research shows

https://newsroom.ucla.edu/releases/bursting-your-bubble-chewing-gum-releases-microplastics-into-y...
2•littlexsparkee•22m ago•0 comments

How do I make painful lyrics feel less generic?

https://suno.com/@zeroxdesignartzero
1•zeroxdesignart•23m ago•0 comments

Task Paralysis and AI

https://g5t.de/articles/20260510-task-paralysis-and-ai/index.html
1•MrGilbert•30m ago•0 comments

Local Models Are Not Frontier. They Are Enough

https://quodeq.ai/blog/local-models-not-frontier/
1•VictorPurMar•31m ago•0 comments

Show HN: I built a 500K LOC production app alone in 7 months. Here is the proof

2•bonjourjoel•35m ago•0 comments

Private Credit Isn't a Major Threat–Probably

https://www.wsj.com/finance/investing/private-credit-financial-system-6039b39e
1•petethomas•36m ago•0 comments

Philosophy of the Left-Hand Path

https://philosophy-of-the-left-hand-path.denys-spirin.workers.dev/
1•jruohonen•49m ago•0 comments

Miniature Armoured Train Fought Hitler's Luftwaffe [video]

https://www.youtube.com/watch?v=Td3oD3cCXZ4
1•burnt-resistor•53m ago•0 comments

Show HN: TokReach – US TikTok as a Service

https://www.tokreach.com
2•gregolo•55m ago•0 comments

tsz: TypeScript checker and LSP written in Rust, designed to outperform tsgo

https://github.com/mohsen1/tsz
1•maxloh•59m ago•0 comments

Programming as Theory Building-Peter Naur[pdf]

https://pages.cs.wisc.edu/~remzi/Naur.pdf
1•nalinidash•1h ago•0 comments

Epupp – Browser Extension to Tamper with Web Pages, Live and with Userscriptss

https://github.com/PEZ/epupp
3•TheWiggles•1h ago•0 comments

History and Science of the Hanta Virus

https://distressedscientists.substack.com/p/hantan-hondius
2•helsinkiandrew•1h ago•0 comments

Fusion's cost floor: what if the core were free?

https://1cfe.substack.com/p/fusions-cost-floor-what-if-the-core
2•helsinkiandrew•1h ago•0 comments

Multiple universities forced to reschedule final exams after Canvas incident

https://therecord.media/universities-forced-to-reschedule-exams-canvas-incident
2•jruohonen•1h ago•0 comments

Plants can 'hear' rain coming, spurring them into action

https://www.scientificamerican.com/article/plants-can-hear-rain-coming-spurring-them-into-action/
2•the-mitr•1h ago•0 comments

Tracing tokens through Llama 3.1 8B inference on H100s

https://krithik.xyz/what-is-inference-actually
2•krithik_7•1h ago•0 comments

Show HN: I audited my own back ends on 5 BaaS – leak in every one

https://github.com/Perufitlife/supabase-security-skill
2•renzom13•1h ago•1 comments

Notes on using GNU Emacs' Tramp system in an unusual shell environment

https://utcc.utoronto.ca/~cks/space/blog/programming/EmacsTrampNotes
2•susam•1h ago•0 comments

Best AI coding plan alternative to Claude and ChatGPT

4•Jsttan•1h ago•3 comments

Debian must ship reproducible packages

https://lists.debian.org/debian-devel-announce/2026/05/msg00001.html
37•robalni•1h ago•5 comments

Agent Harness Engineering

https://twitter.com/addyosmani/status/2053231239721885918
4•pretext•1h ago•0 comments

Late-interaction rerank made our F1 worse, not better – a negative result

https://sverklo.com/blog/late-interaction-rerank-made-our-f1-worse/
1•nike-17•1h ago•0 comments

A Field Study of Institutional Control in an AI-Staffed Prediction-Market Desk

https://github.com/wes-zheng/ai_institutions/blob/main/technical_report/paper.md
3•bbcf•1h ago•0 comments

When life gives you lemons, write better error messages

https://wix-ux.com/when-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f
4•dnw•1h ago•1 comments

Zeta2.1: 3x Fewer Tokens, 50ms Faster

https://zed.dev/blog/zeta2-1
2•ms7892•2h ago•0 comments