# useSet > Set state with add, remove, toggle, has, and clear helpers. - Category: State - Package: `hookli` (install with `npm i hookli`) - Docs: https://hookli.vercel.app/docs/use-set ## Signature ```ts useSet(initial?: Iterable): [Set, UseSetActions] ```