• Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller
jsx daisyUI

    No recently viewed docs

  • Get Started
    • Introduction
    • Installation
    • Theming
  • Layout
    • Drawer
    • Footer
    • Hero
    • Indicator
    • Join
    • Stack
    • Divider
  • Navigation
    • Breadcrumbs
    • Dock
    • Menu
    • Link
    • Navbar
    • Pagination
    • Steps
    • Tabs
  • Data Display
    • Accordion
    • Avatar
    • Badge
    • Calendar
    • Card
    • Carousel
    • Chat
    • Collapse
    • Countdown
    • Diff
    • Kbd
    • List
    • Mask
    • Mockup
    • Stat
    • Table
    • Timeline
  • Feedback
    • Alert
    • Loading
    • Modal
    • Progress
    • Skeleton
    • Status
    • Toast
    • Tooltip
  • Forms
    • Button
    • Checkbox
    • Dropdown
    • File Input
    • Fieldset
    • Filter
    • Input
    • Label
    • Radio
    • Range
    • Rating
    • Select
    • Toggle
    • Textarea
  • Effects
    • Hover 3D Card
    • Hover Gallery
    • Speed Dial
    • Swap
    • Text Rotate
    • Theme Controller

© 2026 jsx-daisyui. All rights reserved. | Built with DaisyUI and React.

Table

Table is used to display structured data in rows and columns.

Installation
npx jsx-daisyui add table

Default

table-default
#NameRoleStatus
1Alice JohnsonAdminActive
2Bob MartinezEditorActive
3Carol WhiteViewerInactive

Zebra

table-zebra
NameJobFavourite Color
Cy GandertonQuality ControlBlue
Hart HagertyDesktop SupportPurple
Brice SwyreTax AccountantRed
Marjy FerenczOffice AssistantCrimson

Sizes

table-sizes

xs

NameRole
AliceAdmin
BobEditor

sm

NameRole
AliceAdmin
BobEditor

md

NameRole
AliceAdmin
BobEditor

lg

NameRole
AliceAdmin
BobEditor

Bordered

table-bordered
ProductPriceStock
Widget A$9.99In stock
Widget B$14.99Low stock
Widget C$4.99Out of stock

Props

Table

PropTypeDefaultDescription
size'xs' | 'sm' | 'md' | 'lg' | 'xl''md'The size of the table.
zebraboolean-Applies alternating background colors to rows.
pinRowsboolean-Makes table headers sticky at the top.
pinColsboolean-Makes the first column sticky on the left.
borderedboolean-Adds a border around the table container.
wrapperClassNamestring-Custom classes applied to the div wrapper.