OptionalwidthsAn array of predefined widths to display in the dropdown. Each width should be a positive number. If not provided, a default set of widths will be used.
OptionalstrokeThe stroke color to use for the width swatch in the dropdown and trigger button.
OptionalshowIndicates whether to show the width label (e.g., "1px", "2px") next to the swatch in the trigger button and options.
OptionalhostOptional CSS class name to apply to the host element of the WidthSelect component. This allows for custom styling of the component.
OptionaltriggerOptional CSS class name to apply to the trigger button of the WidthSelect component. This allows for custom styling of the trigger button.
OptionalmenuOptional CSS class name to apply to the dropdown menu of the WidthSelect component. This allows for custom styling of the dropdown menu.
OptionaloptionOptional CSS class name to apply to each option in the dropdown menu. This allows for custom styling of the options.
OptionalswatchOptional CSS class name to apply to the swatch element of the WidthSelect component. This allows for custom styling of the swatch.
OptionallabelOptional CSS class name to apply to the label element of the WidthSelect component. This allows for custom styling of the label.
OptionalselectedOptional CSS class name to apply to the selected option of the WidthSelect component. This allows for custom styling of the selected option.
OptionalopenOptional CSS class name to apply when the WidthSelect component is open. This allows for custom styling when the component is open.
Configuration options for the WidthSelect component.