Skip to content

CenteredContainer

Storybook
GitHub

The <CenteredContainer> component is a max-width content container that's centered on the page. It is another component that Nerds use as part of the Currency layout toolkit to more easily translate Figma assets that've been created to the Currency Grid, into code.


Variants

Default


Development

import { CenteredContainer } from '@nerdwallet/react-layout';
<CenteredContainer>Children go here!</CenteredContainer>;

Props

<CenteredContainer>

children

node

Required