blueprint
Version, currently 1.1.014 versions
- 1.1.0latestJan 5, 2026
- 1.0.0not indexedJan 5, 2026
- 0.11.0not indexedJan 5, 2026
- 0.10.0not indexedJan 5, 2026
- 0.9.0not indexedJan 5, 2026
- 0.8.0not indexedJan 5, 2026
- 0.7.0not indexedJan 5, 2026
- 0.6.0not indexedJan 5, 2026
- 0.5.1not indexedJan 5, 2026
- 0.5.0not indexedJan 5, 2026
- 0.4.0not indexedJan 5, 2026
- 0.3.0not indexedJan 5, 2026
- 0.2.0not indexedJan 5, 2026
- 0.1.0not indexedJan 5, 2026
github.com/stephannv/blueprint
A lib for writing reusable and testable views templates (HTML, SVG, Forms) in plain Crystal. Inspired by Phlex.
86 stars
7 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
blueprint:
github: stephannv/blueprint
version: ~> 1.1.0Then run:
shards installshard.yml
- Crystal
~> 1.9- License
- MIT
- Author
- Stephann V.
Dependencies
Development Dependencies
- ameba1.6.4github: crystal-ameba/amebadev
README
Example:
class Alert
include Blueprint::HTML
private def blueprint
div class: "alert alert-success" do
h4(class: "alert-heading") { "Well done!" }
p { "Hello Word" }
end
end
end
Alert.new.to_s
Output:
<div class="alert alert-success">
<h4 class="alert-heading">Well done!</h4>
<p>Hello World</p>
</div>
Documentation
For full documentation, visit https://stephannv.github.io/blueprint-docs/.
Contributing
- Fork it (https://github.com/stephannv/blueprint/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.1.0- Tagged
- Jan 5, 2026
- Commit
8d05048ae405- Crystal
~> 1.9- Indexed
- yes
Dependents
Repository
github.com/stephannv/blueprint
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 24, 2026
- Synced
- Sep 23, 2026
- Versions
- 14