Widget with conditionals