Shadcn/UI now defaults to Base UI instead of Radix

(ui.shadcn.com)

58 points | by dabinat 1 hour ago

7 comments

  • chvid 16 minutes ago
    For boring applications - do people prefer the copy paste approach of shadcn instead of a traditional ui library like mantine?

    The copy paste approach may be easily modifiable but creates new problems - ie now there is an upgrade ai agent for something that should just be ticking up a version number.

    • Exoristos 0 minutes ago
      [delayed]
    • IceDane 7 minutes ago
      Martine just straight up sucks.

      Vendoring your components gives you the best of both worlds. You get a full component library but retain the ability to modify them as you want.

      Your AI agent claim doesn't make any sense either. When upgrading normally your component just gets rewritten on disk. When switching from radix to base ui, a more comprehensive approach is needed.

  • dyllon 41 minutes ago
    Moving away from codemods and towards LLMs doing migration work is an interesting development.

    Even if they’re more deterministic, I wonder if the days of codemods are numbered.

    • yard2010 4 minutes ago
      How about leveraging llms to produce deterministic codemods? You can then iterate on this by running the codemods and using other deterministic guardrails, feeding the results back into the llm to improve the codemods?
    • kristiandupont 33 minutes ago
      I think the two complement each other perfectly and will continue to do so. I keep writing AGENTS.md files for soft rules and custom linter rules for hard ones which IMO is the best of both worlds.
  • Topfi 47 minutes ago
    That's great. Started using Base UI early on via 9ui [0] and found the primitives very pleasant to work with, especially if one wants to compose more complex components from other Base UI components. Maybe Shad can reduce some of the dependencies they rely on now.

    [0] https://www.9ui.dev

  • gherkinnn 21 minutes ago
    I have used and mostly like Shadcn, and yet their Radix-based radio button was a bit much, as are other choices, where similarly overblown solutions were used.

    https://news.ycombinator.com/item?id=46688971

  • skeptrune 8 minutes ago
    based
  • mr-karan 32 minutes ago
    [flagged]