Layout scaffolding for Web apps.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
TheoryOfNekomata fd8c6d7a40 Add variables for layouts vor 1 Jahr
packages Add variables for layouts vor 1 Jahr
.editorconfig Initial commit vor 3 Jahren
.gitignore Major refactor vor 1 Jahr
LICENSE Major refactor vor 1 Jahr
README.md Add variables for layouts vor 1 Jahr
pnpm-lock.yaml Make Remix and Next consistent vor 1 Jahr
pnpm-workspace.yaml Refactor to tailwind vor 1 Jahr

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-topbar

Default value: white

Background colors of the topbar widget from the library.

--color-sidebar

Default value: white

Background colors of the main sidebar from the library.

--color-sidebar-menu

Default value: white

Background colors of the main sidebar menu from the library.