Conversation
Generated component following the Webflow code components scaffold pattern. Includes full and simple prop surface variations.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Component: DataTable
Description
A fully-featured data table component that renders structured tabular data with interactive sorting and filtering capabilities. Displays data in a traditional table layout on desktop with clickable column headers that toggle between ascending and descending sort with visual arrow indicators. Includes a search input at the top that filters rows across all columns in real-time, with a row count display showing total and filtered results. Supports visual customization through striped rows, hover highlighting, and density variants (compact/comfortable spacing). On mobile viewports, automatically transforms into a card-based stacked layout where each row becomes a card with label-value pairs. Shows an empty state message when no rows match the current filter. Accepts data as JSON through a text prop and supports up to 10 columns and 100 rows with smooth client-side performance.
What's Included
var(--background-primary, #ffffff), etc.font-family: inherit; color: inherit;DataTable.webflow.tsx) — 20+ props for developers/agenciesDataTableSimple.webflow.tsx) — core text/link props for clientswf-data-table-for Shadow DOM safetyTesting
npm install && npm run devruns locallynpx webflow library shareimports successfully