Circle Progress Bar Block
Circle Progress Bar Block is a modern Gutenberg block plugin that adds beautiful circular progress indicators to your WordPress site. Perfect for displaying progress, statistics, or metrics in a visually appealing way. Source Code All uncompiled source code is included in this plugin. The production code in build/index.js is compiled from: Main Source File Located at src/index.js, this is the complete React source code for the block: `javascript import { registerBlockType } from ‘@wordpress/blocks’; import { InspectorControls } from ‘@wordpress/block-editor’; import { PanelBody, RangeControl, ColorPicker, TextControl, SelectControl, } from ‘@wordpress/components’; registerBlockType(‘circle-progress-bar/progress’, { title: ‘Circle Progress Bar’, icon: ‘chart-pie’, category: ‘widgets’, description: ‘A customizable circle progress bar.’, keywords: [‘progress’, ‘circle’, ‘chart’], supports: { html: false }, attributes: { percentage: { type: ‘number’, default: 75 }, size: { type: ‘number’, default: 100 }, strokeColor: { type: ‘string’, default: ‘#00aaff’ }, bgColor: { type: ‘string’, default: ‘#e6e6e6’ }, text: { type: ‘string’, default: ‘Progress’ }, useShadow: { type: ‘boolean’, default: false }, useGradient: { type: ‘boolean’, default: false }, strokeWidth: { type: ‘number’, default: 10 }, fontSize: { type: ‘number’, default: 20 }, fontColor: { type: ‘string’, default: ‘#333’ } }, // Full source code available in src/index.js // See GitHub repository for complete implementation }); Build Tools The production code is generated using standard WordPress tools: * @wordpress/scripts – For development and build * Webpack – For module bundling * Babel – For modern JavaScript compatibility Building from Source The source is in src/index.js Build tools are configured in package.json To compile: bash npm install npm run build Output goes to build/index.js Directory Structure To work with the source code: 1. Clone the GitHub repository: https://github.com/jqsafi/circle-progress-bar 2. Install dependencies: npm install 3. Start development server: npm start 4. Build production version: npm run build Features Fully Customizable Design Adjustable circle size and stroke width Custom colors for progress bar, background, and text Optional gradient effects Configurable font size and text Shadow effects available Block Editor Integration Easy to use block controls Live preview in editor Works with Full Site Editing (FSE) Multiple instances support Performance Optimized Lightweight SVG-based rendering No external dependencies Optimized for modern browsers Usage Basic Configuration After adding the block, set your desired percentage (0-100) in the block settings panel Customize the appearance: Change circle size using the “Size” slider Adjust stroke width using the “Thickness” slider Set colors for the progress bar, background, and text Enable/disable gradient effect Add custom text above or below the percentage Advanced Features Shadow Effects: Enable and customize shadow effects in the “Effects” panel Text Options: Configure font size, weight, and position Development The Circle Progress Bar Block is developed using modern JavaScript and follows WordPress coding standards. The source code is available on GitHub: GitHub Repository: https://github.com/jqsafi/circle-progress-bar Building from Source Clone the repository Install dependencies: npm install For development with live reload: npm start For production build: npm run build The plugin uses the following build tools: * @wordpress/scripts for development and build processes * webpack for bundling * Babel for JavaScript transpilation * ESLint and Prettier for code formatting Source files are located in: * src/ – Uncompiled JavaScript source code * build/ – Compiled and minified production code
Top keywords
- build13×2.56%
- source12×2.37%
- code11×2.17%
- progress11×2.17%
- default10×1.97%
- type10×1.97%
- block8×1.58%
- npm8×1.58%
- wordpress8×1.58%
- circle7×1.38%
- source code7×1.38%
- bar6×1.18%
ZoloBlocks – Advanced Gutenberg Blocks, Website Builder & Page Design Toolkit
ZoloBlocks is a collection of blocks, patterns, and page templates for the WordPress block editor. It helps you design complete pages using the native editor without a third-party page builder. Live Demo | Pro Version | Documentation What ZoloBlocks Provides A library of advanced blocks that extend the default WordPress block editor. Pre-designed patterns and page templates you can insert into pages. Full Site Editing compatibility with block themes. Dynamic content options for site, post, or user data. Query loop options for posts, products, or custom post types. Animation and visual effect options for supported blocks. Optional AI text generation to help draft headings and paragraphs (third-party service, see “External services” below). Pattern import and export for reuse across sites. Key Features Layout building with pre-built sections and templates. Responsive containers for mobile, tablet, and desktop. Mega menu for multi-level navigation. Dynamic content and query loop for posts or custom post types. Entrance and scroll-based animations on supported blocks. Optional AI text generation inside the editor (third-party service). Pattern import / export for reuse across pages or sites. Available Blocks ZoloBlocks ships 60+ free and pro blocks across categories such as Image, Slider & Carousel, Post, Review, Form, Popup, Utility, Creative, Loop & Animation, Grid & List, Single Page Elements, and Advanced. A full list with live demos is available at https://zoloblocks.com/demo/. Who Is It For Website designers, freelancers, agencies, bloggers, content creators, small business owners, portfolio builders, and digital marketers who want to design WordPress pages directly in the block editor. Support The team behind ZoloBlocks ships regular updates. For help, contact support. Visit BdThemes for more plugins and documentation. Source code The compiled JavaScript and CSS files in the build/ and assets/ directories are generated from the source code in the src/ directory. Public source repository: https://github.com/bdthemes/zoloblocks Build instructions: Clone the repository. Run npm install to install dependencies. Run npm run build to generate the production assets in build/. Run composer install to install PHP dependencies (used for development tooling only). External services This plugin connects to several third-party services. Each service is only contacted when the related feature is used or configured. No personal data is sent unless the corresponding feature is enabled or the user interacts with it. 1. Google reCAPTCHA Used by the Form block when the site administrator enables reCAPTCHA protection and provides site / secret keys in ZoloBlocks settings. – What is sent: the reCAPTCHA token generated in the visitor’s browser, the visitor’s IP address, and the configured secret key, sent to https://www.google.com/recaptcha/api/siteverify on form submission. The Google reCAPTCHA JavaScript (https://www.google.com/recaptcha/api.js) is loaded on pages containing a form when reCAPTCHA is enabled. – When: only when reCAPTCHA is enabled and a form is submitted. – Provider: Google LLC. Terms: https://policies.google.com/terms Privacy: https://policies.google.com/privacy 2. Google Maps Used by the Google Map block when added to a page. – What is sent: the configured Google Maps API key and a request to load the Google Maps JavaScript API from https://maps.googleapis.com/maps/api/js. The browser of any visitor viewing a page containing a Google Map block will load map tiles from Google. – When: only when a Google Map block is present on a page. – Provider: Google LLC. Terms: https://cloud.google.com/maps-platform/terms Privacy: https://policies.google.com/privacy 3. Google Fonts list (WordPress.org mirror) Optional. Used by the typography controls only when a site administrator enables Settings → Editor Options → Load Google Fonts catalog (WordPress.org mirror) in the ZoloBlocks dashboard. – What is sent: a simple HTTP GET request (no personal data) to https://s.w.org/images/fonts/wp-7.0/collections/google-fonts-with-preview.json to retrieve the list of Google Fonts. – When: only after the option is enabled, and only when the block editor needs to refresh the font list. – Provider: WordPress.org. Terms and privacy: https://wordpress.org/about/privacy/ 4. Zolo AI (AI text generation by Sigmative) Used by the optional AI text generation feature inside the block editor. – What is sent: the prompt text entered by the site administrator in the editor, and the API key configured in ZoloBlocks settings, sent to https://ai.sigmative.com/api/prompt/v1/generation/chat/completions. – When: only when an administrator clicks the AI generation action in the editor. – Provider: Sigmative. Privacy: https://sigmative.com/privacy-policy 5. Mailchimp (optional Form integration) Used only when a site administrator configures a Form block to send subscriber data to Mailchimp. – What is sent: the visitor’s email address, optional first name, the configured Mailchimp API key and list ID, sent to https:// .api.mailchimp.com/3.0/lists/{list_id}/members (where is the data center prefix derived from the API key). – When: only when a visitor submits a form whose Mailchimp integration has been configured by the administrator. – Provider: Intuit Mailchimp. Terms: https://mailchimp.com/legal/terms/ Privacy: https://www.intuit.com/privacy/statement/ 6. Custom Webhooks (optional Form integration) Used only when a site administrator pastes a custom webhook URL into the Form block settings. – What is sent: the visitor’s email address and optional first name, sent as a JSON POST request to the URL configured by the administrator. – When: only when a visitor submits a form whose webhook URL has been configured by the administrator. – Provider: the third-party service chosen by the administrator. The administrator is responsible for ensuring the destination has an appropriate privacy policy.