Basic rules

UI components would like to assume ownership of:

  • The data-ts HTML attribute
  • All HTML attributes that start with data-ts. (dot)
  • All HTML attributes that start with data-ts- (dash)
  • All CSS classnames that start with ts- (dash)
  • The global namespace object ts.ui

Rule number one is to not use ts- prefixed CSS classnames in your app. UX designers can continue reading the Design Principles while developers may skip directly to the UI Components section. If you are new to Tradeshift, you should probably read both.