Borrowing is how learning works
Painters study other painters, cooks adapt recipes, and programmers reuse patterns. Borrowing a technique, a structure or a spark of inspiration is a normal and healthy part of learning any craft.
The line to respect is simple: do not pass off someone else's finished work as your own. Borrow the idea, not the credit.
Change it, credit it, add to it
A kind way to borrow has three steps. Change the idea enough that it fits your voice and your purpose. Credit the source when you share the result. Then add one thing that is genuinely yours.
Most creators are glad to be an influence when they are named. A short line like 'inspired by' costs nothing and builds the kind of community you would like to belong to.

