logoalt Hacker News

tipiiraiyesterday at 9:24 PM1 replyview on HN

What are traditional components? How are untraditional better?


Replies

benswerdyesterday at 9:27 PM

Think MUI, heroUI, traditional components have you install their package, import the component and configure it through arguments.

ShadCN components have you copy the component code into your codebase, you own it. They come with the ability to configure arguments, but also because the code is yours its expected that you change the internal logic/styling/structure of the component.

I believe in the era of AI code the ladder just makes more sense.

show 2 replies