https://github.com/multinite/multiui-button
The button component for MultiUI
https://github.com/multinite/multiui-button
Last synced: 23 days ago
JSON representation
The button component for MultiUI
- Host: GitHub
- URL: https://github.com/multinite/multiui-button
- Owner: Multinite
- License: mit
- Created: 2024-08-18T04:02:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-11-07T15:17:06.000Z (7 months ago)
- Last Synced: 2024-11-07T16:25:39.200Z (7 months ago)
- Language: TypeScript
- Size: 1.34 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# MultiUI Component Template
### This is an official starter template for creating a component for MultiUI.
## ๐ค What's inside
This project is a simple TurboRepo project containing the following folders:
- `packages/component`: Contains the source code for your component.
- `apps/demo-app`: Contains the source code for a NextJS demo app to render your component.
## โญ๏ธ How do I get started?
We recommend you read our documentation on creating a component for MultiUI:
https://multiui.org/docs/components/create-componentTo get started, follow these steps:
1. install the dependencies:
```sh
pnpm install
```2. Start development:
```sh
pnpm dev
```There should be two instances running:
- NextJS dev server.
- TypeScript dev server watching your component.You can now edit your component in the `packages/component/src` folder and see the changes in your browser.
## ๐งช What's next? Building, Testing & Linting
To build your component, run the following command:
```sh
npm run build
```To test your component, run the following command:
```sh
npm run test
```To lint your component, run the following command:
```sh
npm run lint
```
## ๐ What about publishing?
To publish your component, we recommend you read our documentation on publishing a component for MultiUI:
https://multiui.org/docs/components/publish-component