Text Field
Navigation
TabsLayout
Tiered PageInputs
Text Field
Single-line text input with CJK IME composition support in a vertical interface.
$ npx verticallyworks add text-fieldDesign question
How does a text input compose CJK characters in a vertical context, and where does the IME candidate window appear?
Default
The input itself stays horizontal · CJK IME composition requires a horizontal baseline.
Typed text renders vertically here ↑
Type Korean, Japanese, or Chinese above. The field is horizontal (IME needs it); the resulting content flows vertically where it lives in the reader.
Source
The exact file npx verticallyworks add text-field copies into your project · yours to edit. Styling comes entirely from the design tokens.
Guidance
Do
- Set lang attribute to match content language for IME accuracy
- Keep input field horizontal even in vertical layouts · rotating input is disorienting
- Show placeholder text in the target language
Don't
- Apply writing-mode: vertical-rl to the input element itself
- Assume the IME candidate window won't obscure your vertical content
- Use a single text field for multi-line vertical prose