Section band
The hatched band between two sections, /0.1 → /0.2 and the next one's name. It takes the rule of the block above.
import { SectionBand } from "@forgeron/ui";/0.1 → /0.2[ Under the hood ]
import { SectionBand } from "@forgeron/ui";
export default function Default() {
return <SectionBand from="/0.1" to="/0.2" label="Under the hood" />;
}A card with corner brackets
/0.2 → /0.3[ Resources ]
import { SectionBand } from "@forgeron/ui";
// The page's column: fg-rail rules both sides; cards take fg-ticks, drawings fg-dots.
export default function OnTheRail() {
return (
<div className="fg-rail">
<div className="fg-ticks" style={{ padding: 24 }}>
A card with corner brackets
</div>
<SectionBand className="fg-rail" from="/0.2" to="/0.3" label="Resources" />
<div className="fg-dots" style={{ height: 120 }} />
</div>
);
}API → Props
| Prop | Type | Default | Description |
|---|---|---|---|
from | string | — | The coordinate of the section above. |
to | string | — | The coordinate of the section below. |
label | string | — | What comes next, shown in brackets. |
className | string | — | fg-rail to sit on the page's rail. Cards take fg-ticks (corner brackets), drawings fg-dots. |