Add tree component sample.