Splendid Layouts

Splendid Layouts is a library designed to help you create layouts easily.

There are five kinds of layouts in this library — Shell, Macro, Micro, Positioning, and Component-based layouts.

Shell Layouts

Shell layouts are used to create the application or website shell. These contain the navigation, content, sidebar, and footer.

Examples of Shell Layouts

Shell Simple

Create a single-column shell with Header, Content, and Footer

Header
Content
Shell Grid

Create layouts with Header, Content, and up to two Sidebar.

Header
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Paragraph 5
Paragraph 6
Paragraph 7
Paragraph 8
Paragraph 9
Paragraph 10
Paragraph 11
Paragraph 12
Paragraph 13
Paragraph 14
Paragraph 15
Paragraph 16
Paragraph 17
Paragraph 18
Paragraph 19
Paragraph 20

Shell layouts are quite challenging to build because you gotta be mindful of the height of the viewport. But we’ve done it for you so you don’t have to worry about them!

Macro Layouts

Macro Layouts are used to create the general structure of the site. The classes here take you beyond 12-columns to create flexible layouts which can include Masonry and even Subgrids.

Examples of Macro Layouts

SimpleGrid

Creates a CSS Grid with any number of columns

Masonry

Make a masonry grid with items of uneven height

Most people think of macro layouts as the 12-column grid, but you and I both know there are more ways to layout!

Micro Layouts

Micro layouts are used within components. They help you arrange content, create sections, and divide things up for clear visual hierarchy.

Examples of Micro Layouts

Flow

Let elements flow from one line to another.

Lorem
ipsum
dolor
sit
amet
consectetur
adipisicing
elit
Esse
dolore
provident
nisi
assumenda
corporis
Dividers

Horizontal and vertical dividers made extremely easy to use

Vertical
Vertical
Horizontal

Positioning layouts

Positioning layouts help you place elements on any side, any edge, any corner, and even in the center with a single class.

Examples of Positioning Layouts

Pos

Position your element on any side or corner.

TopLeft
Top
TopRight
Left
Center
Right
BtmLeft
Bottom
BtmRight
Edge

Put your element on any edge — even in the corners

TopLeft
Top
TopRight
Left
Right
BtmLeft
Btm
BtmRight

You can further customize the position of your items if these aren’t enough! 😉

Component Based Layouts

There are components with predefined patterns. When we notice them, we’ll build them — so you can use them instead of reconstructing everything from scratch.

Examples of Component Based Layouts

Card

Make simple or complex cards by just writing some markup

One
Two
Three
Four
Hero Heading

Create hero elements with eyebrows with lesser effort

Eyebrow A Typical Heading

Use these components when you can! They are your friends!