How to create a library of capacitors or inductors or resistors?

I’m looking for a way to create a library of capacitors, inductors, resistors that could be asociated/linked to a symbol.

Any idea how can be done?