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•9mo 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•9mo 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•9mo 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•9mo ago
And … now it works. I didn't do anything different, but problem apparently solved.
hunvreus•9mo ago
Good to hear. I was trying to figure out what I did wrong. Maybe a CDN issue.

Thanks for checking it out.

pbowyer•9mo 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.

An Identity Crisis in Engineering

https://bgthread.github.io/an-identity-crisis-in-engineering/
1•treenode•45s ago•0 comments

How to replace Docker Hub with a simple self-hosted solution

https://thomasbandt.com/self-hosted-docker-registry-watchtower
1•asp_net•1m ago•0 comments

U.S. Federal Housing, Fannie Mae, Freddie Mac Terminate All Use of Anthropic

https://twitter.com/pulte/status/2028503809299779866
2•nickysielicki•1m ago•0 comments

Show HN: Dust – Device Unified Serving Toolkit (CUDA for Phones)

https://rogelioruiz.github.io/dust/
1•ruizprogelio•2m ago•1 comments

Resist 'dangerous' age checks for social media, scientists warn

https://www.politico.eu/article/age-check-social-media-scientist-warning/
2•robtherobber•3m ago•0 comments

AI-written code will be dead by 2036

https://lufzle.fika.bar/nobody-wrote-the-matrix-01KJNMM4B53CB0DYHXFMQ0FS1A
1•riffonio•4m ago•0 comments

WorkOS raises $100M Series C, hits $2B valuation

https://workos.com/blog/series-c
1•grinich•4m ago•0 comments

Show HN: Excellusion, a PoC about the future of apps

https://github.com/lufzle/excellusion
1•riffonio•4m ago•0 comments

OpenAnt: OSS Vulnerability Discovery (no one wants to compete with Anthropic)

https://www.knostic.ai/openant
1•ddiinn•5m ago•1 comments

Writing better docs won't guarantee agents choose your tool

https://www.productcurious.com/p/stop-writing-bettter-docs
1•u-work•6m ago•0 comments

When AI Labs Become Defense Contractors

https://philippdubach.com/posts/when-ai-labs-become-defense-contractors/
1•7777777phil•7m ago•0 comments

Three U.S. F-15s Involved in Friendly Fire Incident in Kuwait; Pilots Safe

https://www.centcom.mil/MEDIA/PRESS-RELEASES/Press-Release-View/Article/4418568/three-us-f-15s-in...
1•starkparker•8m ago•0 comments

Lensboy for Camera Calibration

https://github.com/Robertleoj/lensboy
1•robertleoj•9m ago•0 comments

Who is done with code reviews?

2•javier_e06•10m ago•1 comments

TrustPlane – open-source AI trust control plane

https://github.com/base76-research-lab/TrustPlane
1•base76•12m ago•1 comments

Quantum Situational Awareness

https://www.superpositioned.co
1•snlsrn•13m ago•0 comments

Slop vs. Craft

https://www.youtube.com/watch?v=YzHyRZMBs04
1•euthymiclabs•13m ago•0 comments

Why machine identities now drive trust in banking

https://www.cyberark.com/resources/blog/the-new-ai-access-problem-why-machine-identities-now-driv...
2•alokDT•16m ago•0 comments

Engineering multi-material 4D printed actuators triggered by degradation

https://www.sciencedirect.com/science/article/pii/S2214860425004397
2•PaulHoule•16m ago•0 comments

Information Gathering Prompt Prompt

https://prompts.chat/prompts/cmm55hzfp0001l504s6rrl4hb_information-gathering-prompt
2•bucbowie•19m ago•0 comments

The Reason Teams Break as AI Multiplies Leverage

https://www.bolshchikov.com/p/the-real-reason-teams-break
2•bolshchikov•19m ago•1 comments

I shipped 4 React libraries in a weekend

https://www.hackyexperiments.com/blog/shipping-react-libraries
2•bilater•19m ago•0 comments

Inflating robot developed in Washington aims to pick apples as gently as humans

https://www.opb.org/article/2026/02/26/robot-washington-state-university-apples-farmworker-shortage/
2•TigerUniversity•20m ago•0 comments

Oh great, here comes 6G

https://www.theverge.com/tech/886558/6g-satellite-ai-isac
3•cwwc•20m ago•0 comments

How many steps in a "chain of victories" separate you from your favorite player?

https://mastodon.online/@lichess/116160234963901272
2•baruchel•21m ago•0 comments

Advice for Job Seekers

https://zeldman.com/2026/03/02/advice-for-job-seekers/
2•speckx•21m ago•0 comments

Meta's Renewed Commitment to Jemalloc

https://engineering.fb.com/2026/03/02/data-infrastructure/investing-in-infrastructure-metas-renew...
3•ps0ps•22m ago•0 comments

China's Parents Are Outsourcing the Homework Grind to A.I.

https://www.nytimes.com/2026/03/02/world/asia/china-education-ai.html
2•bookofjoe•22m ago•1 comments

Aliro 1.0 Standardizes Digital Door Keys (Phone Scoop)

https://www.phonescoop.com/articles/article.php?a=23683
2•mikece•24m ago•0 comments

David Shapiro - We Just Took the Dark Timeline [video]

https://www.youtube.com/watch?v=BHqN7kFfNgE
2•mindcrime•24m ago•0 comments