| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
(Claude AI Skill)
Version 4.0.0 | 166+ Elements | Bricks 2.3.5 | MCP-Verified
Convert HTML, CSS, and JavaScript to Bricks Builder paste-ready JSON. Flat structure, ID-based relationships, 99.5%+ native property coverage, full interactions and conditions support.
MCP-verified against live Bricks 2.3.5 instance. Major corrections and new features:
See CHANGELOG.md for full details.
Copy any JSON from examples/ directly into Bricks Builder via Cmd+V on canvas.
{
"content": [
{"id": "mhkwpa", "name": "section", "parent": 0, "children": ["qnxrtb"], "settings": {}, "label": "Hero"},
{"id": "qnxrtb", "name": "container", "parent": "mhkwpa", "children": ["einrji"], "settings": {}, "label": "Wrapper"},
{"id": "einrji", "name": "heading", "parent": "qnxrtb", "children": [], "settings": {"tag": "h1", "text": "Hello"}, "label": "Title"}
],
"source": "bricksCopiedElements",
"sourceUrl": "https://github.com/iamfilipp/html2bricks",
"version": "2.3.5",
"globalClasses": [],
"globalElements": []
}Required fields on every element: id · name · parent · children · settings · label
ID format: Random 6-char lowercase alphanumeric (e.g. einrji, mhkwpa)
| Need | Element | Width | Display |
|---|---|---|---|
| Root page region | section | 100% | flex |
| Centered max-width wrapper | container | 1100px | flex |
| Flex column / row | block | 100% | flex |
| Decorative / absolute / unstyled | div | auto | block |
_cssCustom works. Use #brxe-{elementId} as the selector — not %root%.
{
"id": "einrji",
"name": "div",
"settings": {
"_cssCustom": "#brxe-einrji { transform: rotate(45deg); mix-blend-mode: overlay; }"
}
}Use _cssCustom for: complex transforms · mix-blend-mode · gap on layout elements · complex selectors (.parent:hover .child)
| ❌ Wrong | ✅ Correct |
|---|---|
| "_textAlign": "center" | "_typography": {"text-align": "center"} |
| "_maxWidth": "1200" | "_widthMax": "1200" |
| "_gap": "24" on section/container | "_cssCustom": "#brxe-id { gap: 24px; }" |
| "_cssCustom": "%root% { ... }" | "_cssCustom": "#brxe-{id} { ... }" |
| Gradient stops array | "gradient": "linear-gradient(135deg, #667eea, #764ba2)" |
| "_animation": "fadeIn" | "_interactions": [{...}] |
Stored in settings._interactions as an array. Each interaction needs a unique 6-char ID.
"_interactions": [
{
"id": "aa1bb2",
"trigger": "enterView",
"action": "startAnimation",
"animationType": "fadeInUp",
"animationDuration": "0.8s",
"animationDelay": "0s",
"target": "self",
"runOnce": true,
"rootMargin": "0px 0px -80px 0px"
}
]Triggers: click · mouseenter · mouseleave · enterView · leaveView · contentLoaded · scroll · mouseleaveWindow · animationEnd · formSubmit · formSuccess · formError · ajaxStart · ajaxEnd
Actions: startAnimation · show · hide · setAttribute · toggleAttribute · toggleOffCanvas · loadMore · loadMoreGallery · scrollTo · javascript · clearForm · and more
Animate.css types (selection): fadeInUp · fadeInDown · fadeIn · zoomIn · slideInLeft · bounceIn · pulse — full list in INTERACTIONS.md
Server-side show/hide logic. Stored in settings._conditions. Outer array = OR, inner array = AND.
"_conditions": [
[{"key": "user_logged_in", "compare": "==", "value": "1"}]
]Available keys: user_logged_in · user_role · user_id · post_id · post_status · featured_image · date · time · weekday · dynamic_data · browser · current_url · WooCommerce keys (full list in CONDITIONS.md)
No JavaScript needed. Set as style properties directly on the element:
{
"_motionElementParallax": true,
"_motionElementParallaxSpeedY": -20,
"_motionStartVisiblePercent": 0
}{
"_motionBackgroundParallax": true,
"_motionBackgroundParallaxSpeed": -15,
"_motionStartVisiblePercent": 0
}Speed = percentage. Negative = opposite scroll direction.
_[property][Min/Max] — not _[min/max][Property]
"_widthMin": "320" ✅
"_widthMax": "1200" ✅
"_heightMin": "100vh" ✅
"_minWidth": "320" ❌
"_maxWidth": "1200" ❌Native (99.5%+): Layout · Flexbox · Grid · Typography · Background · Border · Effects · Transform · Transitions · Parallax · Interactions · Conditions
Needs _cssCustom: complex multi-operation transforms · mix-blend-mode · gap on layout elements
External CSS only: @keyframes · ::before / ::after · attribute selectors
The skill includes 6 reference guides:
| File | Contents |
|---|---|
| BRICKS-ELEMENTS.md | 166+ elements with names, categories, HTML mapping |
| BRICKS-NATIVE-PROPERTIES.md | All native properties with correct key names |
| INTERACTIONS.md | Full interactions schema — triggers, actions, Animate.css types, patterns |
| CONDITIONS.md | Element conditions schema — all keys, operators, examples |
| PSEUDO-SELECTORS.md | Pseudo-selector conversion guide |
| JAVASCRIPT-HANDLING.md | JavaScript processing strategy |
Filipp Gavrilos / Mobian Studio GitHub: @iamfilipp | mobians.co
MIT — see LICENSE
h2b v4.0.0 — HTML to Bricks 🧱
| Back | FazBrowse Home | New Git URL |