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
Spread
New
Stack
Stepper
Strong
Tabs
New
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
BraidPortal
Details
Details
Props
Props
Releases
Releases
This component cannot be server-rendered. It should only be rendered based on state that is updated client-side by user actions.
Declaratively render a React portal while maintaining the current Braid theme.
<
BraidPortal
>
...
</
BraidPortal
>
Copy
Open in
Playroom
Choosing a container
Portals are rendered to the
body
element by default, but this can be configured via the
container
prop.
<
BraidPortal
container
=
{
someRef
.
current
}
>
...
</
BraidPortal
>
Copy
Open in
Playroom
BRAID
Braid Logo