make.wordpress.org ![rw-book-cover](https://s.w.org/images/home/wordpress-default-ogimage.png) ## Metadata - Author: [[make.wordpress.org]] - Full Title: make.wordpress.org - Category: #articles - Document Tags: [[article]] [[processed]] - Summary: make.wordpress.org - URL: https://make.wordpress.org/core/2025/11/12/theme-json-border-radius-presets-support-in-wordpress-6-9/ WordPress now supports defining border radius presets in theme.json, allowing theme authors to provide a curated set of border radius values that users can select from in the Block Editor’s border controls. ##### The Problem Previously, users could only input custom border radius values manually through the text input and unit picker controls. This made it difficult for theme authors to maintain consistent border radius values across a site’s design system and provided no guidance to users about which border radius values fit the theme’s design language. ##### The Solution Following the pattern established by spacing sizes, WordPress now supports defining border radius presets in theme.json. These presets appear as visual options in the border radius control, allowing users to quickly select from predefined values while maintaining the ability to enter custom values when needed. ###### How to Use Border Radius Presets Theme authors can define border radius presets in their theme.json file under `settings.border.radiusSizes` : ``` { "version": 3, "settings": { "border": { "radiusSizes": [ { "name": "None", "slug": "none", "size": "0" }, { "name": "Small", "slug": "small", "size": "4px" }, { "name": "Medium", "slug": "medium", "size": "8px" }, { "name": "Large", "slug": "large", "size": "16px" }, { "name": "Full", "slug": "full", "size": "9999px" } ] } } } ``` ##### User Experience * With 1-8 presets: Users see a slider with stops for each border radius preset * With 9 or more presets: The control displays as a dropdown select menu * Users can always access custom value input through the custom button to the right of the control * The interface automatically adapts based on the number of presets defined This is a purely additive feature. Existing themes without border radius presets will continue to work as before, showing only the custom input controls. Themes can opt into this feature by adding border radius presets to their theme.json. [#dev-notes](https://make.wordpress.org/core/tag/dev-notes/), [#dev-notes-6-9](https://make.wordpress.org/core/tag/dev-notes-6-9/), make.wordpress.org, make.wordpress.org, 01k9w4k3b0xxqse6n5a8k2fwy5.