@quaffui/quaff
v1.0.0-beta13
Published
Downloads
728
Readme
Quaff
Quaff is a component library for Svelte that follows the Material Design 3 guidelines. It provides a comprehensive set of UI components designed to create beautiful, consistent, and accessible web applications.
⚠️ Early Development Notice: Quaff is still maturing and not battle-tested yet. Use it in production if you're feeling brave! We welcome contributions and feedback to help shape the library.
Overview
Quaff is project that draws some inspiration from Quasar Framework, Material Web and BeerCSS adapted specifically for Svelte 5. It implements Material Design 3 (Material You) principles while providing a developer-friendly API. This is an independent project and is not endorsed by or affiliated with Material Design 3 or Quasar Framework.
Key features:
- Beautiful documentation
- Built for Svelte 5 and SvelteKit with full runes support
- Follows Material Design 3 guidelines
- Type-safe components with TypeScript
- Comprehensive component documentation
- Components auto-import out of the box
Getting started
Quaff comes with a CLI tool called create-quaff. You can use it to easily create a new Quaff project:
bun create quaff@latestDeveloping
Once you've installed dependencies with bun install, start a development server:
bun run dev
# or start the server and open the app in a new browser tab
bun run openEverything inside src/lib is part of the library, everything inside src/routes serves as documentation and component showcase.
Building
To build the library:
bun run packageTo create a production version of your app:
bun run buildYou can preview the production build with bun run preview.
To deploy the documentation site, you may need to install an adapter for your target environment.
Project Structure
/src/lib/components- The individual UI components/src/lib/css- Styling and theming utilities/src/routes- Documentation and examples/docgen- Documentation generation tools/plugins- Preprocessors used by Quaff (compiled by the relevant package scripts)
Acknowledgements
This project draws inspiration from:
- Quasar Framework: Copyright (c) 2015-present Razvan Stoenescu. Licensed under the MIT License
- Material Web Components: Copyright (c) Google LLC. Licensed under the Apache License 2.0 License
- BeerCSS: Copyright (c) 2021 Beer css! Licensed under the MIT License
License
MIT
