Leptodon
Your Leptos UI toolkit.
Getting started
- Use the template repository: //TODO: ... fill in
- Pick and place components from: https://leptodon.dev
Contributing
- Please enable the pre-commit hook for code styling.
cargo make mimic-cito locally test.
Dev-dependencies
A couple tools are required to work on this project:
cargo-makefor the Makefile.tomlcargo-leptosfor leptoscargo-nextestfor unit-testsnpmandplaywrightfor end2end tests (There is a nix devenv in overview/end2end).licensurefor license header checks
Project layout
- demo: leptos-ssr demo application, serves as developer-docs where they can preview demonstrations of leptodon's components.
- overview/codegen: Generates a .tailwind file (containing all leptodon's source code for tailwind to generate css against).
- proc-macros: Code-generation for the demo, see the demo README for more info on how this is used.
- overview: leptos-ssr testing application, a suite of playwright tests is ran against this application, also serves as dev-zone for new components.
- overview/end2end: The affordmentioned playwright tests.
- overview/codegen: Generates both the .tailwind file (containing all leptodon's source code for tailwind to generate css against) as well as an IconList component.