@inspirer-dev/hero-size-checkbox
v1.0.1
Published
A custom field plugin for Strapi v5 that provides a checkbox selector for hero widget sizes (XL, L, M, S).
Maintainers
Readme
Hero Size Checkbox
A custom field plugin for Strapi v5 that provides a checkbox selector for hero widget sizes (XL, L, M, S).
Features
- Checkbox selection for hero widget sizes: XL, L, M, S
- Returns data as an array of selected sizes
- Supports multiple selections
- Internationalization support (English and Russian)
Installation
This plugin is part of the Strapi project and is installed automatically.
Usage
- Add the custom field to your content type
- Select the "Hero Size Checkbox" field type
- Users can select multiple sizes from XL, L, M, S options
- The field returns an array of selected sizes
Data Structure
The plugin returns data in the following format:
{
"sizes": ["XL", "L", "M"]
}Configuration
No additional configuration is required. The plugin works out of the box.
Development
To build the plugin:
yarn buildTo watch for changes:
yarn watchLicense
MIT
