Layout scaffolding for Web apps.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
TheoryOfNekomata 3fc2c3c22a Make Remix and Next consistent 9 kuukautta sitten
packages Make Remix and Next consistent 9 kuukautta sitten
.editorconfig Initial commit 3 vuotta sitten
.gitignore Major refactor 1 vuosi sitten
LICENSE Major refactor 1 vuosi sitten
README.md Update README 1 vuosi sitten
pnpm-lock.yaml Make Remix and Next consistent 9 kuukautta sitten
pnpm-workspace.yaml Refactor to tailwind 9 kuukautta sitten

README.md

Viewfinder

Layout scaffolding for Web apps.

This library is made to avoid custom repetitive layout code.

Usage

See the kitchen sink for examples.

The available props per layout are included as a TypeScript declarations file.

Configuration

There are CSS variables that can be declared in the parent of the *.Layout components (preferably :root) for customizing the metrics of the layout:

--height-topbar

Default value: 4rem

Height of the top bar widget.

--size-menu

Default value: 4rem

Width or height of the menu, depending on the orientation it is rendered.

--color-background

Default value: white

Background colors of several widgets from the library.