boxit – Draw a box around a text
This is pretty much the same macro that appears in the TeXbook.
Maybe you are interested in the following packages as well.
- ovalfbox: Boxes with frames whose corners are rounded
- outerhbox: Collect horizontal material for contributing to a paragraph
- plain-cm: Variable sized fonts in Plain TeX
- toc-zar: Plain TeX table of contents macros