(Claude AI Skill)
Version 3.2.0 | 99.5%+ Native Coverage | Flat Structure Architecture
Convert HTML, CSS, and JavaScript to Bricks Builder paste-ready JSON format with complete property support and native interactions.
Critical Fixes:
- ✅ Property Names Corrected -
_heightMin/_widthMax(not_minHeight/_maxWidth) - ✅ Classes Format Clarified -
_cssClassesis a space-separated string, not array - ✅ Both IDs Required - Use
_cssClassesAND_cssIdtogether - ✅ Custom CSS Guidance -
_cssCustomremoved (use external CSS files) - ✅ Element Selection - Added
textvsheadingguidance for rich HTML - ✅ Bricks Updated - Now targets Bricks Builder 2.1.4
See CHANGELOG.md for details.
- ✅ Flat Structure - ID-based parent/children relationships
- ✅ 31 Bricks Elements - Complete element library
- ✅ Pseudo-Selectors - Native
:hover,:focus,:nth-child - ✅ Native Interactions - JavaScript →
_interactions - ✅ 99.5%+ Coverage - All major CSS properties
- ✅ Complete Grid - Auto-flow, alignment, spanning
- ✅ Complete Flexbox - Grow, shrink, basis, order
- Download
h2b.skill - Claude.ai → Settings → Skills → Upload
- Prompt: "Convert this HTML to Bricks JSON"
Copy JSON from examples/ into Bricks Builder.
- 01-simple-hero - Fullscreen hero with hover effects
{
"content": [
{"id": "parent", "parent": 0, "children": ["child1"]},
{"id": "child1", "parent": "parent", "children": []}
]
}Required fields: id, name, parent, children, settings, label
Critical: Both _cssClasses (string) and _cssId should be added to elements:
{
"settings": {
"_cssClasses": "my-class another-class",
"_cssId": "unique-id"
}
}✅ Layout, Flexbox, Grid, Typography, Background, Border, Effects, Pseudo-selectors, Interactions
❌ Only ::before, ::after, complex selectors, mix-blend-mode, @keyframes need external CSS
Correct Pattern: _[property][Min/Max]
"_widthMin": "320" ✅ CORRECT
"_widthMax": "1200" ✅ CORRECT
"_heightMin": "100vh" ✅ CORRECT
"_heightMax": "800" ✅ CORRECT
"_minWidth": "320" ❌ WRONG
"_maxWidth": "1200" ❌ WRONGSkill includes 5 reference guides:
- BRICKS-ELEMENTS.md - Complete element library
- BRICKS-NATIVE-PROPERTIES.md - All native properties (updated v3.2.0)
- PSEUDO-SELECTORS.md - Pseudo-selector conversion
- INTERACTIONS.md - Native interactions system
- JAVASCRIPT-HANDLING.md - JavaScript processing
_cssCustomproperty doesn't output to frontend (use external CSS)- Complex transforms need external CSS:
rotate() + translateY() - Zero width/height causes collapse for positioned children
Filipp Gavrilos / Mobian Agency
GitHub: @iamfilipp | mobian.eu
MIT - see LICENSE
h2b v3.2.0 - Transforming HTML to Bricks 🧱