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

تنسيق Select ·

ألوان دلالية، درجات كثافة، وأدوات عرض عبر فئات المعدّل على الأكورديون.

Preview

Subtle (default)

Semantic

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

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

Default
Accent
Brand
Alert
Info
Success

Variant

Variant modifiers control select surface treatment. Default is subtle (neutral fill and border; semantic roles tint text ink); add ui-solid for a filled surface.

Subtle (default)
Solid
Ghost

Semantic × variant

Combine semantic palette and variant treatment on the same host, for example select ui-accent ui-solid.

Base
Base
Base
Accent
Accent
Accent
Alert
Alert
Alert
Brand
Brand
Brand
Info
Info
Info
Success
Success
Success

الحجم

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

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

Rounded

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

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

أقصى عرض

Without max-w-*, width comes from component CSS. Default for select: 4xs (width: 100%).

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

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

default (4xs)

none

full

9xs

8xs

7xs

6xs

5xs

4xs

3xs

2xs

xs

sm

md

lg

xl

2xl

3xl

4xl

5xl

6xl

7xl

8xl

9xl

Max height

Use class="max-h-{step}" to set the maximum height of a select root.

Available options: none, full, screen, dvh, 9xs, 8xs, 7xs, 6xs, 5xs, 4xs, 3xs, 2xs, xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, 8xl, 9xl

default (select)

9xs

8xs

7xs

6xs

5xs

4xs

3xs

2xs

xs

sm

md

lg

xl

2xl

3xl

4xl

5xl

6xl

7xl

8xl

9xl