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.

Surf's Up

https://visakanv.substack.com/p/surfs-up
1•herbertl•53s ago•0 comments

Clawdcursor vs. Computer Use

https://clawdcursor.com
1•AmrDabb•2m ago•0 comments

Hundreds of AUR packages compromised

https://lwn.net/Articles/1077718/
1•prakashqwerty•2m ago•0 comments

Websites for Government Contractors

https://www.nasa.gov/organizations/osbp/websites-for-government-contractors/
1•ilreb•3m ago•0 comments

Pyinfra – agentless infrastructure automation, in plain Python

https://pyinfra.com
1•gregnavis•3m ago•0 comments

Deconstructing Datalog

https://www.rntz.net/post/my-thesis.html
1•rbanffy•3m ago•0 comments

E.W.Dijkstra Archive: The notational conventions I adopted, and why (EWD 1300)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD13xx/EWD1300.html
1•tosh•4m ago•0 comments

Show HN: Jk – Pipeline-Native Jenkins CLI

https://github.com/addozhang/jk
1•addozhang•4m ago•0 comments

Drinks breaks are the World Cup's biggest scandal

https://inews.co.uk/sport/football/world-cup-drinks-breaks-scandal-4476132
2•jjgreen•5m ago•1 comments

SpaceX and the Sentient Sun

https://www.a16z.news/p/spacex-and-the-sentient-sun
1•7777777phil•5m ago•0 comments

Show HN: LingoBattle, PVP Language Learning

https://lingobattle.com
1•rahilb•6m ago•0 comments

Removing my Nix flakes vs. guix post

https://coopi.neocities.org/posts/taking-down-nix-flakes-vs-guix
1•birdculture•8m ago•0 comments

SemiAnalysis teardown reveals SMIC's N+3 process matches TSMC's N6 density

https://www.kucoin.com/news/flash/semianalysis-teardown-reveals-smic-n-3-process-matches-tsmc-n6-...
1•_____k•9m ago•0 comments

Perfect universal protections against LLM jailbreaks are impossible [pdf]

https://github.com/brandoncarl/llm-jailbreaking/blob/main/On%20the%20Impossibility%20of%20Perfect...
1•brandoncarl•9m ago•1 comments

Building Time-Series Machine Learning Models with Sktime in Python

https://www.kdnuggets.com/building-time-series-machine-learning-models-with-sktime-in-python
1•eigenBasis•10m ago•0 comments

About KSUT

https://www.ksut.org/about-ksut
2•mooreds•10m ago•0 comments

Stolen fries are spicier than justice: How covert larceny enhances taste

https://www.sciencedirect.com/science/article/abs/pii/S0950329326001126
1•tom2026hn•11m ago•0 comments

Bitlocker Bypass by Nightmare Eclipse

https://git.churchofmalware.org/Nightmare_Eclipse/GreatXML
1•_tk_•11m ago•0 comments

Intent-Driven Delivery

https://blog.tacoda.dev/intent-driven-delivery-3c20e402c1bd
1•tacoda•12m ago•0 comments

Meta Tested Pentagon Contractor's Face Recognition Tech

https://www.techbuzz.ai/articles/meta-secretly-tested-pentagon-contractor-s-face-recognition-tech
1•_____k•13m ago•0 comments

Ask HN: Is Pinboard.in Down/Dead?

2•dotcoma•14m ago•1 comments

Analogy as the Core of Cognition [video]

https://www.youtube.com/watch?v=n8m7lFQ3njk
1•tosh•15m ago•0 comments

Pizza Hut franchisee revives classic dine-in decor decades later

https://www.usatoday.com/story/money/food/2026/05/22/pizza-hut-brings-back-nostalgic-90s-restaura...
1•mooreds•15m ago•0 comments

Extreme temperatures affect medium-term inflation (2021) [pdf]

https://www.ecb.europa.eu/pub/pdf/scpwps/ecb.wp2626~e86e2be2b4.en.pdf
1•simonpure•15m ago•0 comments

Show HN: ThreadPage – Discord Alternative, but Forums

https://threadpage.com
1•jklmnopqrstuvw•16m ago•0 comments

The catalogue of prompt injection attacks

https://archestra.ai/blog/10-basic-prompt-injections
6•ildari•17m ago•2 comments

Leverage Points: Places to Intervene in a System

https://donellameadows.org/archives/leverage-points-places-to-intervene-in-a-system/
1•tosh•18m ago•0 comments

People around the world see a winner on AI – and it's not the US

https://www.politico.com/news/2026/06/15/people-around-the-world-see-a-winner-on-ai-and-its-not-t...
1•JumpCrisscross•19m ago•0 comments

Russia appears set to address long-term, serious space station cracks

https://arstechnica.com/space/2026/06/russia-appears-set-to-finally-address-long-term-serious-spa...
1•robin_reala•19m ago•1 comments

Electron microscopy delivers sharper images of our body's tiniest proteins

https://news.berkeley.edu/2026/06/11/a-breakthrough-in-electron-microscopy-delivers-sharper-image...
1•gmays•21m ago•0 comments