Skip to main content

Container

Responsive container with max-width constraints for centering and containing page content.

Import​

import { Box, Text } from '@scaffald/ui';

Basic Usage​

Live Preview
<ThemeProvider initialTheme="light">
<Box style={{maxWidth: 600, padding: 16, backgroundColor: '#f0f0f0'}}>
  <Text>Container content</Text>
</Box>
</ThemeProvider>

Props​

See the TypeScript definitions for the complete props API.

Accessibility​

  • Keyboard navigation support
  • Screen reader compatible
  • ARIA attributes included

Changelog​

See GitHub Releases for version history.