Components
API Reference

API Reference

Content containers allow merchants to easily scan information to understand its hierarchy and rhythm.

<Container>
  <Content>...</Content>
</Container>

Parameters

props

  • Type: @vtex/shoreline-components.ContentProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>

Props

asChild (optional)

Children composition

  • Type: boolean

  • Default: false

narrow (optional)

Decrease the space token in top and bottom padding.

  • Type: boolean

  • Default: false

View source (opens in a new tab)