I'm trying to say this sentence to my friend but don't know if it's right. Please help me correct it.

Both of them are attracted by each other's inside and outside.


If you're talking about a man and woman, then you might say, for example:

From the start, they were attracted to each other both physically (outside) and emotionally (inside).