The patterns for clean components apply similarly to a component library or design system. However, more thought needs to go into the API to make it easier to use, which may affect how components are structured.