...

/

Polymorphic Components in Material UI

Polymorphic Components in Material UI

Explore the nature of a polymorphic component in the open-source Material UI library.

Introduction

Material UI has been a staple of component libraries for years now. It’s a robust component library with a mature user base.

Similar to Chakra UI, Material UI allows for a polymorphic prop called component—though it doesn’t matter what we choose to call our ...