Skip to main content
Version: Next

Container API

import { Container } from '@editora/ui-react';

Props​

PropTypeDescription
size'sm'|'md'|'lg'|'xl'

Also accepts the standard HTML and React props of the element it renders (className, style, id, aria-*, data-*, event handlers).

Element: <ui-container>​

Container renders the ui-container custom element from @editora/ui-core, which can also be used without React.

Attributes: density, headless, size, variant

Events: resize