Add sample for menu resource