WP Manifestindependent plugin directory
manifest / editor / inverted-radius

Inverted Radius

Add inverted radius effects to your Gutenberg blocks for unique design possibilities.

★ 1stars
0.1.0latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/qarayahya/inverted-radius/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Plugin Banner

Add inverted radius effects to your Gutenberg blocks for unique design possibilities.

Features

  • Easy Integration: Simple controls in the block editor sidebar
  • Multiple Shape Types: Choose from various inverted radius shapes
  • Customizable Dimensions: Fine-tune size, X, and Y positioning
  • Block Support: Works with Group, Cover, and Image blocks
  • Real-time Preview: See changes instantly in the editor
  • Modern CSS: Uses CSS mask properties for smooth rendering

Requirements

  • WordPress 6.7 or higher
  • PHP 7.4 or higher
  • Modern browser with CSS mask support

Installation

Manual Installation

  1. Download the plugin files
  2. Upload to /wp-content/plugins/inverted-radius/ directory
  3. Activate the plugin through the 'Plugins' screen in WordPress

WordPress Admin Installation

  1. Go to Plugins → Add New
  2. Upload the plugin zip file
  3. Activate the plugin

Usage

  1. Edit a Block: Select any Group, Cover, or Image block in the editor
  2. Open Sidebar: Look for the "Border" section in the block settings sidebar
  3. Configure Inverted Radius:
    • Select a shape type
    • Adjust the size using the dimension control
    • Fine-tune X and Y positioning
  4. Preview: See the changes in real-time in the editor
  5. Publish: The effects will be applied on the frontend

Supported Blocks

  • Group Blocks: Perfect for creating unique content containers
  • Cover Blocks: Add distinctive frames to your hero sections
  • Image Blocks: Create eye-catching image frames

Technical Details

CSS Implementation

The plugin generates CSS mask properties based on your settings:

.has-inverted-radius {
  --mask: [generated mask value];
  mask: var(--mask);
  -webkit-mask: var(--mask);
}

Development

Project Structure

inverted-radius/
├── src/
│   ├── controls/
│   │   ├── dimension-control.js
│   │   └── inverted-radius-controls.js
│   ├── utils/
│   │   ├── generate-mask.js
│   │   └── icons.js
│   ├── index.js
│   └── index.scss
├── build/
├── inverted-radius.php
└── readme.txt

License

This plugin is licensed under the GPL-2.0-or-later license.

Support

For support, feature requests, or bug reports, please create an issue in the plugin repository.

Credits

Developed by blocklayouts for the WordPress community.

Releases

1 release.

Tag
Published
0.1.0 latest
Oct 1, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.