Top-up operation allows SPring-8 to provide highly stable X-ray beams with arbitrary filling patterns. The implementation of top-up operation is described, with a focus on the simultaneous achievement of stability of stored current, beam orbit, purity of an isolated single bunch, and beam injection efficiency. Stored-current fluctuations have been routinely reduced to a level of 10(-3). Stored-beam oscillation on frequent beam injection, which was originally regarded as the most serious problem, has been successfully suppressed to a sufficiently low level that it never perturbs imaging experiments. Current impurities in nominally empty buckets have been reduced to a level of 10(-9) over more than one week of operation, making possible the measurement of time-resolved spectra using high-current bunches. Finally, excellent injection efficiency, higher than 80%, is routinely obtained, even for small undulator gaps, which is critical for preventing radiation damage to insertion-device magnets and to reduce leakage radiation. The process of achieving highly stabilized top-up operation at SPring-8 and its utility for user experiments are described.