This package contains a set of reusable UI components that can be used in other applications within this monorepo.
To install the UI package, follow these steps:
- Add
"@akashnetwork/ui": "*"
to the list of dependencies of your project. - Open a terminal and navigate to the root directory.
- Run the following command to install the package:
npm install
To use the UI components in your application, follow these steps:
- Import the desired component from the
@akashnetwork/ui
package:
import { Button, Input } from "@akashnetwork/ui/components";
- Use the imported component in your application's code:
const App = () => {
return (
<div>
<Button>Click me</Button>
<Input placeholder="Enter your name" />
</div>
);
};
The UI components provided by this package can be customized to fit your application's needs. You can refer to the documentation of each component to learn more about the available customization options.
If you would like to contribute to the development of the UI package, please follow the guidelines outlined in the CONTRIBUTING.md file.
This package is licensed under the MIT License.