@quaffui/quaff
v1.0.0-beta24
Published
Downloads
1,829
Readme
Quaff
Quaff is a Material Design 3 framework built for Svelte 5. It includes ready-to-use components, layouts, and utilities for building Svelte apps.
Documentation · Components · npm
npm create quaff@latest[!NOTE] Quaff is in beta while we prepare
1.0.0-rc1. Most of the framework is in place, but some APIs may still change before 1.0.
Included
- Material Design 3 components, layouts, and themes
- Built for Svelte 5 runes and SvelteKit
- Fully typed component APIs
- Easy setup, auto-imports, and component tree shaking through
create-quaff
Getting Started
create-quaff creates a new SvelteKit project with Quaff configured. Once it finishes, open the generated project and start building your app.
Browse the documentation for components, layouts, and utilities.
Contributing to Quaff
To work on the framework itself, install its dependencies and start the dev server:
bun install
bun run devCommon commands:
bun run openstarts the development server and opens it in a browserbun run checkruns Svelte and TypeScript diagnosticsbun run lintchecks formatting and lint rulesbun run packagebuilds and validates the publishable Svelte packagebun run buildbuilds the package and its CSS bundlesbun run build:docsgenerates and builds the documentation site
Repository Layout
src/lib/componentscontains the public UI componentssrc/lib/csscontains component styles, themes, and layout utilitiessrc/routescontains the documentation and component examplespluginscontains the build-time preprocessors and CSS integrationdocgenandscriptscontain documentation and build tooling
Acknowledgements
Quaff began with code and ideas from several open-source projects and still maintains some compatible APIs. Most of that code has since been replaced with Quaff's own implementation:
- Quasar Framework: Copyright (c) 2015-present Razvan Stoenescu. Licensed under the MIT License
- Material Web: Copyright (c) Google LLC. Licensed under the Apache License 2.0
- BeerCSS: Copyright (c) 2021 Beer css! Licensed under the MIT License
Quaff is independent and is not endorsed by or affiliated with Google, Material Design, or the projects listed.
License
Quaff is available under the MIT License.
