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.

Microalgae bloom knocks out most of Israel's desalination plants

https://www.cnn.com/2026/09/04/climate/microalgae-bloom-israel-water-deasalination-shutdown
1•littlexsparkee•54s ago•0 comments

Show HN: Webmcp-react v1.0.0 (React hooks for agents to use WebMCP)

https://github.com/agentcathq/webmcp-react
1•naseemalnaji•1m ago•1 comments

Show HN: Kovavue – a rented Linux box where your AI agent works like a human

https://kovavue.kovanex.dev
1•naykip•1m ago•0 comments

Show HN: Selection Toolbar – the right actions beside any selected text

https://selection-toolbar.r44j.dev/
1•vadegharraj•1m ago•0 comments

The Biggest Obstacle to New Cancer Cures

https://www.nytimes.com/2026/09/04/opinion/clinical-trials-drugs-science.html
1•rafaelc•2m ago•0 comments

US Military disables ad trackers on troops' phones

https://www.theguardian.com/us-news/2026/sep/04/military-disables-phone-ad-trackers
1•tencentshill•2m ago•0 comments

Show HN: Check Tech

https://checktech.space/
1•splendidHaiku•2m ago•0 comments

Exclusive – Musk's Boring Co. Pushes Investors for Recruiting, Business Help

https://www.wsj.com/tech/musks-boring-co-pushes-investors-for-recruiting-business-help-6cff1c78
1•bilsbie•3m ago•0 comments

2 Spacecraft will soon reach Mercury after 8 years

https://www.space.com/astronomy/mercury/2-spacecraft-will-soon-reach-mercury-after-8-years-in-spa...
2•Anon84•3m ago•0 comments

Kai-Fu Lee on the Global AI Race [video]

https://www.youtube.com/watch?v=fVS1PY32pTc
1•simonpure•4m ago•0 comments

We Should Still Teach Kids to Code (2023)

https://blog.charliemeyer.co/we-should-still-teach-kids-to-code/
1•csmeyer•5m ago•0 comments

If you left your current industry, what would you do for a living?

https://textlog.cc/post/3074
2•stagas•5m ago•0 comments

Taiwan's six-year hunt for China's undercover chip labs

https://restofworld.org/2026/taiwan-china-chip-investigations/
1•herbertl•6m ago•0 comments

A New NASA Design Turbocharges Nuclear Spacecraft

https://spectrum.ieee.org/bimodal-nuclear-spacecraft
2•Bluestein•7m ago•0 comments

Show HN: A privacy-focused web-based HAR viewer

https://snifflab.dev
2•scottdallamura•8m ago•1 comments

Distinguishing human readers from bot traffic with server-side stats

https://tracydurnell.com/2026/09/03/distinguishing-human-readers-from-bot-traffic-with-server-sid...
1•eustoria•9m ago•0 comments

The Work of Forgetting

https://lawcha.org/2026/06/13/the-work-of-forgetting/
2•eustoria•11m ago•0 comments

Individual Consequences of a Global Crisis

https://eos.org/agu-news/individual-consequences-of-a-global-crisis
2•eustoria•11m ago•0 comments

Microsoft challenges data centre costs after pledging to protect ratepayers

https://www.ft.com/content/f86672dd-5ee5-46f6-8419-3c959814dd1c
2•1vuio0pswjnm7•12m ago•0 comments

Context, Semantics, and Ontology: A Primer for the Agentic Era

https://motherduck.com/blog/context-layer-vs-semantic-layer-ontology/
1•zazuke•13m ago•0 comments

My Experience with Navidrome

https://jeferson.me/blog/2026/09/04/lostfiy/
2•pizzaiolo•13m ago•0 comments

EU 'Return hubs' in Rwanda and Uganda 'cruel black holes' for human rights

https://www.amnesty.org/en/latest/news/2026/09/migrant-return-hubs-risk-becoming-human-rights-bla...
3•andsoitis•13m ago•0 comments

'People are going to get screwed' Pennsylvania voters unite against data centres

http://www.ft.com/content/8252d574-ae2a-4403-9cf9-031295ba67f5
5•1vuio0pswjnm7•13m ago•0 comments

Show HN: SiteTweak – a browser extension to modify any website

https://chromewebstore.google.com/detail/sitetweak-edit-any-site-w/jnhmhgddbeljneddgcpglgchbdheakbk
1•tikhpavel•14m ago•0 comments

Five EU member states are building a repatriation centre in Uganda

https://www.eunews.it/en/2026/08/12/five-eu-member-states-are-considering-building-a-repatriation...
1•andsoitis•14m ago•0 comments

Show HN: Cloud Bill Billionaire

https://loganbesecker.com/Apps/Cloud-Bill-Billionaire.html
1•YAReader•14m ago•0 comments

Canadians should prepare for a 5 C hotter future, report warns

https://www.cbc.ca/news/politics/climate-change-impact-canada-report-9.7331893
4•littlexsparkee•14m ago•0 comments

Score prompts and models with AI judges and deterministic evaluators

https://infere.com/
1•saturn5k•15m ago•0 comments

Why Inventing Color TV Was So Difficult

https://www.openculture.com/2026/09/why-inventing-color-tv-was-so-difficult.html
2•mdp2021•17m ago•0 comments

Lorenz and Little: How Much Does Your Tail Cost?

https://brooker.co.za/blog/2026/07/29/lorenz-and-little.html
1•halit_okumus•19m ago•0 comments