[SalesForce] create autocomplete input lightning component

How can I create an autocomplete input text in lightning component
Please help either by suggest library or create one from scratch

I tried this:
https://gist.github.com/peterknolle/ef17727d994332a8ef6b#file-autccomplete-cmp

but it said that ' $j is not defined'

and also tried the one in lightning design system but it does not work and even its style is bad ( see image):
https://www.lightningdesignsystem.com/components/lookups/

enter image description here

Best Answer

Find Below link , Its small demo on auto complete on account lookup using lightning. Full source present in git hub, with guidance. This will help you.

Reference Lookup auto complete