Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

bricks-layouts

БесплатноБез исполняемых скриптовНе проверен

Create ready-to-paste sections and importable templates for Bricks Builder.

wpgauravот wpgaurav★ 24 звезды на GitHub

Об этом скилле

Bricks Builder Layouts Skill

Create ready-to-paste sections and importable templates for Bricks Builder.

Styling Priority

When styling elements, follow this order of preference:

  1. Core Framework Classes (core-framework.css) - Use existing utility classes first
  2. Inline Settings - Use element settings for element-specific styling
  3. Custom CSS - Only for complex/unique styles not covered by framework

The Core Framework provides a comprehensive utility-first CSS library. Always prefer these classes over creating new global classes or inline styles.

Two Layout Formats

Bricks uses two distinct JSON formats:

1. Sections (Copy/Paste Format)

For pasting directly into the builder via clipboard. Used for hero sections, feature blocks, CTAs, etc.

{
  "content": [...elements...],
  "source": "bricksCopiedElements",
  "sourceUrl": "https://example.com",
  "version": "2.0.1",
  "globalClasses": [...class definitions...],
  "globalElements": []
}

2. Templates (Site-Wide Assignment)

Full templates with metadata for importing via Bricks Templates system.

{
  "id": 1195,
  "name": "header-new",
  "title": "Header New",
  "date": "2025-07-24 14:09:56",
  "date_formatted": "July 24, 2025",
  "author": {
    "name": "Author Name",
    "avatar": "https://...",
    "url": "https://..."
  },
  "permalink": "https://example.com/template/header-new/",
  "thumbnail": null,
  "bundles": [],
  "tags": [],
  "type": "header",
  "header": [...elements...],
  "templateType": "header",
  "global_classes": [...class definitions...],
  "globalVariables": [...variables...],
  "globalVariablesCategories": [...]
}

Section Structure (Copy/Paste)

Required Keys

Key Type Description
content array Root array of all elements
source string Must be "bricksCopiedElements"
sourceUrl string Origin URL for reference
version string Bricks version (e.g., "2.0.1")
globalClasses array CSS class definitions used
globalElements array Global elements (usually empty)

Element Structure

Each element in content array:

{
  "id": "enrntt",
  "name": "section",
  "parent": 0,
  "children": ["azdlaa"],
  "settings": {
    "_cssGlobalClasses": ["classId1", "classId2"]
  },
  "label": "Hero"
}
Property Description
id Unique 6-character alphanumeric ID
name Element type (section, container, block, heading, etc.)
parent Parent element ID or 0 for root
children Array of child element IDs
settings Element-specific settings
label Display name in structure panel
themeStyles Optional array of theme style references

Element Types Reference

Layout Elements

Name Purpose Key Settings
section Full-width section wrapper tag, _padding
container Content container with max-width _width, _widthMax, _direction
block Flexbox div element tag, _display, _direction, _flexWrap
div Basic div element tag

Content Elements

Name Purpose Key Settings
heading H1-H6 heading text, tag
text-basic Paragraph text text, tag
text Rich text with HTML text (HTML content)
button Button element text, style, link, icon, iconPosition
image Image element image, _aspectRatio, _objectFit
logo Site logo logo, logoWidth, logoHeight
icon SVG icon icon, iconSize

Navigation Elements

Name Purpose Key Settings
nav-nested Nested navigation menu mobileMenu
dropdown Dropdown menu item text, toggleOn, megaMenu
text-link Navigation link text, link
toggle Mobile menu toggle icon, animation, toggleSelector

Interactive Elements

Name Purpose Key Settings
slider-nested Carousel/slider perPage, gap, autoplay, pagination
accordion Collapsible content titleTypography, contentTypography
icon-box Icon with text icon, iconSize, typographyHeading, typographyBody
form Contact form Field and submit button settings
list Styled list separatorDisable, itemMargin

Utility Elements

Name Purpose Key Settings
code Custom CSS/JS cssCode, javascriptCode, executeCode

Element Settings by Type

Heading

{
  "text": "Welcome to Our Site",
  "tag": "h1",
  "_cssGlobalClasses": ["heading-1"],
  "_typography": {
    "font-family": "Inter",
    "font-size": "var(--text-3xl)",
    "font-weight": "700",
    "color": {"raw": "var(--color-secondary)"},
    "text-align": "center"
  }
}

Tex

Полный SKILL.md на GitHub

Установить bricks-layouts в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл bricks-layouts?

Create ready-to-paste sections and importable templates for Bricks Builder.

Как установить скилл bricks-layouts?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл bricks-layouts запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить bricks-layouts с