For some reason I thought components where always javascript, that was my mistake.
I'll close this now.