@watheia/micro.base-ui.layout.page-frame
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Page frame

CSS components for readable columns.

centerColumn - main display width for most content, including images and text.

wideColumn - 'extra wide' display width, e.g. when putting large elements side by side.

textColumn - display width for readable areas. (headlines, paragraphs, etc)

Example

import { centerColumn, wideColumn, textColumn } from '@bit/bit.base-ui.layout.page-frame';

// ...

<div className={centerColumn}>
	normal content

	<div className={textColumn}>nice title</div>
	<div className={textColumn}>
		Lorem ipsum dolor sit amet, consectetur adipiscing elit.
		Suspendisse et sodales diam, sed sodales tellus.
		Nam sodales interdum dolor, eget euismod purus.
	</div>
<div>

<div className={wideColumn}>
	Content breaking out of regular layout
	{/* ... */}
<div>

Dependents (41)

Package Sidebar

Install

npm i @watheia/micro.base-ui.layout.page-frame

Homepage

watheia.io/

Weekly Downloads

1

Version

1.0.2

License

EPL-2.0

Unpacked Size

6.25 kB

Total Files

12

Last publish

Collaborators

  • waweb