Cards

Cards should be included as components where possible, and always in rails apps. You can include the ui_component includes as detailed below. Cards can either be fixed or flexible width.

Flexible cards will expand to fit their container. The responsive grid is well suited for this. When used as an engine Rizzo also provides a helper function to generate the responsive grid classes for you.