VaneUI

VaneUI

Layout Components

Grid6

A six-column grid layout component for creating compact, organized displays. Ideal for icon grids, feature collections, and detailed content arrangements.

Basic Grid6

A six-column grid layout that creates balanced, visually appealing arrangements.

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
Item 7
Item 8
Item 9
Item 10
Item 11
Item 12
react-icon

BasicGrid6.tsx

<Grid6>
<div className="p-4 bg-gray-100 rounded">Item 1</div>
<div className="p-4 bg-gray-100 rounded">Item 2</div>
<div className="p-4 bg-gray-100 rounded">Item 3</div>
<div className="p-4 bg-gray-100 rounded">Item 4</div>
<div className="p-4 bg-gray-100 rounded">Item 5</div>
<div className="p-4 bg-gray-100 rounded">Item 6</div>
<div className="p-4 bg-gray-100 rounded">Item 7</div>
<div className="p-4 bg-gray-100 rounded">Item 8</div>
<div className="p-4 bg-gray-100 rounded">Item 9</div>
<div className="p-4 bg-gray-100 rounded">Item 10</div>
<div className="p-4 bg-gray-100 rounded">Item 11</div>
<div className="p-4 bg-gray-100 rounded">Item 12</div>
</Grid6>

Grid Sizes

Grids come in different sizes such as xs, sm, md, lg, xl.

Extra Small Grid6

1
2
3
4
5
6

Large Grid6

Item 1
Item 2
Item 3
Item 4
Item 5
Item 6
react-icon

GridSizes.tsx

<Col lg>
<div>
<Text semibold>Extra Small Grid6</Text>
<Grid6 xs>
<div className="p-1 bg-gray-100 rounded text-xs text-center">1</div>
<div className="p-1 bg-gray-100 rounded text-xs text-center">2</div>
<div className="p-1 bg-gray-100 rounded text-xs text-center">3</div>
<div className="p-1 bg-gray-100 rounded text-xs text-center">4</div>
<div className="p-1 bg-gray-100 rounded text-xs text-center">5</div>
<div className="p-1 bg-gray-100 rounded text-xs text-center">6</div>
</Grid6>
</div>
<div>
<Text semibold>Large Grid6</Text>
<Grid6 lg>
<div className="p-6 bg-gray-100 rounded">Item 1</div>
<div className="p-6 bg-gray-100 rounded">Item 2</div>
<div className="p-6 bg-gray-100 rounded">Item 3</div>
<div className="p-6 bg-gray-100 rounded">Item 4</div>
<div className="p-6 bg-gray-100 rounded">Item 5</div>
<div className="p-6 bg-gray-100 rounded">Item 6</div>
</Grid6>
</div>
</Col>

Grid with Gap Control

Control spacing between grid items for different layout requirements.

No Gap

1
2
3
4
5
6

With Gap

1
2
3
4
5
6
react-icon

GridwithGapControl.tsx

<Col lg>
<div>
<Text semibold>No Gap</Text>
<Grid6 noGap>
<div className="p-2 bg-gray-100 border text-center">1</div>
<div className="p-2 bg-gray-100 border text-center">2</div>
<div className="p-2 bg-gray-100 border text-center">3</div>
<div className="p-2 bg-gray-100 border text-center">4</div>
<div className="p-2 bg-gray-100 border text-center">5</div>
<div className="p-2 bg-gray-100 border text-center">6</div>
</Grid6>
</div>
<div>
<Text semibold>With Gap</Text>
<Grid6 gap>
<div className="p-2 bg-gray-100 rounded text-center">1</div>
<div className="p-2 bg-gray-100 rounded text-center">2</div>
<div className="p-2 bg-gray-100 rounded text-center">3</div>
<div className="p-2 bg-gray-100 rounded text-center">4</div>
<div className="p-2 bg-gray-100 rounded text-center">5</div>
<div className="p-2 bg-gray-100 rounded text-center">6</div>
</Grid6>
</div>
</Col>

Grid Appearances

Different background appearances to create visual hierarchy and organization.

Primary Background

1
2
3
4
5
6

Secondary Background

1
2
3
4
5
6
react-icon

GridAppearances.tsx

<Col lg>
<div>
<Text semibold>Primary Background</Text>
<Grid6 primary>
<div className="p-3 bg-white rounded shadow-sm text-center">1</div>
<div className="p-3 bg-white rounded shadow-sm text-center">2</div>
<div className="p-3 bg-white rounded shadow-sm text-center">3</div>
<div className="p-3 bg-white rounded shadow-sm text-center">4</div>
<div className="p-3 bg-white rounded shadow-sm text-center">5</div>
<div className="p-3 bg-white rounded shadow-sm text-center">6</div>
</Grid6>
</div>
<div>
<Text semibold>Secondary Background</Text>
<Grid6 secondary>
<div className="p-3 bg-white rounded shadow-sm text-center">1</div>
<div className="p-3 bg-white rounded shadow-sm text-center">2</div>
<div className="p-3 bg-white rounded shadow-sm text-center">3</div>
<div className="p-3 bg-white rounded shadow-sm text-center">4</div>
<div className="p-3 bg-white rounded shadow-sm text-center">5</div>
<div className="p-3 bg-white rounded shadow-sm text-center">6</div>
</Grid6>
</div>
</Col>

Icon Grid Example

Perfect for displaying collections of icons, features, or small cards in a compact layout.

Feature

Service

Product

Support

Tool

Resource

react-icon

IconGridExample.tsx

<Grid6>
<div
className="p-4 bg-gradient-to-br from-red-50 to-red-100 rounded text-center"
>
<div className="w-8 h-8 bg-red-400 rounded-full mx-auto mb-2" />
<Text xs>Feature</Text>
</div>
<div
className="p-4 bg-gradient-to-br from-blue-50 to-blue-100 rounded text-center"
>
<div className="w-8 h-8 bg-blue-400 rounded-full mx-auto mb-2" />
<Text xs>Service</Text>
</div>
<div
className="p-4 bg-gradient-to-br from-green-50 to-green-100 rounded text-center"
>
<div className="w-8 h-8 bg-green-400 rounded-full mx-auto mb-2" />
<Text xs>Product</Text>
</div>
<div
className="p-4 bg-gradient-to-br from-yellow-50 to-yellow-100 rounded text-center"
>
<div className="w-8 h-8 bg-yellow-400 rounded-full mx-auto mb-2" />
<Text xs>Support</Text>
</div>
<div
className="p-4 bg-gradient-to-br from-purple-50 to-purple-100 rounded text-center"
>
<div className="w-8 h-8 bg-purple-400 rounded-full mx-auto mb-2" />
<Text xs>Tool</Text>
</div>
<div
className="p-4 bg-gradient-to-br from-pink-50 to-pink-100 rounded text-center"
>
<div className="w-8 h-8 bg-pink-400 rounded-full mx-auto mb-2" />
<Text xs>Resource</Text>
</div>
</Grid6>

Grid6 Props

size

  • xs
  • sm
  • md
  • lg
  • xl
  • hide

  • xsHide
  • smHide
  • mdHide
  • lgHide
  • xlHide
  • items

  • itemsStart
  • itemsEnd
  • itemsCenter
  • itemsBaseline
  • itemsStretch
  • justify

  • justifyStart
  • justifyEnd
  • justifyCenter
  • justifyBetween
  • justifyAround
  • justifyEvenly
  • justifyStretch
  • justifyBaseline
  • position

  • relative
  • absolute
  • fixed
  • sticky
  • static
  • display

  • inline
  • block
  • inlineBlock
  • flex
  • inlineFlex
  • grid
  • inlineGrid
  • contents
  • table
  • tableCell
  • hidden
  • overflow

  • overflowAuto
  • overflowHidden
  • overflowClip
  • overflowVisible
  • overflowScroll
  • overflowXAuto
  • overflowYAuto
  • overflowXHidden
  • overflowYHidden
  • overflowXClip
  • overflowYClip
  • overflowXVisible
  • overflowYVisible
  • overflowXScroll
  • overflowYScroll
  • wrap

  • flexWrap
  • flexNoWrap
  • flexWrapReverse
  • gap

  • gap
  • noGap
  • flexDirection

  • row
  • column
  • rowReverse
  • columnReverse
  • reverse

  • reverse
  • appearance

  • default
  • accent
  • primary
  • secondary
  • tertiary
  • success
  • danger
  • warning
  • info
  • link
  • transparent

  • transparent
  • variant

  • filled
  • outline