Skip to content

Tables

You can customize the tables as needed by adding columns and rows at your convenience.

To include it in your project, you can add it directly or inside a container. You’ll probably need to manually adjust the component’s width.

src/components/Statistics.astro
---
// Import
import Table from "../components/Table.astro";
---
(...)
<div class="You can use: flex justify-center items-center + Type your container dimensions here">
<Table />
</div>
(...)

A simple table with clearly labeled column headers, designed to effectively display information in an organized and easy-to-read format.

ID Name Age City
1 Alan Ramos 30 Ciudad de México
2 Laura Martínez 25 Guadalajara
3 Carlos Pérez 28 Monterrey