https://github.com/bitdev-community/tailwind-components
Library of tailwind components
https://github.com/bitdev-community/tailwind-components
Last synced: 4 months ago
JSON representation
Library of tailwind components
- Host: GitHub
- URL: https://github.com/bitdev-community/tailwind-components
- Owner: bitdev-community
- Created: 2024-04-23T11:25:26.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-04-26T09:23:09.000Z (12 months ago)
- Last Synced: 2024-08-13T07:16:53.400Z (8 months ago)
- Language: TypeScript
- Size: 706 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - bitdev-community/tailwind-components - Library of tailwind components (TypeScript)
README
# tailwind-components
Bit UI library of tailwind components. The demo contains the following UI components- `ui/button` - [component](https://bit.cloud/learnbit-react/tailwind-library/ui/button)
- `ui/textfield` - [component](https://bit.cloud/learnbit-react/tailwind-library/ui/textfield)
- `ui/switch` - [component](https://bit.cloud/learnbit-react/tailwind-library/ui/switch)Tailwind Library Demo in Bit Cloud: [Scope](https://bit.cloud/learnbit-react/tailwind-library)
## How to Use
1. Fork this repository or create a new repository with its code
2. Create your scope in [bit.cloud](https://bit.cloud) to store tailwind library
3. Find and replace `learnbit-react.tailwind-library` in the source code to your newly created scope name
4. Configure the repository, GitHub Action variable secrets `GIT_USER_NAME`, `GIT_USER_EMAIL`, `BIT_CONFIG_ACCESS_TOKEN`.## Important Points
- The demo project is used to demonstrate the use of tailwind components. You can modify it accordingly.
- If you are going to use a different directory than `tailwind-library` for new components, you need to modify `tailwind-components/tailwind-library/demo/tailwind.config.ts` components value.
- GitHub Action workflow is already configured to support pull request builds. You can create a new branch and commit the modified components. GitHub Actions will takecare of building the components and tagging and exporting them once the Pull Request is merged.