GitHub

Table

The Table component displays data in a grid format with rows and columns.

Preview

Column 1column2column3is_active
Value 1Value 2Value 3True
Value 4Value 5Value 6False

API Reference

proptypedefaultdescription
packagetyping.Literal['flect']flectNone
class_nametyping.Optional[str]NoneSpecifies the Tailwind CSS classes for the component.
modeltyping.Type[pydantic.main.BaseModel]NoneDefines the table's data model.
datasetslist[typing.Annotated[pydantic.main.BaseModel, SerializeAsAny()]]NoneSpecifies the table's data.