Table
Display tabular data in a structured format
| City | ||
|---|---|---|
| John Doe | 30 | New York |
| Jane Doe | 25 | Los Angeles |
| Jim Doe | 35 | Chicago |
| Jill Doe | 40 | Houston |
| Jack Doe | 45 | Phoenix |
| Jenny Doe | 50 | Philadelphia |
| Jerry Doe | 55 | San Antonio |
| Jessica Doe | 60 | San Diego |
| Jeff Doe | 65 | Dallas |
| Jared Doe | 70 | San Jose |
Installation
npx @v-moravec/ui add table
Code will be added to ~/components/ui/table/. You can further customize it there.
Props
| Name | Type |
|---|---|
| columns | |
| items | |