Content
Card
Core

Variant

Use Tailwind CSS to assign variant (e.g. border-color, background-color, text-color).

Interactive

Use Tailwind CSS to assign animation (e.g. translate, transition-property, transition-duration, transition-timing-function).

Size

Use Tailwind CSS to assign size (e.g. padding, font-size).

Content

Card content stack vertically.

Group

Use component utility .xt-card-group to stack card content horizontally.

SyntaxMixinVariantsDescription
Utility.xt-card-groupxt-card-groupresponsiveCard stack horizontal wrapper

Use .flex-auto and flex-direction to expand height.

Separator

Use Tailwind CSS to style borders for separation.

Overflow

Use Tailwind CSS to overflow divs. Use component classes to style overflow.

SyntaxMixinDescription
Component.xt-overflow-mainxt-overflow-mainOverflow scrollbar style
Component.xt-overflow-subxt-overflow-subOverflow scrollbar style small version

List

You can use list component to space card's internal content.

Close button

Use Tailwind CSS to assign size (e.g. padding, font-size).

Checks

Refer to form checks custom.