Schengen is absolutely an EU achievement, although for some time it developed separately; it is now absorbed into EU law. Note that every Schengen country outside of the EU is a member of EFTA and to be in Schengen has to sign an association treaty with the EU.
Nations can sign Schengen, but are never forced to join the EU, nations can be EU members but are allowed to refuse the Schengen treaties.