Button group styling

The site's documentation depicts a horizontal button group, but the code appears to be written for a vertical one. Is this intentional?