We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Building a Web UI Style Guide Using Phoenix Components
146
clicks
Source: readyforproduction.dev
Marcelo discusses the recent release of a new landing page for their site and how it was the perfect time to think about improving the frontend by fostering reusability and better code organization using Phoenix Components and the Atomic Design methodology. He goes into how a ubiquitous language as described in Domain-Driven Design by Eric Evans, along with a structured frontend style guide, can streamline communication between developers, domain experts, and other team members, thereby leading to better software. By defining Design Tokens using CSS Custom Properties, the team laid the foundation for the visual attributes of their UI components. Throughout the article, Marcelo demonstrates how Phoenix Components are integrated into the website with practical examples, displaying how slots enhance component reusability. Lastly, he shares how the team organized their code into sub-contexts to manage atoms, molecules, and organisms efficiently, touching briefly on the plans to document and test all components thoroughly.
Related posts
© HashMerge 2024