Frontend: Difference between revisions

From Rsewiki
No edit summary
No edit summary
Line 8: Line 8:
==== button ====
==== button ====


button.tsx: Defines the button's properties and functionality, including its type, size, color, and whether it is disabled. This file also creates the HTML button element (`<button>`).
button.tsx: Defines the button's properties and functionality, including its type, size, color, and whether it is disabled. This file also creates the HTML button element (`<button>`) that can be used in the page you want to add a button.


button.ts: Defines the button's styling using Tailwind CSS, including colors, text sizes, rounded corners, and hover effects. This file does not contain any HTML.
button.ts: Defines the button's styling using Tailwind CSS, including colors, text sizes, rounded corners, and hover effects. This file does not contain any HTML.

Revision as of 09:20, 13 October 2026

Frontend

The frontend is mainly structured around components, each responsible for specific functions. These components are used within pages, where they are combined to create complete pages with the required functionality.

Components

Currently, the frontend consists of seven different components, organized as follows:

button

button.tsx: Defines the button's properties and functionality, including its type, size, color, and whether it is disabled. This file also creates the HTML button element (`<button>`) that can be used in the page you want to add a button.

button.ts: Defines the button's styling using Tailwind CSS, including colors, text sizes, rounded corners, and hover effects. This file does not contain any HTML.

dropdown

inputfield

popupwindow

sidebar

tabbar

widget

Pages