Svelte Admin Dashboard

Almost every admin screen is the same shape: some numbers at the top, a table in the middle that people actually work in, and a detail view or drawer off to the side. SvGrid gives you the middle, and the UI kit that ships with it gives you the rest, from stat tiles and sparklines to menus, drawers and forms.

If you would rather not assemble it, the admin-dashboard starter scaffolds a SvelteKit project with the layout, the grid and Tailwind already wired together.

Install

npm create @svgrid@latest my-admin -- --template admin-dashboard

Free and MIT-licensed in @svgrid/grid: no license key, no row cap, no watermark.

The code

<script lang="ts">
  import { SvGrid, renderSnippet, type ColumnDef } from '@svgrid/grid'
</script>

<SvGrid
  data={filteredUsers}
  columns={[
    { field: 'name', header: 'User', width: 250,
      cell: (ctx) => renderSnippet(UserCell, { row: ctx.row.original }) },
    { field: 'role', header: 'Role', width: 110,
      editorType: 'list', editorOptions: ROLE_OPTIONS },
    { field: 'mfa', header: 'MFA', width: 80, editorType: 'checkbox' },
  ] satisfies ColumnDef<typeof features, User>[]}
  {features}
  enableInlineEditing={true}
/>

What you get

Live examples

Documentation

Related articles

Frequently asked questions

How do I build an admin dashboard in Svelte?

Start from the admin-dashboard template with npm create @svgrid@latest my-admin -- --template admin-dashboard, or compose it yourself from the grid plus the stat, chart and drawer components in the UI kit.

Does it include authentication?

The starter does not. SvGrid Studio, the commercial app builder, generates SvelteKit projects with auth and role-based access wired in if you want that part generated too.

Can I use my own design system?

Yes. The grid is themed through CSS custom properties, so matching an existing palette is a token change rather than a fork, and the theme builder exports the tokens for you.

Is the admin dashboard free?

Yes. The starter template, the grid and the UI components are MIT-licensed. Excel export and pivot are the parts that need a commercial license.

Build something else

Get started · Browse the gallery · Pricing