Demo
  • HEROES & NAV

    • Hero Sections
    • Bold Heroes
    • Breadcrumbs
    • Banner Patterns
    • Floating Bars

    SOCIAL PROOF

    • Single Reviews
    • Multi Reviews
    • Multi Reviews (Alt)
    • Testimonial Sliders
    • Logo Grids
    • Stats & Counters

    CONTENT

    • Simple Post
    • Advanced Post
    • Modern Post
    • Timeline
    • Team Sections
    • Changelog
    • Careers
    • Events

    FORMS & FEEDBACK

    • CTA Sections
    • Contact Forms
    • Newsletter
    • Cookie Consent
    • Toasts

    FEATURES

    • 3 Card features
    • 4 Card Features
    • 6 Card Features
    • Feature Blocks
    • Process

    INTERACTIVE

    • Toggle Panels
    • Tabbed Sections
    • Video Lightboxes
    • Swiper Sliders
    • Vertical Sliders
    • Thumbnail Siders
    • Marquee Tickers
    • Before / After

    COMMERCE & DATA

    • Pricing Sections
    • Comparation Tables
    • Data tables

    LAYOUT

    • Footer Sections
    • Image Grids
    • Empty States
    • 404 Pages

    NAVIGATION

    • Navigation Bars

    MEDIA

    • Image Block
    • Icon Block
    • Video Block
    • Video Lightbox Block
    • Avatar Block

    DISPLAY

    • Badge Block
    • Tag Block
    • Tooltip Block
    • Card Block
    • Divider Block
    • Breadcrumb Block

    Layout

    • Grid Block
    • Flex Block
    • Absolute Box Block

    TYPOGRAPHY

    • Heading Block
    • Paragraph Block
    • List Block
    • Blockquote Block

    INTERACTIVE

    • Button Block
    • Link Button Block
    • Accordion Block
    • Tabs Block
    • Slider Block
    • Thumbnail Slider Block
    • Marquee Block
    • Before After Slider Block

    DATA & CCOMMERCE

    • Data Table Block
    • Pricing Block
    • Progress Block
    • Timeline Block

    FORMS

    • Contact Form Block

    TECH & SAAS

    • Helios
    • Tempo
    • Verso
    • Ledge Finance

    TRAVEL & LEISURE

    • Meridian
    • Traverse
    • Vela
    • Wildpath
    • Poseidon

    HOSPITALITY

    • Wineatic
    • Trattoria Sole
    • Santa Lucia

    SERVICES & DESIGN

    • Kova
    • Haven Studio
    • Volta
    • Pxlcraft
    • Apex Agency

    SPECIALITY

    • Bright Smile
    • Dentist Modern
    • Bento
  • Ecommerce
  • Docs
Websites
Patterns
HEROES & NAV
Hero SectionsBold HeroesBreadcrumbsBanner PatternsFloating Bars
SOCIAL PROOF
Single ReviewsMulti ReviewsMulti Reviews (Alt)Testimonial SlidersLogo GridsStats & Counters
CONTENT
Simple PostAdvanced PostModern PostTimelineTeam SectionsChangelogCareersEvents
FORMS & FEEDBACK
CTA SectionsContact FormsNewsletterCookie ConsentToasts
FEATURES
3 Card features4 Card Features6 Card FeaturesFeature BlocksProcess
INTERACTIVE
Toggle PanelsTabbed SectionsVideo LightboxesSwiper SlidersVertical SlidersThumbnail SidersMarquee TickersBefore / After
COMMERCE & DATA
Pricing SectionsComparation TablesData tables
LAYOUT
Footer SectionsImage GridsEmpty States404 Pages
Blocks
NAVIGATION
Navigation Bars
MEDIA
Image BlockIcon BlockVideo BlockVideo Lightbox BlockAvatar Block
DISPLAY
Badge BlockTag BlockTooltip BlockCard BlockDivider BlockBreadcrumb Block
Layout
Grid BlockFlex BlockAbsolute Box Block
TYPOGRAPHY
Heading BlockParagraph BlockList BlockBlockquote Block
INTERACTIVE
Button BlockLink Button BlockAccordion BlockTabs BlockSlider BlockThumbnail Slider BlockMarquee BlockBefore After Slider Block
DATA & CCOMMERCE
Data Table BlockPricing BlockProgress BlockTimeline Block
FORMS
Contact Form Block
Demos
TECH & SAAS
HeliosTempoVersoLedge Finance
TRAVEL & LEISURE
MeridianTraverseVelaWildpathPoseidon
HOSPITALITY
WineaticTrattoria SoleSanta Lucia
SERVICES & DESIGN
KovaHaven StudioVoltaPxlcraftApex Agency
SPECIALITY
Bright SmileDentist ModernBento
EcommerceDocs
On This Page
Contact Form BlockForm SelectionInput StylingLabelsSubmit ButtonCheckbox & RadioField LayoutAll Available Controls
Blocks
Grid Block
Grid Item Block
Flex Block
Absolute Block
Heading Block
Paragraph Block
List Block
Image Block
Icon Block
Video Block
Video Lightbox Block
Button Block
Accordion Block
Tabs Block
Slider Block
Slider Item Block
Thumbnail Slider
Thumbnail Slider Item
Marquee Block
Marquee Item Block
Before / After
Data Table Block
Pricing Card Block
Progress Bar Block
Timline Block
Header Block
Simple Header
Advanced Header
Advanced Header Featured
Float Header
Blog Listing Block
Separator Block
Contact Form Block
Docs

/

Contact Form Block

Contact Form Block

Embeds a Contact Form 7 form with full visual customization over inputs, labels, buttons, checkboxes, radios, selects, and field layout. Form fields are defined in CF7 — this block controls how they look.

CONTACT FORM

First Name

John

Last Name

Doe

Email

john@example.com

Message

Your message…

Send Message

Dynamic block

Dynamic block — rendered by render.php on each page load. The save() function returns null. Form markup is generated server-side from the selected Contact Form 7 form.

Requires Contact Form 7 plugin

This block requires the Contact Form 7 plugin to be installed and active. Form fields, validation, and email delivery are managed entirely by CF7 — this block provides the visual layer.

When to use this block

  • Contact forms, enquiry forms, feedback forms
  • Newsletter sign-up forms with styled inputs
  • Multi-field forms with custom grid layout and field widths
  • Forms with checkboxes, radios, or file uploads that need branded styling

Form Selection

Pick which Contact Form 7 form to embed. The dropdown lists all published CF7 forms by title.

Form

Sidebar Panel

Form ID

Contact Form 1

HOW IT WORKS

The formId attribute stores the CF7 post ID. At render time, render.php calls CF7’s shortcode to output the form HTML, then applies your visual customizations via inline styles and CSS classes.

No form selected? The block shows a placeholder prompt in the editor.

Input Styling

Control the look of text inputs, email fields, number fields, and textareas. All color values are hex.

Input Styling

Sidebar Panel

Background

#FFFFFF

Text Color

#171717

Placeholder

#AOAOAO

Border Color

#E4E4E4

Focus Color

#171717

Border Radius

8

px

Padding

12 16

px

Font Size

14

px

TEXTAREA EXTRAS

Textareas share all input styles plus two additional controls: textareaHeight (px) and textareaBorderRadius (px, overrides the shared input radius).

PREVIEW

Default state

Focused state

Labels

Style the <label> elements generated by Contact Form 7.

Labels

Sidebar Panel

Color

#525252

Font Size

13

px

Font Weight

500

Margin Bottom

6

px

LABEL WEIGHTS

Normal (400)

Medium (500)

Semi-Bold (600)

Bold (700)

Margin bottom sets the gap between the label text and the input below it.

Submit Button

Full control over the submit button appearance including hover states, border, radius, and width mode.

Submit Button

Sidebar Panel

Background

#171717

Hover Bg

#3D3D3D

Text Color

#FFFFFF

Hover Text

#FFFFFF

Border

--

Border Radius

8

px

Padding

12 24

px

Font Size

14

px

Font Weight

600

Full Width

TRY HOVERING

Auto width

Send Message

Full width

Send Message

Outline style

Send Message

Checkbox & Radio

Both checkboxes and radios support three display modes. Each mode has its own set of styling controls.

Standard

Option A

Option B

Custom checkmark icon, size, and colors. Works for both checkbox and radio.

Chip

Design
Dev
Marketing

Pill-style toggles. Selected chip gets active background and text colors.

Card

Starter

For individuals

Pro

For teams

Radio only. Supports image, heading, and body text with column layout.

Display mode notes

  • Standard checkboxes: custom checkmark icon URL, icon size, checked/unchecked background and border colors
  • Chip mode: pill-shaped toggles with active/inactive background, text, and border colors
  • Card mode (radio only): columns, gap, font sizes/colors, image + heading + body alignment

Field Layout

Control field ordering, individual widths, and spacing between fields using a CSS grid layout.

Field Layout

Sidebar Panel

Gap X

16

px

Gap Y

20

px

Field Order

JSON array

Field Widths

JSON object

GRID EXAMPLE

First Name (50%)

Last Name (50%)

Email (100%)

Message (100%)

fieldOrder controls the sequence. fieldWidths sets each field’s percentage width within the grid row.

All Available Controls

Form Selection CF7 form ID, dependency

formId: the Contact Form 7 post ID. Selected via a dropdown that lists all published CF7 forms. Required — without it the block renders a placeholder.

Input & Textarea Background, text, border, focus, radius, padding, font

inputBg, inputTextColor, inputPlaceholderColor, inputBorderColor, inputFocusColor, inputBorderRadius (px), inputPadding (px), inputFontSize (px). Textarea adds textareaHeight (px) and textareaRadius (px, overrides shared radius).

Labels & Section Labels Color, size, weight, margin, transform

Field labels: labelColor, labelFontSize, labelFontWeight, labelMarginBottom. Section labels: sectionLabelColor, sectionLabelFontSize, sectionLabelFontWeight, sectionLabelSpacing (letter-spacing), sectionLabelTransform (text-transform, e.g. uppercase).

Submit Button Colors, hover, border, radius, padding, font, width

submitBg/submitHoverBg, submitTextColor/submitHoverTextColor, submitBorder, submitBorderRadius (px), submitPadding (px), submitFontSize (px), submitFontWeight. Width: auto (inline) or full-width (100%).

Checkbox & Radio Standard, chip, card modes + all sub-controls

Checkbox (3 modes): Standard — custom checkmark icon URL, icon size, checked/unchecked bg, checked/unchecked border. Chip — pill toggles with active/inactive bg, text, border. Card — radio only.
Radio (3 modes): Standard — same as checkbox standard. Chip — same as checkbox chip. Card — columns, gap, font sizes, active/inactive colors, image + heading + body layout and alignment.

Select & File Upload Dropdown arrow, menu, options + upload button

Select dropdown: selectArrowColor,  selectMenuBg,  selectMenuBorderColor,  selectMenuBorderRadius,  selectOptionColor, selectOptionHoverColor.
File upload: styled file-upload button inherits submit button styling by default; override with dedicated file upload controls.

Layout & Feedback Field order, widths, gaps, error/success colors

gapX/gapY (px): horizontal and vertical spacing between fields. fieldOrder: JSON array defining field sequence. fieldWidths: JSON object mapping field names to percentage widths. errorColor/successColor: hex values for validation feedback messages.

Related Blocks

Button Block

Standalone styled button — shares similar color and hover patterns with the submit button controls.

Grid Block

For wrapping forms inside responsive grid layouts with column and gap control.

Brandname

Building tools that help teams move faster, ship better, and stay aligned.

Product

  • Features
  • Pricing
  • Integrations
  • Changelog

Company

  • About
  • Blog
  • Careers
  • Press

Resources

  • Documentation
  • API Reference
  • Support
  • Status

© 2026 Brandname. All rights reserved.

Privacy Policy
Terms of Service