Effects · Gutenberg
Noise / Grain Section block for WordPress
Hero or section block with a cinematic animated film-grain noise overlay rendered via Canvas. Supports solid, gradient, and image backgrounds with full heading, subtext, and CTA controls.
Get Blockenberg
Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.
What it actually does
Hero or section block with a cinematic animated film-grain noise overlay rendered via Canvas. Supports solid, gradient, and image backgrounds with full heading, subtext, and CTA controls.
Inspector panels on this block: Content, Background, Noise Settings, Layout. Those titles come from index.js, not from a shared template.
Behavior controls: “Background Type” options: Solid Color, Gradient, Image; “Noise Tint” options: Dark (shadows), Light (halation), Colored (tinted); “Text Align” options: Left, Center, Right.
Where to find it
Gutenberg inserter → Effects → search “Noise / Grain Section” (block name `blockenberg/noise-section` in block.json). Style it in the sidebar after insert.
How to use Noise / Grain Section block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Noise / Grain Section”, insert it. Category: Effects.
- Configure inspector controls that exist on this block. Open Content. Set “Heading”, “Heading Tag”, “Subtext”, “Primary CTA”.
- Check the published page. The view script reads HTML data attributes: data-opts. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Heading | Text field in the inspector. block.json default: Make Noise.. Saved as `heading`. |
| Heading Tag | Select control; the chosen value is saved on the block. block.json default: h1. Saved as `tag`. |
| Subtext | Multiline text field in the inspector. block.json default: The gritty edge your brand deserves. Animated grain texture, zero compromise.. Saved as `subtext`. |
| Primary CTA | On/off toggle in the inspector. On by default. Saved as `showCta`. |
| CTA Label | Text field in the inspector. block.json default: Get Started. Saved as `ctaLabel`. |
| CTA URL | Text field in the inspector. block.json default: #. Saved as `ctaUrl`. |
| Secondary CTA | On/off toggle in the inspector. Off by default. Saved as `showCta2`. |
| Secondary Label | Text field in the inspector. Saved as `ctaLabel2`. |
| Secondary URL | Text field in the inspector. block.json default: #. Saved as `ctaUrl2`. |
| Background Type | Select control; the chosen value is saved on the block. Options: Solid Color; Gradient; Image. block.json default: gradient. Saved as `bgType`. |
| Image Opacity | Numeric range control in the inspector. Range 0–1. block.json default: 0.5. Saved as `bgImageOpacity`. |
| Gradient Angle | Numeric range control in the inspector. Range 0–360. block.json default: 135. Saved as `bgAngle`. |
| Noise Opacity | Numeric range control in the inspector. Range 0–0.5. block.json default: 0.3. Saved as `noiseOpacity`. |
| Noise Tint | Select control; the chosen value is saved on the block. Options: Dark (shadows); Light (halation); Colored (tinted). block.json default: dark. Saved as `noiseTint`. |
| FPS (animation speed) | Numeric range control in the inspector. Range 1–60. block.json default: 12. Saved as `noiseFps`. |
| Grain Scale | Numeric range control in the inspector. Range 0.5–4. block.json default: 1. Saved as `noiseScale`. |
| Text Align | Select control; the chosen value is saved on the block. Options: Left; Center; Right. block.json default: center. Saved as `textAlign`. |
| Section Height (px) | Numeric range control in the inspector. Range 200–1200. block.json default: 600. Saved as `sectionHeight`. |
| Content Max Width (px) | Numeric range control in the inspector. Range 300–1600. block.json default: 800. Saved as `maxWidth`. |
| Padding Top (px) | Numeric range control in the inspector. Range 0–300. block.json default: 100. Saved as `paddingTop`. |
| Padding Bottom (px) | Numeric range control in the inspector. Range 0–300. block.json default: 100. Saved as `paddingBottom`. |
| Background / Gradient From | Color control in the inspector. block.json default: #0a0a0f. Saved as `bgColor`. |
| Gradient To | Color control in the inspector. block.json default: #1e1b4b. Saved as `bgColor2`. |
| Heading | Color control in the inspector. block.json default: #ffffff. Saved as `textColor`. |
| Subtext | Color control in the inspector. block.json default: #94a3b8. Saved as `subtextColor`. |
| CTA Bg | Color control in the inspector. block.json default: #ffffff. Saved as `ctaBg`. |
| CTA Text | Color control in the inspector. block.json default: #0a0a0f. Saved as `ctaColor`. |
| CTA 2 Bg | Color control in the inspector. block.json default: transparent. Saved as `ctaBg2`. |
| CTA 2 Text | Color control in the inspector. block.json default: #ffffff. Saved as `ctaColor2`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-opts.
- Drawing happens on a canvas element after the page loads.
- An IntersectionObserver starts work when the block enters the viewport.
When this is the right block
- Hero or section block with a cinematic animated film-grain noise overlay rendered via Canvas. Supports solid, gradient, and image backgrounds with full heading, subtext, and CTA controls — that is the job of Noise / Grain Section, not a generic content block.
- Use it when you need the editor control labeled “Heading”, which exists on this block’s inspector.
- Inserter grouping: motion, overlays, and visual treatments.
Notes from the implementation
viewScript: this folder’s frontend.js is enqueued on the front end for this block.
FAQ
How do I add the Noise / Grain Section block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Noise / Grain Section”. It sits under Effects. After insert, open Content and set “Heading”, “Heading Tag”, “Subtext”, “Primary CTA”.
What makes Noise / Grain Section different from other Blockenberg blocks?
Hero or section block with a cinematic animated film-grain noise overlay rendered via Canvas. Supports solid, gradient, and image backgrounds with full heading, subtext, and CTA controls. Inspector labels on this block include “Heading”, “Heading Tag”, “Subtext”, “Primary CTA”.
Is the Noise / Grain Section Gutenberg block free?
Yes. Noise / Grain Section ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Noise / Grain Section to match my theme?
Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Content, Background, Noise Settings, Layout).
Related effects blocks
3D Text
Eye-catching 3D extruded text using CSS text-shadow layers and perspective transforms. Supports rotate-on-hover, float animation, and customizable depth, colors and typography.
Animated Text
Heading with animated cycling words — typewriter, fade, slide, or flip effects. Perfect for hero sections.
Card Carousel
Horizontal drag-to-scroll card carousel with rich cards, autoplay, arrows, dots, and responsive column settings.
Card Deck Slider
A 3D card deck slider where cards arc/fan out behind the front card and animate through the sequence.
Card Stack
A fanned or stacked pile of cards with hover-spread interaction. Perfect for testimonials, case studies, or feature highlights.
Confetti Button
A call-to-action button that triggers a burst of canvas confetti particles on click. Supports multiple confetti styles, custom colors, particle physics and link/action settings.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Noise / Grain Section from the Gutenberg inserter.