Fundamentals
Components
Code Utilities
Demo
BcClamp
Description
The Clamp is commonly added to layouts. Use it to add margin, max-width, and padding to your content area. This ensures your content remains well-centered.
Style functionality is inherited from BcBaseStyledComponent. You could also use a BcAutoGrid or BcFlex for additional functionality.
Combine this with the BcBreakPointListener to dynamically adjust the content width.
BcContentInjector Attributes
Margin
string
Recommended value: 'auto' to center your content dynamically.
MaxWidth
string
Defines the maximum width for your content, such as '800px'.
Padding
string
Applies padding to the top and bottom of your layout, e.g., '20px 10px'.