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

Claude Code Ultracode

https://note.com/tolove/n/n08cf64926fd4?hl=en-US
1•hmokiguess•5m ago•0 comments

Beyond Tokenmaxxing

https://dhrumil.ca/thoughts/beyond-tokenmaxxing
1•dhrumilcse•7m ago•0 comments

OllamaMQ New Version v0.2.7

https://github.com/Chleba/ollamaMQ
2•chleba•7m ago•0 comments

Ad Infini­Tum

https://matthiasott.com/notes/ad-infinitum
2•yurivish•8m ago•0 comments

Stand and Deliver Revisited

https://reason.com/2002/07/01/stand-and-deliver-revisited-2/
1•pcfwik•9m ago•0 comments

Iran: The Internet Is Back, but Something Has Changed

https://emot.substack.com/p/when-the-internet-disappears
1•emot•9m ago•0 comments

Scaling Trust – Can We Create Programmable Trust?

https://cahootzcoops.com/blog/scaling-trust-can-we-coordinate-economics-beyond-a-boss-and-create-...
1•DeonRob•13m ago•0 comments

Illinois budget – new tax on targeted advertising, social media data collection [pdf]

https://www.ilga.gov/documents/legislation/104/SB/PDF/10400SB3019ham001.pdf
1•stockresearcher•16m ago•1 comments

What Kind of Clock Is an LLM?

https://isthisanart.substack.com/p/what-kind-of-clock-is-an-llm
1•HR01•16m ago•0 comments

Ben Affleck: AI company he sold to Netflix for $600M leads to 'more human work'

https://finance.yahoo.com/sectors/technology/articles/ben-affleck-says-ai-company-103500057.html
2•indigodaddy•26m ago•0 comments

San Francisco Popos (Privately Owned Public Open Spaces) Sorted by Distance

https://tools.encona.com/sfpopos
3•rahimnathwani•29m ago•1 comments

Claude Code OS: self-updating operational memory for Claude Code (open source)

https://github.com/bernardohcrocha/claude-code-os/
2•bernardohcr•36m ago•0 comments

RedFlag – self-hosted update management with a supply chain gate

https://github.com/Fimeg/RedFlag
1•Fimeg•38m ago•0 comments

Team Topologies as the Infrastructure for Agency

https://matthewskelton.com/blog/team-topologies-as-the-infrastructure-for-agency
1•wapasta•40m ago•0 comments

Karpathy LLM Wiki pattern integrated into Obsidian agenic workflow

https://github.com/pssah4/vault-operator
3•pssah4•41m ago•0 comments

Science sleuths uncover more than 100 suspicious images Thermo Fisher antibody

https://www.nature.com/articles/d41586-026-01706-2
3•Bender•44m ago•0 comments

Google wants to release up to 32M good mosquitoes California and Florida

https://ktla.com/news/google-wants-to-release-up-to-32-million-good-mosquitoes-in-california-and-...
3•Bender•46m ago•0 comments

William Chester Minor

https://en.wikipedia.org/wiki/William_Chester_Minor
1•petethomas•51m ago•0 comments

Gen Z are 'zebra striping' to avoid hangovers, scientists say it works

https://www.dailymail.com/sciencetech/article-15854983/Gen-Z-zebra-striping-avoid-hangovers-scien...
3•Bender•53m ago•2 comments

The Anarchist's Workbench [pdf]

https://blog.lostartpress.com/wp-content/uploads/2020/07/AWB_Consumer_June-2020_v5.1-1.pdf
2•wesleyd•56m ago•0 comments

Memo from the Interstellar Information Service – Re: Earth's Latest Space "Plan"

https://samhenrycliff.medium.com/memo-from-the-interstellar-information-service-re-earths-latest-...
1•6stringmerc•1h ago•0 comments

OpenJDK: Removal of the JVM Compiler Interface (JVMCI), in JDK 27

https://bugs.openjdk.org/browse/JDK-8382582
2•alasr•1h ago•0 comments

Harvard Graduation Speaker: "The Mission of Your Generation Is to Destroy AI"

https://www.yahoo.com/entertainment/tv/articles/harvard-graduation-speaker-unloads-ai-130000122.h...
4•poly2it•1h ago•3 comments

How Servers Work: A Hands-On Introduction to TCP Sockets

https://labs.iximiuz.com/tutorials/how-servers-work-tcp-sockets
1•birdculture•1h ago•0 comments

New AI Agent Architecture to fix LLM deviations and token costs

https://github.com/botcircuits-ai/botcircuits-agent
1•nexcatara•1h ago•0 comments

Taiwan's DRAM Failure [video]

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

Clint Eastwood Turns 96 as Son Kyle Says the Legendary Director Has "Retired"

https://www.worldofreel.com/blog/2026/5/31/happy-birthday-clint-eastwood
3•Michelangelo11•1h ago•0 comments

When FP? And when OOP? (2013)

https://raganwald.com/2013/04/08/functional-vs-OOP.html
1•downbad_•1h ago•0 comments

Read These Books by the Time You Graduate

https://www.theatlantic.com/books/2026/05/seven-books-graduate-young-adult-recommendations/687321/
1•paulpauper•1h ago•0 comments

The Kiwi Farms was targeted with a historic DDoS attack of up to 8Tbps last week

https://twitter.com/KiwiFarmsDotNet/status/2061199487855481199
4•gilfish•1h ago•2 comments