A collection of ready-to-use components based on Material-UI
Material Treasury is a collection of ready-to-use blocks for Material UI projects. These blocks are designed to provide design inspiration and can be easily integrated into your own project. There are two ways to use the blocks: you can copy and paste the code from the documentation, or you can use the command-line interface (CLI) to clone the blocks directly into your project.
To install Material Treasury and its blocks in your project, follow these steps:
npx mui-treasury@latest clone [block-name]
, replacing [block-name]
with the name of the block you want to clone (e.g., card-news-maldives
).src/mui-treasury
folder in your project.If you want to clone multiple blocks, you can add more names to the command with a space in between.
Additionally, you can create a mui-treasury.config.js
file in your project’s root directory to specify configuration options when running the clone command. Note that the config file will be overridden by CLI options, if specified.
Material Treasury is a valuable resource for Material UI projects, providing a collection of ready-to-use blocks inspired by design inspiration resources. The blocks can be easily integrated into your project using either copy-paste or the CLI cloning feature. With its user-friendly installation process and responsive support, Material Treasury is a must-have for developers looking to enhance the design and functionality of their Material UI projects.