React-docs
January 9, 2026 ยท View on GitHub
This project uses @patternfly/documentation-framework to render example MD files.
Writing an MD file
Include an id and section in the frontmatter:
---
id: Your page title
section: components
---
Include JS code blocks:
### Your example title
```ts
import { YourComponent } from '@patternfly/react-core';
BasicExample = () => (
<YourComponent />
)
```