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.

Who Taught Us What We Know?

https://medium.com/freedomofthought/who-taught-us-what-we-know-54c70ea4ce74
1•raynchad•5m ago•0 comments

The Common Good: A Catholic Philosophical Perspective

https://medium.com/freedomofthought/the-common-good-a-catholic-philosophical-perspective-5f5aa907...
1•raynchad•6m ago•0 comments

America in the Grip of a Foreign Power: Israel and the U.S.

https://medium.com/freedomofthought/america-in-the-grip-of-a-foreign-power-israel-and-the-u-s-43d...
2•raynchad•7m ago•1 comments

Show HN: Dep-radius, know which dependency updates touch your code

https://www.npmjs.com/package/dep-radius
1•imadjourney•7m ago•0 comments

The Surprising Self-Awareness of Fish Revealed in Mirror Study

https://scitechdaily.com/the-surprising-self-awareness-of-fish-revealed-in-mirror-study/
1•amelius•7m ago•1 comments

Boston Scientific: Update on recent cybersecurity incident

https://news.bostonscientific.com/update-on-recent-cybersecurity-incident
1•teleforce•16m ago•0 comments

Nobody pays for open source. We can force them to

https://seldo.com/posts/nobody-pays-for-open-source-we-can-force-them-to/
2•aray07•16m ago•0 comments

The Three AI Pills

https://thezvi.wordpress.com/2026/08/05/the-three-ai-pills/
2•maxutility•17m ago•0 comments

WEF – Welcome to 2030. I own nothing, have no privacy

https://web.archive.org/web/20201101032159/https://www.weforum.org/agenda/2016/11/shopping-i-can-...
3•plurby•18m ago•0 comments

WSL Manager 2 – GUI for WSL distros, now also native VMs on macOS

https://github.com/bostrot/wsl2-distro-manager/releases/tag/v2.0.0
2•bostrot•21m ago•0 comments

Show HN: Switcheroo – manage logins for 10 CLIs like Vercel, Codex etc.

1•ftchd•23m ago•1 comments

The End of Friday Nights with Friends

https://journals.sagepub.com/doi/full/10.1177/23780231261478215
1•marojejian•23m ago•1 comments

Should I Do This?

1•Ahhhhhh2664645•23m ago•0 comments

How I Rickrolled a Hospital

https://chaozz.nl/articles/how-i-rickrolled-a-hospital/
2•chaozznl•25m ago•0 comments

Switching Password Managers in 2026

https://rmondello.com/2026/09/07/switching-password-managers-2026/
1•cdrnsf•25m ago•0 comments

Trump downplays warnings of AI risks as he cites rivalry with China

https://www.bbc.co.uk/news/articles/c7v48vp31mdo
2•chrisjj•25m ago•0 comments

Gptel: Emacs Y La IA

https://notxor.nueva-actitud.org/2026/09/13/gptel-emacs-y-la-ia.html
1•dalvrosa•26m ago•0 comments

The Contagion of Fear

https://bcantrill.dtrace.org/2026/09/13/the-contagion-of-fear/
6•elffjs•27m ago•2 comments

Ask HN: Multi-agent workflows in production; Where people using 1000s of agents?

1•ramstar3000•27m ago•0 comments

Former EPA Officials: Trump Is Letting Data Centers Make People Sick

https://www.motherjones.com/politics/2026/09/trump-epa-data-centers-epn-report-health-hazards/
1•cdrnsf•30m ago•0 comments

Donald Trump rejects calls from tech bosses for AI slowdown

https://www.ft.com/content/cae60732-f929-4735-a627-db8c14e7c7ed
6•higginsniggins•32m ago•0 comments

Physicists can't agree on how the Universe works

https://www.sciencedaily.com/releases/2026/09/260912220041.htm
3•gradus_ad•37m ago•0 comments

Meta$^N$: Recursive Self-Improvement Through Emergent Depth

https://arxiv.org/abs/2608.24735
3•Anon84•41m ago•0 comments

Navier-Stokes Visualized as 1kB i386 demos

https://juandecos.github.io/TurboZip/vortex.html
2•chaostaco•42m ago•1 comments

Looking for Some Beta Testers

https://nevarroapp.com/
1•Linden207•47m ago•0 comments

DeepSeek Peak Hours

https://deepseek-peak-hours.sivaram.dev/
3•denysvitali•47m ago•0 comments

AI extinction is only one way the future is frightening

https://www.rnz.co.nz/news/world/1362349/ai-extinction-is-only-one-way-the-future-is-frightening
5•billybuckwheat•50m ago•1 comments

Memos.page

https://memos.page/
2•montyanderson•50m ago•0 comments

Unified Plan to Align Priorities and Investments for Strategic Petroleum Reserve

https://files.gao.gov/reports/GAO-26-106918/index.html
2•Bluestein•51m ago•0 comments

Show HN: Swobu – Local LLM Switchboard You Can Share over HTTPS

https://github.com/swobuforge/swobu
1•metrofun•52m ago•1 comments