Enhanced Bricks
Adds optional motion, emphasis and interaction controls to 14 native Bricks elements. It extends the native elements rather than replacing them: nothing changes until you switch an element’s enhancements on, and every effect honours prefers-reduced-motion.
Version: 0.3.10 · Requires: PHP 8.0+, Bricks · See the live demos
What it does
- Heading: highlight phrases inside a normal heading, then reveal, rotate, replace or sequence them.
- Button, Image, Container / Block / Div, Section, Basic Text / Rich Text, Divider, Icon, Text Link, List and Icon Box each get their own set of effects.
- Container, Block, Div, Section and Icon Box can animate their direct children.
- Container, Block, Div and Section can reveal query-loop cards in sequence.
- Assets load only on pages that use an enhancement.
Installation
- In WordPress admin go to Plugins → Add New Plugin → Upload Plugin.
- Choose the zip and click Install Now, then Activate.
- Select a supported element in Bricks. The new control groups are on the Content and Style tabs.
Heading
Wrap the part you want enhanced in double square brackets inside a normal Bricks Heading:
Wildlife photography holidays built around [[the photograph]]
Several highlights work: [[Small groups.]] Better access. [[More time photographing.]]
Turn on Enable enhanced heading in the Enhanced heading group (Content tab).
- Mode — Emphasis / reveal (default), Rotate phrases, Replace once, Sequence highlights
- Motion effect — Fade (default), Typewriter, Slide up, Slide down, Blur, Clip reveal, Scale pop, Character reveal, None
- Replacement phrases — repeater, Rotate mode.
- Replacement text — Replace once. The first highlight is replaced.
- Rotating highlight — 1 (1 to 8). Which highlight rotates.
- Trigger — Page load, Enter viewport (default), Hover
- Duration (ms) — 500 (100 to 5000)
- Initial delay (ms) — 0 (0 to 10000)
- Phrase pause (ms) — 2200 (250 to 20000), Rotate mode.
- Sequence gap (ms) — 350 (0 to 5000), Sequence mode.
- Loop — On, Rotate mode.
- Reserve longest phrase width — On, Rotate mode. Stops the layout jumping.
- Replay when re-entering viewport — Off, viewport trigger.
- Reduced motion fallback — First phrase (default), Final phrase, Static highlighted text
Highlight style group (Style tab):
- Decoration — None (default), Underline draw, Marker sweep, Box draw, Hand-drawn circle, Strike through
- Text colour, Typography — applied to the highlighted text
- Decoration colour
- Marker opacity — 0.28 (0.05 to 1), marker decoration only
- Decoration thickness — 0.08em
Other elements
Turn on Enable enhancements in the Enhanced behaviour group, then choose an effect.
- Button — Lift, Arrow nudge, Directional fill, Shine sweep, Soft grow, None. Also hover text replacement; Movement (4px); Effect colour.
- Image — Hover zoom, Zoom and pan, Scroll parallax, Viewport reveal, Pointer tilt, None. Zoom scale 1.06 (1 to 1.5); Effect radius.
- Container, Block, Div — Pointer spotlight, Pointer tilt, Hover lift, Viewport reveal, Hover border, Border chase, Mouse-follow glow, Glass hover, None. Spotlight / glow size (260px); Effect colour.
- Section — Background parallax, Animated gradient, Reveal mask, Edge fade, None. Effect strength 32 (0 to 160); Accent colour.
- Basic Text, Rich Text — Word-by-word, Character-by-character, Fade reveal, Slide reveal, None. Trigger (Page load / Enter viewport); Stagger 35 ms; Duration 500 ms.
- Divider — Draw on viewport, Grow from centre, Subtle pulse, None. Duration 900 ms.
- Icon — Rotate on hover, Bounce, Viewport reveal, Pulse, SVG draw, Swap icon/content, None. Swap text / symbol; Rotation / movement 18; Reveal background.
- Text Link — Animated underline, Arrow reveal, Travelling underline, Text shift, Split text hover, None. Arrow character (→); Accent colour.
- List — Sequential item reveal, Animated bullets / icons, Connecting line, Progressive highlight, None. Item stagger 120 ms; Item duration 500 ms; Accent colour.
- Icon Box — Spotlight, Lift, Tilt, Viewport reveal, Animate icon, Sequence contents, None. Effect colour.
Animate children
Container, Block, Div, Section and Icon Box.
- Animate direct children — Off
- Child reveal — Fade up (default), Fade, Fade down, Slide left, Slide right, Blur, Scale
- Trigger — Page load, Enter viewport (default), Hover
- Stagger / Duration / Initial delay — 120 ms / 600 ms / 0 ms
- Child selector — Optional CSS selector. Empty animates direct children.
- Replay on re-entry — Off. Viewport trigger only.
Query loop reveal
Container, Block, Div and Section. Applies the list-style reveal to direct children, including Bricks query-loop cards.
- Reveal query loop items — Off
- Reveal style — Sequential item reveal (default), Animated bullets / icons, Connecting line, Progressive highlight, None
- Item stagger / duration — 120 ms / 500 ms
Enhanced text links
Basic Text and Rich Text. Animate links inside text applies a link animation (Animated underline default, Arrow reveal, Travelling underline, Text shift, Split text hover, None) to every link inside the element, with an arrow character setting (→).
Known limits
- Effects are applied per element and are opt-in.
- Icon swap works for text and symbol icons; swapping SVG or icon-font markup depends on the icon’s markup.