---
title: "Discussion on \"write first component in React!\" | Hashnode"
description: "Discussion on \"write first component in React!\". The component is nothing but a function in React and it's just a piece of reusable code.\nFirst, we will create a components folder inside the src folder and create a component there and also we will create an Item.css file for the Item component.\nexa..."
url: "https://hashnode.com/posts/write-first-component-in-react/64b2ecd84cb618cafef438fe"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [write first component in React!](https://santoshthapa.hashnode.dev/write-first-component-in-react?utm_source=hashnode&utm_medium=feed)

The component is nothing but a function in React and it's just a piece of reusable code. First, we will create a components folder inside the src folder and create a component there and also we will create an Item.css file for the Item component. exa...

Jul 15, 2023 · 1 min read · santoshthapa.hashnode.dev  
Read the article

-   [#components-react](https://hashnode.com/tag/components-react)

## Written by

[Santosh Thapa](https://hashnode.com/@santosh567)

@santosh567 · Butwal, Nepal

  
[View profile](https://hashnode.com/@santosh567)

full stack developer

I am a Full Stack developer!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
