Skip to main content
Yoummday Light Light Dark System

Wrapper

<sl-wrapper> | SlWrapper
Since 2.47.5 stable

Render a wrapper with a border and background color.

German: B2 | Fluuent AI: 73%
<sl-wrapper>
  German: <b>B2</b>
  |
  <sl-button variant="text">
    Fluuent AI: 73%
  </sl-button>
</sl-wrapper>

Importing

If you’re using the autoloader or the traditional loader, you can ignore this section. Otherwise, feel free to use any of the following snippets to cherry pick this component.

Script Import Bundler React

To import this component from the CDN using a script tag:

<script type="module" src="https://v2-48-10.yoummday-theme.pages.dev/components/wrapper/wrapper.js"></script>

To import this component from the CDN using a JavaScript import:

import 'https://v2-48-10.yoummday-theme.pages.dev/components/wrapper/wrapper.js';

To import this component using a bundler:

import '@yoummday/ymmd-shoelace/dist/components/wrapper/wrapper.js';

To import this component as a React component:

import SlWrapper from '@yoummday/ymmd-shoelace/dist/react/wrapper';

Slots

Name Description
(default) The default slot.

Learn more about using slots.