BRAID
Braid Logo
Resources
Releases
Gallery
Playroom
GitHub
Guides
Design Workflow
Development Workflow
Playroom Prototyping
Contribution
Testing Guide
Foundations
Layout
Tones
Iconography
Examples
Job Summary
Basic Form
Marketing Banner
Components
Accordion
Actions
Alert
Autosuggest
Badge
Bleed
Box
Button
ButtonIcon
ButtonLink
Card
Checkbox
Columns
ContentBlock
Dialog
Disclosure
Divider
Drawer
Dropdown
FieldLabel
FieldMessage
Heading
Hidden
HiddenVisually
Inline
List
Loader
MenuItem
MenuItemCheckbox
MenuItemDivider
MenuRenderer
MonthPicker
Notice
OverflowMenu
Page
PageBlock
Pagination
PasswordField
Radio
Deprecated
RadioGroup
Rating
Secondary
Stack
Stepper
Strong
Tabs
Tag
Text
TextDropdown
TextField
TextLink
TextLinkButton
Textarea
Tiles
Toggle
TooltipRenderer
useToast
CSS
atoms
breakpoints
globalHeadingStyle
globalTextStyle
responsiveStyle
vars
Logic
BraidPortal
BraidProvider
BraidTestProvider
Link
ThemeNameConsumer
useBreakpoint
Deprecated
useColor
useResponsiveValue
useSpace
useThemeName
PageBlock
Details
Details
Props
Props
Releases
Releases
Snippets
Snippets
View code
Code
Open in
Playroom
Provides a top-level page container, constraining the content width (using
ContentBlock
) while establishing common screen gutters on smaller devices.
Alternatives
ContentBlock
— For controlled width layout blocks
Maximum width
Use the
width
prop to adjust the maximum width of the page container. Choose from either
medium
or
large
.
View code
Code
Open in
Playroom
Screen gutters
Establishes consistent responsive gutters between the content and the screen edge.
Uses
xsmall
space on
mobile
and the semantic
gutter
on
tablet
and above.
Custom semantics
The HTML tag can be customised to ensure the underlying document semantics are meaningful. This can be done using the
component
prop and supports
div
(default),
article
,
aside
,
main
,
section
and
nav
.
BRAID
Braid Logo