Skip to content

About

Material Design UI components for Svelte, built on shadcn-svelte

Topics

Resources

Stars

17 stars

Watchers

0 watching

Forks

Repository files navigation

material-svelte

A collection of UI components for Svelte with the Material Design 3 Expressive style, based on shadcn-svelte.

Not affiliated with Google or the official Material Design team.

Docs and component previews: material-svelte.flenze.com

A showcase of material-svelte components

Built with shadcn-svelte-registry-template.

Usage

Components are distributed through a shadcn-svelte registry, so you add them to your own SvelteKit app with the shadcn-svelte CLI:

npx shadcn-svelte@latest add https://material-svelte.flenze.com/r/button.json

See the installation guide for the full setup (theme and fonts), and each component's docs page for its add command.

Developing

This section is for working on the library itself.

Install dependencies with npm install, then start the docs site:

npm run dev

To build the registry JSON files in static/r from registry.json:

npm run registry:build

Building

To create a production version of the docs site:

npm run build

This also runs the registry build script.

You can preview the production build with npm run preview.

About

Material Design UI components for Svelte, built on shadcn-svelte

Topics

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages