---
# System prepended metadata

title: Basic Component
tags: [Components]

---

# Basic Component

> * 如有錯誤處指正或任何建議，懇請留言，感謝!
> * 搭配 ChatGPT 進行翻譯，請小心服用
> * ▸ ... 為英文原文

:::spoiler ...
Components are the building blocks of a Qwik application. Components are declared using [`component$()`](https://qwik.builder.io/docs/components/overview/#component) and at a minimum need to return a JSX Element.

Create a component that returns `Hello World!`
::: 

元件是 Qwik 應用程式的基石。使用 component$() 宣告元件，至少需要返回一個 JSX 元素。

請創建一個返回 "Hello World!" 的元件。


###### tags: `Components`