Appearance
Container ​
Max Widths
Loading...
- Tag:
<flint-container> - Class:
FlintContainer
Import ​
ts
import 'flint-ui'; // auto-registers all
// or
import { FlintContainer } from 'flint-ui';Usage ​
html
<flint-container></flint-container>Properties ​
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
disableGutters | disable-gutters | boolean | false | Determine the max-width of the container. The container width grows with the size of the screen. Set to false to disable maxWidth. / attribute: 'max-width', reflect: true, converter: { fromAttribute: (value: string | null): ContainerMaxWidth => value === null || value === 'false' ? false : value as ContainerMaxWidth, toAttribute: (value: ContainerMaxWidth): string | null => value === false ? null : value, }, }) maxWidth: ContainerMaxWidth = 'lg'; /** If true, the left and right padding is removed. |
fixed | fixed | boolean | false | Set the max-width to match the min-width of the current breakpoint. This logic is handled via CSS media queries. |
Slots ​
| Name | Description |
|---|---|
(default) | Default slot for content |
CSS Custom Properties ​
| Property | Default |
|---|---|
--flint-container-padding | 16px |
--flint-container-padding-sm | 24px |
--flint-container-xs | 444px |
--flint-container-sm | 600px |
--flint-container-md | 900px |
--flint-container-lg | 1200px |
--flint-container-xl | 1536px |