Description
SMUI, or Svelte Material UI, is a library of Material UI components for Svelte. It gives Svelte developers buttons, inputs and other Material Design components they can drop into a project. The README lists features that set it apart: full TypeScript support, including HTML attributes; the ability to add arbitrary attributes to components and to many of the elements inside them; actions on components through a use prop; props passed down to inner elements with a dollar-sign prefix, such as an input's maxlength; and support for right-to-left languages. Installation points to the docs for a plain Svelte project or for SvelteKit. The version matters: SMUI v8 and higher requires Svelte 5, and Svelte 4 users should use SMUI v7, the last version to support Svelte 4. The README also has a migration section with upgrade notes for each major version, including the move away from separate @material packages and the removal of the styled endpoints. Demos, code samples and guides are on sveltematerialui.com. Help is available in a Matrix space and a Discord server. The source is public on GitHub.…
Highlights
- Material UI components for Svelte
- Full TypeScript support
- Arbitrary attributes and actions on components
- Props for inner elements with $ prefix
- Right-to-left language support
- Upgrade guides for each major version
Ratings & Reviews
No ratings yet
Be the first to rate @smui/common.
People also visit
@smui/common FAQ
What is SMUI?
Svelte Material UI, a library of Material Design components for Svelte with TypeScript support.
Which Svelte version do I need?
SMUI v8 and higher require Svelte 5. If you use Svelte 4, the README says to use SMUI v7, the last version to support Svelte 4.
Is it free?
Yes. The source is public on GitHub and listed as open source.
Where can I get help?
The README points to a Matrix space and a Discord server, and to the demos and guides on sveltematerialui.com.
What are the best @smui/common alternatives?
Popular alternatives to @smui/common include @sveltestrap/sveltestrap, flowbite-svelte-icons and @jis3r/icons. See all @smui/common alternatives













