Button
Navigation
TabsLayout
Tiered PageActions
Button
Trigger an immediate action. In a vertical interface, label and icon orientation must match the reading axis.
$ npx verticallyworks add vertical-buttonDesign question
Where does the label sit relative to the touch target when the button is oriented for a vertical layout?
DecisionRotation alone doesn't make a vertical button · apply writing-mode to the label itself.
Default
Primary다음 장
Outline이전 장
Ghost설정
Disabled비활성
Source
The exact file npx verticallyworks add vertical-button copies into your project · yours to edit. Styling comes entirely from the design tokens.
Guidance
Do
- Use writing-mode: vertical-rl on the label itself
- Keep touch target minimum 44×44px regardless of visual size
- Match label direction to surrounding reading flow
Don't
- Rotate a horizontal button with transform: rotate(90deg)
- Use icon-only buttons without an accessible label
- Assume tap target equals the visible text bounds
Accessibility
Min touch target 44×44. aria-label in the UI language. Focus ring must follow vertical orientation.
Open question
Should icon-only vertical buttons place the icon above or below the label? Does reading direction change this answer?