تخطي إلى المحتوى
Corex

مجموعة التبديل

النمط البصري

نص دلالي عند الإيقاف، لون ممتلئ عند التحديد؛ كثافة، نصف قطر، وخلفيات باهتة عند التعطيل.

Semantic

Use class="ui-{role}" to set the semantic palette of a toggle group.

Available options: accent, alert, brand, info, success

الحجم

Use class="ui-size-{size}" to set the size of a toggle group.

Available options: xs, sm, md (default), lg, xl

Rounded

Use class="ui-rounded-{step}" to set the corner radius of a toggle group.

Available options: none, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, full (default)

Width

Without w-*, width comes from component CSS. Default for toggle-group: 3xs (width: fit-content).

Use class="w-{step}" to set the host stretch mode of a toggle group (`w-full`, `w-fit`); use Max width for named container steps.

Available options: default (fit-content), full, fit

default (fit-content)

full

fit

أقصى عرض

Without max-w-*, width comes from component CSS. Default for toggle-group: 3xs (width: fit-content).

Use class="max-w-{step}" to set the maximum width of a toggle group root.

Available options: none, full, 9xs, 8xs, 7xs, 6xs, 5xs, 4xs, 3xs (default), 2xs, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, 8xl, 9xl

default (3xs)

none

full

9xs

8xs

7xs

6xs

5xs

4xs

3xs

2xs

xs

sm

md

lg

xl

2xl

3xl

4xl

5xl

6xl

7xl

8xl

9xl

معطّل