Thank you for your interest in contributing to Galsen UI!
Here are the steps to follow to add components:
-
Clone your fork.
-
Create a branch for your feature.
-
Commit your changes and push your modifications.
-
Create a pull request to the
dev
branch. -
Wait for your pull request to be merged.
-
Navigate to the
public/data/components
folder. -
Create a file named
galsen-ui-component-name.mdx
following the format below:--- title: emoji: title: description: components: 1: title: --- # Component Name <RenderHTMLFiles components={components} files={files} componentSlug={componentSlug} />
- title: The title of the component.
- emoji: An emoji representing the component.
- components: A list of component variations with their respective titles.
- Navigate to the
public/components
folder. - Create a folder with the same name as the
.mdx
file you created earlier inpublic/data/components
. - Inside this folder, create files for each variation of the component. File names should be numbers starting from 1 (e.g.,
1.html
,2.html
).