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.

He Lost It at the Movies

https://www.theideasletter.org/essay/he-lost-it-at-the-movies/
1•tintinnabula•59s ago•0 comments

Microsoft's LinkedIn Is Cutting Jobs in Latest Industry Cull

https://www.bloomberg.com/news/articles/2026-05-13/microsoft-s-linkedin-is-cutting-jobs-in-latest...
1•1vuio0pswjnm7•1m ago•0 comments

Quote Origin: In Physics, Almost Everything Is Discovered

https://quoteinvestigator.com/2026/05/20/physics-holes/
1•Tomte•1m ago•0 comments

Files.md

https://app.files.md/
1•memalign•2m ago•0 comments

UK radio station apologises for accidentally announcing death of King Charles

https://www.theguardian.com/tv-and-radio/2026/may/20/uk-radio-station-apologises-for-accidentally...
1•Tomte•3m ago•0 comments

Meloni's push to revive nuclear power runs into Italy's old ghosts

https://www.politico.eu/article/giorgia-meloni-nuclear-power-italy/
1•leonidasrup•6m ago•0 comments

Forward Deployed Engineering 101

https://twitter.com/vasuman/status/2057177266984226892
1•taubek•9m ago•0 comments

Meta Lays Off 8k Employees, as A.I. Casualties Mount

https://www.nytimes.com/2026/05/19/technology/meta-layoffs-ai.html
2•saikatsg•9m ago•1 comments

No JavaScript. No npms. Make realtime web apps in modern Java

https://github.com/vadimv/server-components
1•v4d1mv•10m ago•0 comments

Ad Infinitum

https://matthiasott.com/notes/ad-infinitum
1•robin_reala•11m ago•0 comments

Google Health 5.0 rolling out with new stats widget on Android

https://9to5google.com/2026/05/20/google-health-5-0-widget/
1•theanonymousone•12m ago•0 comments

Harvard faculty votes to make it more difficult for undergrads to earn A's

https://www.cnn.com/2026/05/20/us/harvard-undergrad-grades-faculty-vote
1•Tomte•13m ago•0 comments

Cows can recognize familiar human faces and match them to voices

https://phys.org/news/2026-05-cows-familiar-human-voices.html
1•giuliomagnifico•15m ago•0 comments

Walter Benjamin's Would-Be Rescuers

https://www.lrb.co.uk/blog/2026/may/walter-benjamin-s-would-be-rescuers
1•mitchbob•15m ago•0 comments

Iran is consolidating control of Hormuz with checkpoints, deals, and 'fees'

https://www.reuters.com/investigations/iran-is-consolidating-control-hormuz-with-island-checkpoin...
1•petethomas•16m ago•0 comments

Obsidian plugins are (mostly) dangerous

https://zeroquarry.com/research/excalidraw-vulnerabilities/
3•eskibars•17m ago•1 comments

Standard Charter CEO Replaces 8000 "Lower Value Humans" with AI

https://www.channelnewsasia.com/business/standard-chartered-reduce-7000-roles-2030-6129761
3•gmerc•25m ago•1 comments

The Case for Compilers: A Look at SPEC CPU 2026 on LLVM 22

https://www.servethehome.com/the-case-for-compilers-a-look-at-spec-cpu-2026-on-llvm-22/
2•csmantle•28m ago•0 comments

Tokenspeed – How fast is 10 tokens per second really?

https://mikeveerman.github.io/tokenspeed/?rate=30&mode=code
2•javatuts•28m ago•1 comments

Rule of Thirds

https://en.wikipedia.org/wiki/Rule_of_thirds
1•nomilk•31m ago•0 comments

NPM invalidates use of fine-grained tokens that bypass 2FA

https://docs.npmjs.com/trusted-publishers/
1•meander_water•37m ago•0 comments

How to Kill a Blog

https://robertbirming.com/how-kill-blog/
2•James72689•42m ago•0 comments

Your Read Model Doesn't Always Need a Database

https://docs.eventsourcingdb.io/blog/2026/05/21/your-read-model-doesnt-always-need-a-database/
1•goloroden•46m ago•0 comments

Show HN: ISSforAPUSH is conducting an "aggregated interview"

https://issforapush.netlify.app
1•audreyfei•53m ago•0 comments

Show HN: QuiteGPT – makes GPT response shorter

https://quiet-gpt.craftgarden.io/
1•leapoahead1•54m ago•0 comments

I made an AI Interior consultant

https://studio.mystofa.com/en-US
2•assorium•56m ago•0 comments

Bitcoin's Power Law: Weak Structure, Strong Forecasts

https://arxiv.org/abs/2605.21316
2•CarlosBaquero•56m ago•0 comments

Consciousness, Gödel, and the Boundary of the Box

https://twitter.com/VFD_org/status/2057053649315013042
2•__patchbit__•58m ago•0 comments

YAML? That's Norway Problem

https://lab174.com/blog/202601-yaml-norway/
2•theanonymousone•1h ago•1 comments

New on Platform

2•rockstaradi•1h ago•0 comments