Courses

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:

  1. Not all styles have to be a prop
  2. Sometimes it’s better to show how to combine components within your docs, than to make a single component responsible for too much
  3. It’s possible to make a component that is optionally tightly coupled to a parent component

Links