The mineral halite is formed when it crystallizes upon the evaporation of a solution that is supersaturated in the elements necessary for its formation, sodium and chlorine.
Yes, it can be dumped out of your salt shaker. If you want to grow crystals, simply make a supersaturated solution of salt and hot water, and let it cool.