Skip to content

Instantly share code, notes, and snippets.

@inyee786
Created January 18, 2026 10:22
Show Gist options
  • Select an option

  • Save inyee786/6db50fc10de35745dea095d3fb5e633d to your computer and use it in GitHub Desktop.

Select an option

Save inyee786/6db50fc10de35745dea095d3fb5e633d to your computer and use it in GitHub Desktop.
import { LibraryComponents } from '../types';
export const materialUILibrary: LibraryComponents = {
library: {
name: 'material-ui',
packageName: '@mui/material',
displayName: 'Material UI',
framework: 'react'
},
components: [
{
name: 'mui-button',
displayName: 'Button',
description: 'MUI Button component',
category: 'Actions',
usage: `<Button variant="contained">Click me</Button>`,
fullCode: `import { Button } from '@mui/material';
export function Example() {
return (
<Button variant="contained" onClick={() => console.log('clicked')}>
Click me
</Button>
);
}`
}
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment