Why we don't export styled components

Pros

Simpler JSX structure

Better developer experience with Orbit

Cons

Consistency issues

Dependent on Orbit DOM structure

Would need to document API for all styled-components

New versions would require more work

Impossibility to lint all overrides and custom styles

Extended functionality requires running more JS code

You’d become a maintainer of the UI

  • Fewer support requests/fewer versions
  • Fewer reports that something doesn’t work (bug fixes, features requests)
  • Solving topics on design level and systematic approach

On balance