Nextra 3.0 is released. Read more

Table Component

A collection of built-in components designed to create styled, non-markdown (i.e., literal) HTML tables.

Example

CountryFlag
France🇫🇷
Ukraine🇺🇦

Usage

import { Table, Td, Th, Tr } from 'nextra/components'
 
<Table>
  <thead>
    <Tr>
      <Th>Country</Th>
      <Th>Flag</Th>
    </Tr>
  </thead>
  <tbody>
    <Tr>
      <Td>France</Td>
      <Td>🇫🇷</Td>
    </Tr>
    <Tr>
      <Td>Ukraine</Td>
      <Td>🇺🇦</Td>
    </Tr>
  </tbody>
</Table>