Fusuma

Components / Small parts

divider

A thin line across the parent.

Try it

This is the Agent detail page of the gallery, running in your browser: divider is on it, and it is the real widget. Press Run, then use it.

Live: Agent detail, where divider is usedOpen full size

Also on this pagespritekey_value

A thin line across the parent.

Signature

pub const fn divider() -> Divider

Example

use fusuma::{column, divider, text};
let view = column((text("Above"), divider(), text("Below")));
let built = fusuma::doc::built::<(), _>(&view);
assert_eq!(built.texts(), ["Above", "Below"]);

All components · Source