Constructs a new Separator component.
Optional initial data for the separator component.
Sets whether this separator should act as a visual divider.
Whether to render as a divider (defaults to false).
The updated Separator instance.
Sets the ID for the separator component.
The ID to set.
The updated Separator instance.
Sets the amount of spacing this separator provides.
The desired spacing level ('None', 'Small', 'Medium', 'Large').
The updated Separator instance.
Represents a separator component builder. Used to add visual spacing or dividers between components.
Example