William J. Slattery, 46, an official of the National Bureau of Standards who was active in church and civic groups, died Sunday at Washington Adventist Hospital. He had leukemia.

Mr. Slattery joined the bureau in 1965 as an information analyst. A year later he became manager of its Standards Information Service, a post he held until his death.

The service publishes indexes on government standards and measures. Its library includes more than 240,000 items.

Mr. Slattery was the recipient of a 1977 Commerce Department Bronze Medal for Superior Federal Service, and was given a 1980 Meritorious Service Award from the American Standards Institute. In 1979, he was granted the Outstanding Member Award from the Standards Engineers Society. He had been the society's chairman in 1976.

A resident of Silver Spring, he had been a member of the Forest Estates Citizens Association. He also represented Sligo Junior High School at the Montgomery County Council of PTAs. He had served on the Catholic Youth Organization board of Saint John The Evangelist Catholic Church in Silver Spring. He was on the board of the Glenwood Recreation Club.

Mr. Slattery was a native of Washington and a 1951 graduate of Gonzaga High School. He earned a bachelor's degree at George Washington University and a master's degree in library science at Catholic University.

He worked for the D.C. Public Library from 1955 to 1959, then worked as a records reviewer and examiner for the U.S. Civil Service Commission, before joining the U.S. Customs Bureau in 1963. He went to the Bureau of Standards two years later. He also served in the Air Force in the early 1960s.

Survivors include his wife, Marie C., two daughters, Sharon Ann and Kathleen Marie, and two sons, Stephen Edward and Brian Michael, all of Silver Spring.