Vertical

How to use pre-built layouts?

You can change the template as per your requirements. To configure it, we will use reducer.js. you can find the file src/slices/layouts/reducer.js in JS and src/slices/layouts/reducer.ts file in TS folder. (For Redux-Toolkit with Thunk version)

To switch the layout type in Velzon, you must specify the desired layout style as "Vertical." This can be achieved by modifying the layoutType value within the src/Components/constants/layout.js file for JavaScript or the src/Components/constants/layout.ts file for TypeScript. Specifically, for JavaScript, update the line to read layoutType : layoutTypes.VERTICAL, and for TypeScript, make the adjustment to layoutType : LAYOUT_TYPES.VERTICAL in the respective file.

Theme Options

Each of the theme configuration options is provided Below, you can change their values as per you need in INIT_STATE variable located in src/slices/layouts/reducer.js file in JS and src/slices/layouts/reducer.ts file in TS. (For Redux-Toolkit with Thunk version)

Note : if you are going to update any object property of INIT_STATE, make sure you use option's corresponding constant given in src/constants/layout.js file in JS and code>src/constants/layout.ts in TS. (Please do not change the constant's value in src/Components/constants/layout.js file in JS and src/Components/constants/layout.ts file in TS.)

Layout Width

image layoutWidthTypes.FLUID
image layoutWidthTypes.BOXED

Layout Position

layoutPositionTypes.FIXED
layoutPositionTypes.SCROLLABLE

Topbar Colors

image topbarThemeTypes.LIGHT
image topbarThemeTypes.DARK

Sidebar Sizes

image leftsidbarSizeTypes.DEFAULT
image leftsidbarSizeTypes.COMPACT
image leftsidbarSizeTypes.SMALLICON
image leftsidbarSizeTypes.SMALLHOVER

Sidebar View

image leftSidebarViewTypes.DEFAULT
image leftSidebarViewTypes.DETACHED

Sidebar Colors

image leftSidebarTypes.LIGHT
image leftSidebarTypes.DARK