input components: code style