Skip to content
Corex

Editable

Style

Semantic colors, visual variants, density, corner radius, and width on the editable root.

Preview

Subtle (default)

Semantic

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

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

Default
Accent
Brand
Alert
Info
Success

Variant

Variant modifiers control editable 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 editable ui-accent ui-solid.

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

Size

Use class="ui-size-{size}" to set the size of an editable.

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

SM
MD
LG
XL

Rounded

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

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

None
SM
MD
LG
XL
Full

Max width

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

Use class="max-w-{step}" to set the maximum width of an editable 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)

default (3xs)

none

none

full

full

9xs

9xs

8xs

8xs

7xs

7xs

6xs

6xs

5xs

5xs

4xs

4xs

3xs

3xs

2xs

2xs

xs

xs

sm

sm

md

md

lg

lg

xl

xl

2xl

2xl

3xl

3xl

4xl

4xl

5xl

5xl

6xl

6xl

7xl

7xl

8xl

8xl

9xl

9xl