A svelte table implementation that allows sorting and filtering
The Svelte Table is a relatively minimal table component that allows sorting and filtering based on column values, as well as row selection and expanding. It provides flexibility in terms of customization and can be easily integrated into various projects.
To install the Svelte Table, you can use either the raw Svelte export, ES Module (.mjs) export, or CommonJS (.js) export. Your bundler will automatically choose the appropriate export based on your project’s needs. Here’s an example of how to import the Svelte Table using ES Module export:
import SvelteTable from "svelte-table";
If you prefer using the IIFE version, you can find it in the /dist/iife folder. This version allows for easy run-time use and can be used as a direct uncompiled dependency, even outside of a Svelte project.
The Svelte Table is a versatile table component that offers essential features like sorting, filtering, and row selection. Its customizable icons and flexibility in terms of export options make it a convenient choice for developers seeking to enhance their tables’ functionality.