When to use
Use the rail to lay out an app for a foldable iPhone. Icon buttons go in the rail, and a text button or segmented control stays in a horizontal nav bar.
Props
| Prop | Values | Default | Description |
|---|---|---|---|
data-side | "start" | trailing edge | Puts the rail on the leading edge. |
--ios-rail-won .ios-screen | CSS length | 66px | Width of the rail. |