@tntra-unify-ui/mui
v0.1.1
Published
Material-UI adapter for unify-ui component library
Downloads
41
Readme
@tntra-unify-ui/mui
Material-UI adapter for the tntra-unify-ui component library.
Installation
npm install @tntra-unify-ui/mui @mui/material @emotion/react @emotion/styled react react-domUsage
import { Button } from '@tntra-unify-ui/mui';
function App() {
return (
<Button
label="Click me"
onClick={() => console.log('Clicked!')}
/>
);
}Features
- Wraps Material-UI components with a consistent API
- Full TypeScript support
- Tree-shakeable exports
- Follows tntra-unify-ui core interfaces
Peer Dependencies
This package requires:
react>= 18react-dom>= 18@mui/material^5.0.0 || ^6.0.0@emotion/react^11.0.0@emotion/styled^11.0.0
Available Components
- Button
More components coming soon!
Related Packages
- @tntra-unify-ui/core - Core interfaces
- @tntra-unify-ui/antd - Ant Design adapter
License
MIT
