Table
The Table component displays data in a grid format with rows and columns.
Preview
Column 1 | column2 | column3 | is_active |
---|---|---|---|
Value 1 | Value 2 | Value 3 | True |
Value 4 | Value 5 | Value 6 | False |
API Reference
prop | type | default | description |
---|---|---|---|
package | typing.Literal['flect'] | flect | None |
class_name | typing.Optional[str] | None | Specifies the Tailwind CSS classes for the component. |
model | typing.Type[pydantic.main.BaseModel] | None | Defines the table's data model. |
datasets | list[typing.Annotated[pydantic.main.BaseModel, SerializeAsAny()]] | None | Specifies the table's data. |