GitHub

Container

The Container component serves as a wrapper for other components.

Preview

This is a sample text in container.

API Reference

proptypedefaultdescription
packagetyping.Literal['flect']flectNone
class_nametyping.Optional[str]NoneSpecifies the Tailwind CSS classes for the component.
childrenflect.components.AnyComponents[]The children of the component.
tagtyping.Literal['div', 'section', 'header', 'footer', 'main', 'nav', 'aside']divSpecifies the HTML tag for the container.