Skip to content

Commit ed29210

Browse files
committed
adding the shadCN section
1 parent e97ceb0 commit ed29210

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

CONTRIBUTING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,19 @@ If you would like to join the efforts to improve the JSON Schema Website, we enc
7171

7272
If you would like to contribute with designs, we encourage you to join `#design` channel in our [Slack workspace](https://json-schema.org/slack) and read the [contributing guidelines](https://github.com/json-schema-org/brand/blob/master/CONTRIBUTING.md) in the [Brand](https://github.com/json-schema-org/brand) repository.
7373

74+
#### Using shadcn/ui Components
75+
76+
When contributing to the website design components, we use [shadcn/ui](https://ui.shadcn.com/) for consistent, accessible UI components. Here's how to add new components:
77+
78+
1. **First step**: Go to the [shadcn/ui website](https://ui.shadcn.com/) and search for the required components
79+
2. **Installation**: Run the following commands to add the component:
80+
```bash
81+
corepack prepare [email protected] --activate
82+
yarn dlx shadcn@latest add [component-name]
83+
```
84+
Replace `[component-name]` with the actual component name
85+
86+
7487
### 🚀 Contributing to CI/CD Pipeline
7588

7689
If you would like to contribute to our CI/CD pipeline, we encourage you to review our current setup in the [workflows README](https://github.com/json-schema-org/website/blob/main/.github/workflows/README.md).

0 commit comments

Comments
 (0)