Anolis
Read the docs

Container

import { Container } from "anolis-ui";
export type ContainerVariant = "normal" | "fluid";
export interface ContainerThemeProps extends ComplementThemeProps, PseudoProp {
}

Basic

Cointainer component is used to contain other components, with set width and padding for each screen size. Width of normal variant is based on breakpoints. Anolis default theme use this max-widths:

_xxsxssmmdlgxl2xl
100%100%100%32em40em56em64em84em
Container
<Container bg="anolis-green-400">Paragraph</Container>

Fluid

Fluid container is 100% width with a set padding. Just use fluid variant.

Need help or just wanna chat a bit?
Join Anolis on Discord

Powered by

Vercel.com

Created by

Appio.cz