--- id: 'Masthead' section: components cssPrefix: pf-v5-c-masthead ---## Examples ### Basic ```html
Logo
Content
``` ### Basic with mixed content ```html
Logo
Content
``` ### Display inline ```html
Logo
Content
``` ### Display stack ```html
Logo
Content
``` ### Display stack, display inline responsive ```html
Logo
Content
``` ### Light variant ```html
Logo
Content
``` ### Light 200 variant ```html
Logo
Content
``` ### Insets ```html
Logo
Content
``` ## Documentation ### Usage | Class | Applied to | Outcome | | -- | -- | -- | | `.pf-v5-c-masthead` | `
` | Initiates the masthead component. **Required** | | `.pf-v5-c-masthead__main` | `
` | Initiates the masthead main component. **Required** | | `.pf-v5-c-masthead__toggle` | `` | Initiates the masthead toggle component. | | `.pf-v5-c-masthead__brand` | `,
` | Initiates the masthead content component. | | `.pf-v5-c-masthead__content` | `
` | Initiates the masthead content component. | | `.pf-m-inset-{none, sm, md, lg, xl, 2xl}{-on-[breakpoint]}` | `.pf-v5-c-masthead` | Modifies masthead horizontal padding at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). | | `.pf-m-light` | `.pf-v5-c-masthead` | Modifies a masthead component to have a light theme with a background color of `--pf-v5-global--BackgroundColor--100`. | | `.pf-m-light-200` | `.pf-v5-c-masthead` | Modifies a masthead component to have a light theme with a background color of `--pf-v5-global--BackgroundColor--200`. |