It depends. The UI library has a rather large download size - this is a fine depending on the page load time. If you intend to use several functions of the user interface library, I recommend that you use it. If you just need one function, it is probably best to use a specific plugin, so you do not have to impose a penalty for large downloads.
, , , , . , , .