Allium textile (prairie onion or textile onion) is a common species of wild onion found in the central part of North America.
A. textile produces egg-shaped bulbs up to 2.5 cm long. There are no rhizomes. Scapes are round in cross-section, up to 40 cm tall. Flowers are bell-shaped or urn-shaped, about 6 mm in diameter; tepals white or pink with reddish-brown midribs; pollen and anthers yellow.
A. textile is placed within section Amerallium, subgenus Amerallium.
The native range of A. textile extends across the Great Plains states from Oklahoma to Montana and Minnesota, plus the Rocky Mountain and Great Basin states from northern New Mexico to Washington, plus the Canadian provinces of Alberta, Saskatchewan and Manitoba. There is also a report of an isolated population in Indiana. Allium textile grows on dry, sunlit locations at elevations of 300–2400 m.