Structural schemes of applicative interests in Engineering Science frequently encounter the intricate phenomenon of discontinuity. The present study intends to address the discontinuity in the flexure of elastic nanobeam by adopting an abstract variational scheme. The mixture unified gradient theory of elasticity is invoked to realize the size-effects at the ultra-small scale. The consistent form of the interface conditions, stemming from the established stationary variational principle, is meticulously set forth. The boundary-value problem of equilibrium is properly closed and the analytical solution of the transverse displacement field of the elastic nanobeam is addressed. As an alternative approach, the eigenfunction expansion method is also utilized to scrutinize the efficacy of the presented variational formulation in tackling the flexure of elastic nanobeams with discontinuity. The flexural characteristic of mixture unified gradient beams with diverse kinematic constraints is numerically illustrated and thoroughly discussed. The anticipated nanoscopic features of the characteristic length-scale parameters are confirmed. The demonstrated numerical results can advantageously serve as a benchmark for the analysis and design of pioneering ultra-sensitive nano-sensors. The established variationally consistent size-dependent framework paves the way ahead in nanomechanics and inspires further research contributing to fracture mechanics of ultra-small scale elastic beams.