Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pktcodes/accordion-react-project

Accordion Project using React
https://github.com/pktcodes/accordion-react-project

accordion css3 ecmascript html5 javascript react react-hooks react-icons usestate

Last synced: about 1 month ago
JSON representation

Accordion Project using React

Awesome Lists containing this project

README

        

# Accordion 🪗

> PROD [Live] : https://react-accordion-prod.netlify.app/

#### Accordion consists of a straightforward user interface where there is a

- Tabbed interface with a list of **questions** and **answers** stacked vertically.
- Each **Question** can be expanded or collapsed to reveal the content associated with that item on the click of buttons i.e., âž• to show and âž– to hide.
- Data is handled by the `data.js` file.
- To run the project locally, clone the repo, `npm install` to install the dependencies, and `npm start` to start up the development server on default port 3000.

#### Languages
HTML, CSS, JavaScript, ECMAScript, React - Hooks ~ useState

#### Packages
[React Icons](https://www.npmjs.com/package/react-icons)

#### Deployment / Hosting
Netlify

---

#### Idea

[UI Design Daily](https://uidesigndaily.com/posts/sketch-accordion-website-day-1175)

![](./idea.png)

#### React Icons

[react icons](https://react-icons.github.io/react-icons/)

```
npm install react-icons --save
```

```javascript
import { FaHome } from 'react-icons/fa';
const Component = () => {
return ;
};
```

---

_Note: I have developed this project ~ [4] as part of React and Projects Course taught by John Smilga._