Panel component code.