Skip to content
Sylhet Design System

Layout primitives and typography elements

Every block below is sample content that shows one class from layout.css or typography.css. Resize the window to see the layouts respond to their own space.

The header above uses .sds-sticky.

Layout primitives

.sds-split

Sample: first half
Sample: second half

.sds-sidebar-layout

Sample: sidebar
Sample: main area. It wraps below the sidebar when it would be narrower than half the container.

.sds-center

Sample: a centred column capped at the reading measure.

.sds-cover

Sample: top

Sample: principal element, centred vertically

Sample: bottom

.sds-frame

Sample 16 / 9
Sample 1 / 1

.sds-switcher

Sample one
Sample two
Sample three

.sds-reel

  • Sample item 1
  • Sample item 2
  • Sample item 3
  • Sample item 4
  • Sample item 5
  • Sample item 6

.sds-divider

Sample text above a plain rule.


Sample text below a labelled rule.

.sds-scroll-area

Sample paragraph one. This region scrolls inside a fixed maximum height. Focus it with the Tab key and use the arrow keys to scroll.

Sample paragraph two.

Sample paragraph three.

Sample paragraph four.

Sample paragraph five.

Typography elements

.sds-lead

Sample: an introductory paragraph set larger than body text.

.sds-blockquote

Sample: a short quotation used to show the blockquote style.

Sample source

.sds-list-unstyled

  • Sample item without a bullet
  • Sample item without a bullet

.sds-list-check

  • Sample point one
  • Sample point two
  • Sample point three

.sds-code-inline and mark.sds-highlight

Sample: set --sds-ratio on a frame. A search result can mark the matched words in a sentence.

.sds-truncate

Sample: a long single line of text that will be cut with an ellipsis

.sds-balance and .sds-pretty

Sample: a short heading-like line that wraps in balanced lengths

Sample: a paragraph that avoids leaving a single word alone on its last line.