Skip to content

Add a Templates section - #1

Merged
wieslawsoltes merged 1 commit into
mainfrom
templates-section
Oct 31, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
templates-section

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Contributor

Adds a Templates section for FerroUI/templates, the cargo generate templates of FerroUI.

  • A quick start (cargo install cargo-generate, cargo generate --git https://github.com/FerroUI/templates ...).
  • A selectable list of the 11 templates (app, app-codebehind, declarative, rsx, cross-platform, control-library, and the items window, user-control, templated-control, resource-dictionary, styles). Each panel describes the template, lists its files and writes its command from its options (name, theme, MVVM library, hosts, application id, control name, XAML namespace), with the copy button of the site's code blocks. Without JavaScript the panels show the default commands.
  • Links from the navigation, from Get started (a "Start from a template" step and the application repository block) and from the footer.
  • While releasePending is set, the section notes that the generated single-crate projects build once the release is on crates.io.

Checked: html-validate, scripts/check-site.py, light and dark themes, 1280 and 375 pixel widths (no horizontal scroll), keyboard (the vertical tab list also takes the up and down arrows).

A section that lists the project and item templates of FerroUI/templates with their options:
each template's panel writes its cargo generate command from the chosen name, theme, MVVM
library, hosts or namespace, with a copy button. The navigation, Get started (a step and the
app repository block) and the footer link to it.
@wieslawsoltes
wieslawsoltes merged commit 65af26d into main Oct 31, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
github-pages — 65af26dc Deployed Oct 31, 2026 by wieslawsoltes via Deploy #7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant