Updated component to consistently handle CSS classes.
Updated example to demonstrate CSS classes.