There are many styles of built-in benches that can be added to a deck. Search pictures online to explore a variety of design ideas. Most benches are framed out of 2x4, 2x6 and 4x4 material and covered with decking to create a solid surface that compliments the rest of the deck. Some benches use the rails as a backrest or may include one of its own.
A bench seat should be elevated about 16”-20” off the ground to provide a comfortable sitting position. Examine the heights and width of chairs and benches to get an idea of what dimensions you want to use for your benches. Benches, planters and other accessories on a deck cannot be regulated by building codes unless they are fixed in place. Otherwise, they are merely custom-built furniture. As furniture, there are no building codes that address their construction. However, if the bench or planter is at the edge of a deck and acting as a guardrail or portion of a guard, they will be subject to all loading and geometric requirements of guards.