Polarized superconductors in nanostructures