Search Plus UI Blocks

Find a block, a category or a site

Record table with saved viewsrecord-table-saved-views

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/record-table-saved-views.json

Data · 8 variants

← → to step through · + on a thumbnail to compare side by side (up to 3)

/preview/record-table-saved-views
Open ↗

Default content

{
  "title": "Contacts",
  "count": "16",
  "description": "Everyone your team sells to, with the deals they're on and when you last spoke.",
  "actions": [
    {
      "label": "Import CSV",
      "href": "/settings/integrations",
      "variant": "secondary"
    },
    {
      "label": "New contact",
      "href": "/contacts?new=contact",
      "variant": "primary"
    }
  ],
  "recordKind": "contact",
  "views": {
    "label": "Saved views",
    "items": [
      {
        "label": "All contacts"
      },
      {
        "label": "My contacts",
        "slug": "mine"
      },
      {
        "label": "Champions",
        "slug": "champions"
      },
      {
        "label": "Customers",
        "slug": "customers"
      },
      {
        "label": "Gone quiet",
        "slug": "quiet"
      }
    ],
    "save": "Save view"
  },
  "search": {
    "label": "Search contacts",
    "placeholder": "Search name, email or company"
  },
  "filters": [
    {
      "key": "owner",
      "label": "Owner"
    },
    {
      "key": "lifecycle",
      "label": "Lifecycle"
    }
  ],
  "columns": [
    {
      "key": "name",
      "label": "Name",
      "kind": "record",
      "align": "start",
      "sortable": true,
      "hidden": false
    },
    {
      "key": "company",
      "label": "Company",
      "kind": "company",
      "align": "start",
      "sortable": true,
      "hidden": false
    },
    {
      "key": "title",
      "label": "Job title",
      "kind": "text",
      "align": "start",
      "sortable": false,
      "hidden": false
    },
    {
      "key": "lifecycle",
      "label": "Lifecycle",
      "kind": "badge",
      "align": "start",
      "sortable": true,
      "hidden": false
    },
    {
      "key": "deals",
      "label": "Open deals",
      "kind": "number",
      "align": "end",
      "sortable": true,
      "hidden": false
    },
    {
      "key": "owner",
      "label": "Owner",
      "kind": "person",
      "align": "start",
      "sortable": true,
      "hidden": false
    },
    {
      "key": "last",
      "label": "Last contacted",
      "kind": "text",
      "align": "start",
      "sortable": true,
      "hidden": false
    },
    {
      "key": "tags",
      "label": "Tags",
      "kind": "tags",
      "align": "start",
      "sortable": false,
      "hidden": true
    },
    {
      "key": "phone",
      "label": "Phone",
      "kind": "text",
      "align": "start",
      "sortable": false,
      "hidden": true
    }
  ],
  "rows": [
    {
      "id": "sofia-brandt",
      "href": "/contacts/sofia-brandt",
      "cells": {
        "name": {
          "name": "Sofia Brandt",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Sofia Brandt"
          },
          "href": "/contacts/sofia-brandt",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Ostrelo",
          "brand": "ostrelo",
          "href": "/companies/ostrelo"
        },
        "title": "VP Operations",
        "lifecycle": {
          "label": "Customer",
          "tone": "success"
        },
        "deals": "€86,400",
        "owner": {
          "name": "Priya Raman",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Priya Raman"
          }
        },
        "last": "Today",
        "tags": [
          "Champion",
          "Exec sponsor"
        ],
        "phone": "+31 10 555 0142"
      },
      "sort": {
        "deals": 86400,
        "last": 0
      },
      "views": [
        2,
        3
      ]
    },
    {
      "id": "ruben-de-vries",
      "href": "/contacts/ruben-de-vries",
      "cells": {
        "name": {
          "name": "Ruben de Vries",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Ruben de Vries"
          },
          "href": "/contacts/ruben-de-vries",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Ostrelo",
          "brand": "ostrelo",
          "href": "/companies/ostrelo"
        },
        "title": "CFO",
        "lifecycle": {
          "label": "Customer",
          "tone": "success"
        },
        "deals": "—",
        "owner": {
          "name": "Priya Raman",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Priya Raman"
          }
        },
        "last": "3 days ago",
        "tags": [
          "Decision maker"
        ],
        "phone": "+31 10 555 0107"
      },
      "sort": {
        "deals": 0,
        "last": 3
      },
      "views": [
        3
      ]
    },
    {
      "id": "lucia-ferreira",
      "href": "/contacts/lucia-ferreira",
      "cells": {
        "name": {
          "name": "Lúcia Ferreira",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1607746882042-944635dfe10e?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Lúcia Ferreira"
          },
          "href": "/contacts/lucia-ferreira",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Pellora",
          "brand": "pellora",
          "href": "/companies/pellora"
        },
        "title": "Head of Revenue Ops",
        "lifecycle": {
          "label": "Opportunity",
          "tone": "warning"
        },
        "deals": "€54,000",
        "owner": {
          "name": "Jonas Lindqvist",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Jonas Lindqvist"
          }
        },
        "last": "Yesterday",
        "tags": [
          "Champion"
        ],
        "phone": "+351 21 555 0188"
      },
      "sort": {
        "deals": 54000,
        "last": 1
      },
      "views": [
        2
      ]
    },
    {
      "id": "tiago-moreira",
      "href": "/contacts/tiago-moreira",
      "cells": {
        "name": {
          "name": "Tiago Moreira",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1527980965255-d3b416303d12?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Tiago Moreira"
          },
          "href": "/contacts/tiago-moreira",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Pellora",
          "brand": "pellora",
          "href": "/companies/pellora"
        },
        "title": "COO",
        "lifecycle": {
          "label": "Opportunity",
          "tone": "warning"
        },
        "deals": "—",
        "owner": {
          "name": "Jonas Lindqvist",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Jonas Lindqvist"
          }
        },
        "last": "6 days ago",
        "tags": [
          "Decision maker"
        ],
        "phone": "+351 21 555 0102"
      },
      "sort": {
        "deals": 0,
        "last": 6
      },
      "views": []
    },
    {
      "id": "eleanor-pryce",
      "href": "/contacts/eleanor-pryce",
      "cells": {
        "name": {
          "name": "Eleanor Pryce",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508214751196-bcfd4ca60f91?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Eleanor Pryce"
          },
          "href": "/contacts/eleanor-pryce",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Quillon",
          "brand": "quillon",
          "href": "/companies/quillon"
        },
        "title": "Managing Partner",
        "lifecycle": {
          "label": "Opportunity",
          "tone": "warning"
        },
        "deals": "€18,000",
        "owner": {
          "name": "Hana Kobayashi",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Hana Kobayashi"
          }
        },
        "last": "2 days ago",
        "tags": [
          "Decision maker"
        ],
        "phone": "+44 20 7946 0321"
      },
      "sort": {
        "deals": 18000,
        "last": 2
      },
      "views": []
    },
    {
      "id": "mads-kjeldsen",
      "href": "/contacts/mads-kjeldsen",
      "cells": {
        "name": {
          "name": "Mads Kjeldsen",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1633332755192-727a05c4013d?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Mads Kjeldsen"
          },
          "href": "/contacts/mads-kjeldsen",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Zephlo",
          "brand": "zephlo",
          "href": "/companies/zephlo"
        },
        "title": "Head of Sales",
        "lifecycle": {
          "label": "Customer",
          "tone": "success"
        },
        "deals": "€38,400",
        "owner": {
          "name": "Priya Raman",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Priya Raman"
          }
        },
        "last": "4 days ago",
        "tags": [
          "Champion"
        ],
        "phone": "+45 32 55 01 77"
      },
      "sort": {
        "deals": 38400,
        "last": 4
      },
      "views": [
        2,
        3
      ]
    },
    {
      "id": "freya-holm",
      "href": "/contacts/freya-holm",
      "cells": {
        "name": {
          "name": "Freya Holm",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1546961329-78bef0414d7c?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Freya Holm"
          },
          "href": "/contacts/freya-holm",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Zephlo",
          "brand": "zephlo",
          "href": "/companies/zephlo"
        },
        "title": "Sales Ops Manager",
        "lifecycle": {
          "label": "Customer",
          "tone": "success"
        },
        "deals": "—",
        "owner": {
          "name": "Priya Raman",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Priya Raman"
          }
        },
        "last": "2 weeks ago",
        "tags": [
          "Admin user"
        ],
        "phone": "+45 32 55 01 34"
      },
      "sort": {
        "deals": 0,
        "last": 15
      },
      "views": [
        3,
        4
      ]
    },
    {
      "id": "aoife-gallagher",
      "href": "/contacts/aoife-gallagher",
      "cells": {
        "name": {
          "name": "Aoife Gallagher",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Aoife Gallagher"
          },
          "href": "/contacts/aoife-gallagher",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Brindlebay Hotels",
          "brand": "brindlebay",
          "href": "/companies/brindlebay"
        },
        "title": "Group Commercial Director",
        "lifecycle": {
          "label": "Opportunity",
          "tone": "warning"
        },
        "deals": "€116,940",
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        },
        "last": "Today",
        "tags": [
          "Champion",
          "Exec sponsor"
        ],
        "phone": "+353 1 555 0199"
      },
      "sort": {
        "deals": 116940,
        "last": 0
      },
      "views": [
        1,
        2
      ]
    },
    {
      "id": "declan-byrne",
      "href": "/contacts/declan-byrne",
      "cells": {
        "name": {
          "name": "Declan Byrne",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Declan Byrne"
          },
          "href": "/contacts/declan-byrne",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Brindlebay Hotels",
          "brand": "brindlebay",
          "href": "/companies/brindlebay"
        },
        "title": "IT Director",
        "lifecycle": {
          "label": "Opportunity",
          "tone": "warning"
        },
        "deals": "—",
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        },
        "last": "5 days ago",
        "tags": [
          "Evaluator"
        ],
        "phone": "+353 1 555 0145"
      },
      "sort": {
        "deals": 0,
        "last": 5
      },
      "views": [
        1
      ]
    },
    {
      "id": "nadia-rahman",
      "href": "/contacts/nadia-rahman",
      "cells": {
        "name": {
          "name": "Nadia Rahman",
          "href": "/contacts/nadia-rahman",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Mosswell Clinics",
          "brand": "mosswell",
          "href": "/companies/mosswell"
        },
        "title": "Practice Director",
        "lifecycle": {
          "label": "Qualified",
          "tone": "progress"
        },
        "deals": "€22,800",
        "owner": {
          "name": "Hana Kobayashi",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1534528741775-53994a69daeb?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Hana Kobayashi"
          }
        },
        "last": "1 week ago",
        "tags": [
          "Pilot lead"
        ],
        "phone": "+44 161 555 0130"
      },
      "sort": {
        "deals": 22800,
        "last": 9
      },
      "views": [
        4
      ]
    },
    {
      "id": "kaarel-tamm",
      "href": "/contacts/kaarel-tamm",
      "cells": {
        "name": {
          "name": "Kaarel Tamm",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1552058544-f2b08422138a?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Kaarel Tamm"
          },
          "href": "/contacts/kaarel-tamm",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Talvik",
          "brand": "talvik",
          "href": "/companies/talvik"
        },
        "title": "CEO",
        "lifecycle": {
          "label": "Customer",
          "tone": "success"
        },
        "deals": "—",
        "owner": {
          "name": "Jonas Lindqvist",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Jonas Lindqvist"
          }
        },
        "last": "Yesterday",
        "tags": [
          "Decision maker"
        ],
        "phone": "+372 5555 0118"
      },
      "sort": {
        "deals": 0,
        "last": 1
      },
      "views": [
        3
      ]
    },
    {
      "id": "liis-saar",
      "href": "/contacts/liis-saar",
      "cells": {
        "name": {
          "name": "Liis Saar",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1580489944761-15a19d654956?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Liis Saar"
          },
          "href": "/contacts/liis-saar",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Talvik",
          "brand": "talvik",
          "href": "/companies/talvik"
        },
        "title": "Sales Lead",
        "lifecycle": {
          "label": "Customer",
          "tone": "success"
        },
        "deals": "€37,320",
        "owner": {
          "name": "Jonas Lindqvist",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1506794778202-cad84cf45f1d?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Jonas Lindqvist"
          }
        },
        "last": "Today",
        "tags": [
          "Champion",
          "Admin user"
        ],
        "phone": "+372 5555 0164"
      },
      "sort": {
        "deals": 37320,
        "last": 0
      },
      "views": [
        2,
        3
      ]
    },
    {
      "id": "owen-fairley",
      "href": "/contacts/owen-fairley",
      "cells": {
        "name": {
          "name": "Owen Fairley",
          "href": "/contacts/owen-fairley",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Umberly",
          "brand": "umberly",
          "href": "/companies/umberly"
        },
        "title": "Founding Partner",
        "lifecycle": {
          "label": "Lead",
          "tone": "neutral"
        },
        "deals": "€9,600",
        "owner": {
          "name": "Mateo Ruiz",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1557862921-37829c790f19?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Mateo Ruiz"
          }
        },
        "last": "1 week ago",
        "tags": [
          "Cold outreach"
        ],
        "phone": "+1 416 555 0175"
      },
      "sort": {
        "deals": 9600,
        "last": 7
      },
      "views": [
        4
      ]
    },
    {
      "id": "grace-whitlock",
      "href": "/contacts/grace-whitlock",
      "cells": {
        "name": {
          "name": "Grace Whitlock",
          "href": "/contacts/grace-whitlock",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Saltmarrow Foods",
          "brand": {
            "name": "Saltmarrow Foods"
          },
          "href": "/companies/saltmarrow"
        },
        "title": "Head of Field Sales",
        "lifecycle": {
          "label": "Qualified",
          "tone": "progress"
        },
        "deals": "€27,840",
        "owner": {
          "name": "Priya Raman",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1567532939604-b6b5b0db2604?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Priya Raman"
          }
        },
        "last": "1 week ago",
        "tags": [
          "Evaluator"
        ],
        "phone": "+44 117 555 0193"
      },
      "sort": {
        "deals": 27840,
        "last": 8
      },
      "views": [
        4
      ]
    },
    {
      "id": "henrik-solberg",
      "href": "/contacts/henrik-solberg",
      "cells": {
        "name": {
          "name": "Henrik Solberg",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&crop=faces&w=96&h=96&q=80",
            "alt": "Henrik Solberg"
          },
          "href": "/contacts/henrik-solberg",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Kelpford Marine",
          "brand": {
            "name": "Kelpford Marine"
          },
          "href": "/companies/kelpford"
        },
        "title": "Dealer Network Manager",
        "lifecycle": {
          "label": "Opportunity",
          "tone": "warning"
        },
        "deals": "€42,000",
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        },
        "last": "2 days ago",
        "tags": [
          "Champion"
        ],
        "phone": "+47 55 55 01 26"
      },
      "sort": {
        "deals": 42000,
        "last": 2
      },
      "views": [
        1,
        2
      ]
    },
    {
      "id": "ingrid-nygaard",
      "href": "/contacts/ingrid-nygaard",
      "cells": {
        "name": {
          "name": "Ingrid Nygaard",
          "href": "/contacts/ingrid-nygaard",
          "detail": "[email protected]"
        },
        "company": {
          "name": "Kelpford Marine",
          "brand": {
            "name": "Kelpford Marine"
          },
          "href": "/companies/kelpford"
        },
        "title": "CFO",
        "lifecycle": {
          "label": "Lead",
          "tone": "neutral"
        },
        "deals": "—",
        "owner": {
          "name": "Amara Osei",
          "avatar": {
            "src": "https://images.unsplash.com/photo-1508002366005-75a695ee2d17?auto=format&fit=crop&crop=faces&w=64&h=64&q=80",
            "alt": "Amara Osei"
          }
        },
        "last": "1 week ago",
        "tags": [
          "Economic buyer"
        ],
        "phone": "+47 55 55 01 03"
      },
      "sort": {
        "deals": 0,
        "last": 12
      },
      "views": [
        1,
        4
      ]
    }
  ],
  "labels": {
    "columns": "Columns",
    "clearFilters": "Clear filters",
    "rowActions": "Contact actions"
  },
  "rowActions": [
    "Open record",
    "Log a call",
    "Send email",
    "Add to sequence"
  ],
  "selection": {
    "summary": "{count} selected",
    "selectAll": "Select all on this page",
    "selectRow": "Select",
    "clear": "Clear",
    "actions": [
      {
        "label": "Email",
        "icon": "mail",
        "destructive": false
      },
      {
        "label": "Assign owner",
        "icon": "users",
        "destructive": false
      },
      {
        "label": "Export",
        "icon": "download",
        "destructive": false
      },
      {
        "label": "Delete",
        "icon": "trash",
        "destructive": true
      }
    ]
  },
  "pagination": {
    "pageSize": 10,
    "summary": "{from}–{to} of {total}",
    "previous": "Previous",
    "next": "Next"
  },
  "empty": {
    "title": "No contacts match",
    "description": "Try another view, or clear the search and filters."
  }
}