Tables
The simpler of the table components is v-table
, a basic wrapper component for the HTML <table>
element. In addition, regular table elements such as <thead>
, <tbody>
, <tr>
, and <td>
work by default.
INFO
More advanced tables such as v-data-table are available for preview in Vuetify Labs.
Usage
API
Component | Description |
---|---|
v-table | Primary Component |
Examples
Props
Theme
Use theme prop to switch table to another theme.
Density
You can show a dense version of the table by using the density prop.
Height
Use the height prop to set the height of the table.
Fixed header
Use the fixed-header prop together with the height prop to fix the header to the top of the table.