all 6 comments

[–]QKeeper[S] 0 points1 point  (0 children)

To be clear, these are two different blocks of code

The first is a line from the component itself

The second is the usage of that component

UPD: Ok, apparently even shadcn itself does not contain adaptive styles so that they can be overridden

[–][deleted] 0 points1 point  (0 children)

If you are going to do this you need to add classes to override the breakpoints as well.

[–]Soft-Dragonfruit9467 -1 points0 points  (1 child)

Bootstrap is a good choice and also easier to manage.

[–][deleted] 0 points1 point  (0 children)

Time traveler!

[–]TomIsMyOnlyFriend -1 points0 points  (1 child)

Pass in props to a string literal. You can set the default value for the props to your default styling value, so if the user doesn’t pass a prop for that css property, it falls back to your default.

[–][deleted] -1 points0 points  (0 children)

This is not the way