---
layout: layouts/pages/has-toc.njk
title: Usage
heading: Developers
permalink: /get-started/developers/usage/index.html
tags:
- developers
subnav:
collection: sortedDevelopers
order: 20
---
## Usage
Now that you've installed the Red Hat Design System, here's more information
about how to use the Web Components.
## Using react wrappers
React wrappers make it possible to use Web Components within React JSX files.
Follow the steps below to learn how.
### 1. Initial setup
We'll bootstrap our React app using [Vite][vite]. It's possible to use other
tools for this, but that is out of the scope of this tutorial.
```sh rhcodeblock
npm create vite@latest
```
This command will ask you to provide the project name, framework, and variant.
### 2. Install the `@lit/react` library
Use the following command:
```sh rhcodeblock
npm install @lit-labs/react
```
### 3. Import elements and patterns
After installing the `@lit/react` library, you can import elements and patterns
to your file. Below is an example of importing `` and ``, and
managing app state between them using react.
```js rhcodeblock
import { useState } from "react";
import { Button } from "@rhds/elements/react/rh-button/rh-button.js";
import { Badge } from "@rhds/elements/react/rh-badge/rh-badge.js";
import { Card } from "@rhds/elements/react/rh-card/rh-card.js";
export function App() {
const [clicks, setClicks] = useState(0);
return (
Click Me
);
}
```
## Using RHDS elements with Vue
To get Web Components to work with Vue, it’s pretty easy and straightforward.
Follow the steps below to use Web Components in a Vue app.
### 1. Initial setup
Add these two lines at the top of the `main.js` file in the `/src/` directory.
```js rhcodeblock
import Vue from "vue";
import App from "./App.vue";
```
### 2. Import elements and patterns
Add the import statements to the top of the `