TrademarkTrademark
Docs
Ctrl k
Search docs...
Components

Line

Updated: October 18, 2026
View on GitHub
Soon
Not released yet. This is on main and is not in any published version yet. It will not install today.

Line draws a 1 point divider in neutral-alpha-medium. It is horizontal and fills its parent's width by default. See the web Line page.

Horizontal

Vertical

vert makes the line vertical. It fills the height of its parent, so give the row a height or content to measure against.

Colour and spacing

background takes any colour token. Line has no spacing props: set the space with the parent's gap, or pass a style.

Differences from the web

  • Fewer props. The native Line takes only vert, background and style. It has no spacing, size or Flex props, so set its spacing on the parent or in style.
  • No accessibility role. It is a plain view, so screen readers pass over it.

Props

Prop
Type
Default
Description
vertbooleanVertical, filling the parent's height.
backgroundColors"neutral-alpha-medium"Line colour token.
styleViewStyleApplied after the line's own style.
Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club