Have any of you discovered a really great way of organizing reusable components across the website? For example:
- Search results and the results of clicking a tag are still all search results, and I’d want to use the same mechanism for rendering the results
- We have a modal popup on the homepage that we want to reuse with the same functionality and formatting on other pages
- We want to create a “button library” so that we can invent buttons that have the same functionality and action, and reuse them inline with content that could be anywhere on the website
The purpose is “change-once-change-everywhere”, to manage less, and to gain consistency.
I’m looking here for an approach using a tool or mechanism, and also a naming convention that you used in your case and the reasons why