@patternfly/patternfly
Version:
Assets, source, tooling, and content for PatternFly 4
30 lines (20 loc) • 875 B
Markdown
id: Brand
section: components
## Examples
### Basic
```html
<img class="pf-c-brand" src="/assets/images/pf_logo.svg" alt="PatternFly logo" />
```
## Documentation
### Overview
Simple brand component.
### Accessibility
| Attribute | Applied to | Outcome |
| --------- | ------------- | ---------------------------------------------------------------------------------------------------------- |
| `alt` | `.pf-c-brand` | The alt attribute specifies an alternate text for an image, if the image cannot be displayed. **Required** |
### Usage
| Class | Applied to | Outcome |
| ------------- | ---------- | ------------------------------------- |
| `.pf-c-brand` | `<img>` | Initiates a brand image. **Required** |