Catalog / Foundation Framework Cheatsheet
Foundation Framework Cheatsheet
A comprehensive cheat sheet for the Foundation framework, covering essential UI components, utilities, and best practices for building responsive websites.
Grid System
Basic Grid Structure
Foundation’s grid system is based on a 12-column flexbox grid.
|
Column Sizing
|
Defines column size for different screen sizes (where # is a number from 1-12). Example: |
|
Automatically sizes the column based on its content. |
|
Column takes up only the space it needs. |
Grid Alignment
Vertical Alignment |
Use classes like |
Horizontal Alignment |
Use classes like |
Distribution Alignment |
Use classes like |
Typography & Colors
Typography
Foundation provides default typography styles. Common elements:
|
Helper Classes:
|
Colors
Primary Color |
Used for main actions and branding. Class: |
Secondary Color |
Used for less important actions. Class: |
Success Color |
Used for positive feedback. Class: |
Warning Color |
Used to indicate caution. Class: |
Alert Color |
Used for error messages. Class: |
Color Usage
Background Colors |
Use |
Text Colors |
Use |
UI Components
Buttons
Basic Button: |
Button Sizes:
|
Button Colors:
|
Forms
Basic Form Input: |
Form with Help Text: |
Error State: |
Navigation
Basic Navigation Menu:
|
Vertical Menu:
|
Accordion Menu:
|
JavaScript Utilities
Interchange
Dynamically loads content based on media queries.
|
Reveal (Modal)
Creates a modal window.
|
Off-canvas
Creates an off-canvas menu.
|