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.

European Salary Calculator – net pay after tax for PT/ES/UK/DE/NL (2026)

https://www.eunetsalarycalculator.com/
1•coubes•1m ago•0 comments

QuestDB 9.4.0

https://questdb.com/blog/questdb-9-4-0-release/
1•tosh•1m ago•0 comments

Toxiflow – an execution layer that measures fill toxicity

https://github.com/SO2304/toxiflow
1•so2304•1m ago•0 comments

Show HN: Aisbf, a self-hostable OpenAI-compatible AI proxy/router

https://aisbf.cloud/
1•nextime•1m ago•0 comments

The third wave of American philanthropy

https://nanransohoff.substack.com/p/the-third-wave-of-american-philanthropy
1•gmays•1m ago•0 comments

LLM-mock – Record real LLM API responses once, replay them in tests forever

https://pypi.org/project/llm-mock/
1•roman_t•2m ago•0 comments

Playwright CI: What Senior Engineers Do Differently

https://bdr-methodology.dev/blog/what_senior_engineers_do_differently_pro/
1•dmitryaqa•2m ago•0 comments

Gemini randomly dumped its system prompt

https://gist.github.com/mkaramuk/44a44d83178e632ec0dd1f02186d822c
1•mkaramuk•3m ago•0 comments

How These Doctors Keep Brains Going After Death

https://www.youtube.com/watch?v=IzUuvlCjHC4
1•_tk_•5m ago•0 comments

The Effects of School Phone Bans: National Evidence from Lockable Pouches

https://siepr.stanford.edu/publications/working-paper/effects-school-phone-bans-national-evidence...
1•mooreds•6m ago•0 comments

Anthropic's New Consulting Venture Makes Its First Acquisition

https://www.bloomberg.com/news/articles/2026-05-21/anthropic-s-new-consulting-venture-makes-its-f...
4•atomon•7m ago•0 comments

A text adventure game about the joys of submitting updates to the App Store

https://approval.quest/
1•zgoldie•8m ago•0 comments

A Bipartisan Amendment Would End Police License Plate Tracking Nationwide

https://www.wired.com/story/a-bipartisan-amendment-would-end-police-license-plate-tracking-nation...
1•cdrnsf•9m ago•0 comments

AISA

https://aisa.to
2•Ozanagdeviren•9m ago•0 comments

Show HN: I Dedicated 4 Years to Mastering Offline Password Cracking

1•bojta-lepenye•10m ago•0 comments

Air France and Airbus guilty of corporate manslaughter for 2009 plane crash

https://www.theguardian.com/world/2026/may/21/air-france-airbus-guilty-corporate-manslaughter-200...
1•victortalkstech•11m ago•0 comments

Who Wins and Who Loses in Prediction Markets? Evidence from Polymarket

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6443103
2•vcf•12m ago•1 comments

The Rise of Build-to-Rent Housing

https://www.construction-physics.com/p/the-rise-of-build-to-rent-housing
1•crescit_eundo•12m ago•0 comments

Can AI solve this Bongard problem?

https://imgur.com/a/idyH0Kh
1•Kotlopou•13m ago•1 comments

AI that interviews participants instead of holding another meeting

https://www.noada.app/
1•elliot952•13m ago•1 comments

Japanese snack packages turning black-and-white

https://www.npr.org/2026/05/13/nx-s1-5820671/japanese-snack-packages-black-and-white
2•speckx•13m ago•0 comments

Microsoft Build CLI

https://github.com/microsoft/Build-CLI
1•wirelesslife•15m ago•0 comments

Building a Retro Linux Gaming Computer (2021)

https://icculus.org/~hamish/retro/index.html
1•ensocode•16m ago•0 comments

The Shadcn-Ification of the Internet

https://scribe.rawbit.ninja/@disco_lu/the-shadcn-ification-of-the-internet-d3788c055c63
1•speckx•16m ago•0 comments

Quantum stocks soar as U.S. plans $2B award, taking equity stakes

https://www.cnbc.com/2026/05/21/quantum-stocks--us-taking-equity-stakes.html
1•atlasunshrugged•16m ago•1 comments

Colossal Biosciences is growing chickens in a 3D-printed artificial eggshell

https://www.technologyreview.com/2026/05/19/1137471/colossal-biosciences-is-growing-chickens-in-a...
1•gmays•16m ago•0 comments

Show HN: I Made a Claude Skill for SDD

1•NTRIXLM•18m ago•0 comments

Kubernetes in Anger

https://samof76.space/kubernetes-in-anger.html
1•gertburger•20m ago•0 comments

Ask HN: Does anyone believe role-play AI is effective for training?

1•socratizeio•20m ago•0 comments

Building a Real-Time Chord Recognizer

https://whatchord.earthmanmuons.com/articles/under-the-hood
1•elasticdog•21m ago•0 comments