-
Notifications
You must be signed in to change notification settings - Fork 5
Extensions Reveal Control
Compatible With: Container blocks (Section, Row, Grid, Reveal) and their children Since: 1.0.0
The Reveal Control Extension adds hover-triggered reveal effects to container blocks. Child blocks can be hidden until you hover over the parent container, perfect for interactive cards, portfolio items, and progressive disclosure.
Key Features:
- Container toggle: Enable reveal mode on parent
- Child toggle: Mark blocks to reveal on hover
- Two animation types: Fade or Collapse
- Uses CSS transitions (smooth, performant)
- Context-aware (child controls only appear inside reveal containers)
- Create a Section, Row, or Grid block
- Select the container, open Reveal on Hover panel
- Toggle Enable Reveal Mode
- Add child blocks (image, heading, button, etc.)
- Select a child block, toggle Reveal on Hover in Reveal Settings
- Hover over container on frontend to reveal hidden blocks
- Enable Reveal Mode: Activates reveal behavior for container
- Collapse Animation: Toggle between fade (opacity only) or collapse (height + fade)
Only appears when block is inside a reveal-enabled container:
- Reveal on Hover: Hide this block until parent is hovered
- Fade: Smooth opacity transition (default)
- Collapse: Collapses from height 0 + fade (more dramatic)
- designsetgo/section: Vertical stack
- designsetgo/row: Horizontal flex
- designsetgo/grid: Grid layout
- designsetgo/reveal: Dedicated reveal block
Hide project details (description, tags, CTA) until hover.
Show name/photo by default, reveal bio/social links on hover.
Hide price and "Add to Cart" until user hovers (reduces visual clutter).
Reveal text overlays on image hover for cleaner gallery views.
DO:
- Use for supplementary content (not primary info)
- Provide visual hover cues (cursor pointer, scale, etc.)
- Test on touch devices (no hover state)
- Keep revealed content concise
- Use fade for subtle reveals, collapse for dramatic
DON'T:
- Hide critical information (mobile has no hover)
- Reveal navigation/CTAs only on hover
- Use on mobile-only sections (no hover on touch)
- Nest reveal containers (causes confusion)
- Hide accessibility-critical content
- Mobile Fallback: Revealed content stays visible on touch devices (no hover)
- Combine with Clickable Group: Reveal details on hover, click card to navigate
- Stacking: Reveal multiple elements at once (all marked for reveal)
- Selective Reveal: Mix revealed and always-visible children
- CSS Transitions: Smooth animations via CSS (no JavaScript)
- Touch Devices: First tap shows reveal, second tap triggers link (if clickable)
Container (Section):
- Enable Reveal Mode: ✓
- Animation: Fade
Always Visible:
- Product Image
- Product Title
Reveal on Hover:
- Price
- Description
- "Add to Cart" Button
Result: Clean card by default, full details on hover.
- Uses context API (
providesContextandusesContext) - CSS classes:
.dsgo-has-reveal(container),.dsgo-reveal-item(children) - Data attribute:
data-reveal-animation(fade or collapse) - Transitions controlled via CSS (performant, no JS)
- Children inherit reveal state from closest parent container
Auto-generated from
docs/extensions/REVEAL-CONTROL.md. To update, edit the source file and changes will sync on next push to main.
- Accordion
- Blobs
- Breadcrumbs
- Card
- Comparison Table
- Countdown Timer
- Counter Group
- Divider
- Flip Card
- Form Builder
- Grid
- Icon
- Icon Button
- Icon List
- Image Accordion
- Map
- Modal
- Modal Api Reference
- Modal Auto Triggers
- Modal Fse Compatibility
- Modal Gallery Navigation
- Modal Next Phase
- Modal Performance Fixes
- Modal Security Audit
- Modal Security Fixes Summary
- Modal Trigger
- Pill
- Progress Bar
- Reveal
- Row
- Scroll Accordion
- Scroll Gallery
- Section
- Slider
- Table Of Contents
- Tabs
- Timeline
- Animation
- Background Video
- Block Animations
- Clickable Group
- Custom Css
- Expanding Background
- Grid Mobile Order
- Grid Span
- Max Width
- Responsive Visibility
- Reveal Control
- Scroll Parallax
- Sticky Header
- Text Alignment Inheritance
- Text Reveal
- Ai Assisted Development
- Best Practices Summary
- Block Controls Organization
- Block Development Best Practices Comprehensive
- Block Exclusion Guide
- Control Reorganization
- Design System
- Wordpress Block Editor Best Practices
- Color Controls Pattern
- Custom Css Filters
- Performance Css Strategy
- Width Css Strategy Implementation
- Width Layout Patterns
- Antigravity Audit
- Card Block Audit
- Claude Audit
- Comprehensive Audit
- Cursor Audit
- Scroll Accordion Stacking Notes
- Security Review 1.2.1
- 2026 02 11 Icon Search Aliases Design
- 2026 02 14 Overlay Header Design
- 2026 02 15 Deactivation Block Migrator Design