Crafting a Custom Component Library with Vue and Daisy UI - Strategic Component Design - Lessons from an Avatar Component
In this lesson, take a look at the internals of a custom Vue Avatar component and learn lessons like:
- Not all styles have to be a prop
- Sometimes it’s better to show how to combine components within your docs, than to make a single component responsible for too much
- It’s possible to make a component that is optionally tightly coupled to a parent component
Links