The quickest way to build beautiful UIs with your AI coding assistant.
Copy and paste this message to your AI assistant (ChatGPT, Claude, Copilot, etc.):
This single link contains everything your AI needs to know about PM7-UI components, patterns, and best practices.
Have your AI run this command in your project:
Then import the CSS (your AI will know where to put this):
Now you can ask your AI to build UI components using simple prompts:
Your AI knows all PM7-UI components and will generate the correct code for your framework!
Need your AI to work with a specific component? Give it the direct documentation:
Visit our README Links page to get copy-paste ready documentation URLs for all components. Your AI will appreciate the direct links!
Example for the Menu component:
Make sure you've given it the documentation URL. Some AI assistants might need a reminder:
Remind your AI that PM7-UI uses CSS classes, not React components:
PM7-UI now includes self-healing components that automatically recover from framework re-renders!
Use PM7.initFramework()
for seamless integration with React, Vue, and Angular. This method includes automatic timing delays and enables self-healing for all components.
import { useEffect } from 'react';
import '@pm7/core/dist/pm7.css';
import '@pm7/core';
function App() {
useEffect(() => {
// Use initFramework() for better timing + automatic healing
PM7.initFramework();
}, []);
return (
// Your components here - they'll self-heal automatically!
);
}
import { onMounted } from 'vue';
import '@pm7/core/dist/pm7.css';
import '@pm7/core';
export default {
setup() {
onMounted(() => {
PM7.initFramework();
});
}
}
import { Component, AfterViewInit } from '@angular/core';
import '@pm7/core/dist/pm7.css';
import '@pm7/core';
@Component({
// ...
})
export class AppComponent implements AfterViewInit {
ngAfterViewInit() {
PM7.initFramework();
}
}
The following components automatically recover from framework re-renders:
No more workarounds needed! Components just work, even when your framework re-renders them.