Landsoul Extra

Everything works without JavaScript.

<link rel="stylesheet" href="//unpkg.com/landsoul/dist/extra.css" />
@import url(//unpkg.com/landsoul/dist/extra.css) layer(extra);

.landsoul-carousel

When data-height is set, the carousel will adjust its height accordingly and automatically grouped into columns.

.landsoul-divider

An alternative to the <hr> element, which allows you to add extra content.

.landsoul-drawer

An easy-to-use drawer component based on popover API.

left
bottom
right
top

.landsoul-list

A versatile list component that supports item selection, nested lists, and expandable groups using the <details> element.

.landsoul-popover

Use one of the following 4x4 classes for positioning the popover:

landsoul-popover-bottom-{left, span-left, right, span-right}

landsoul-popover-top-{left, span-left, right, span-right}

landsoul-popover-right-{top, span-top, bottom, span-bottom}

landsoul-popover-left-{top, span-top, bottom, span-bottom}

popover
content
popover
content
popover
content
popover
content

Invoker Commands

I am the popover
I am the dialog
// Polyfill
import "https://esm.sh/invokers-polyfill";

Interest invokers

// Polyfill
import "https://esm.sh/interestfor";

.landsoul-skeleton

.landsoul-spinner

We can use css var --size or data-size attribute to control the size of the spinner.

We can also use the spinner as a button.

.landsoul-switch

.landsoul-switch is a styled checkbox which acts as a toggle switch.

.landsoul-tabs

.landsoul-tabs is a simple tabs component, each child element represents a tab panel, and data-label attribute is used for the tab label.

One
Two
Three

.landsoul-tooltip

It is recommended to use .landsoul-popover with popover="hint" instead of this.