XiodUI
HomeDocs
OverviewComponentsThemes & ColorsChangelog
⌘ K

Components

  • Accordion
  • Agent Steps
    New
  • Alert
  • Alert Dialog
  • Aspect Ratio
    New
  • Autocomplete
  • Avatar
  • Badge
  • Breadcrumb
  • Button
    Updated
  • Button Group
    New
  • Button Split
    New
  • Calendar
    New
  • Card
  • Carousel
    New
  • Checkbox
  • Circular Progress
    New
  • Collapsible
  • Color Picker
    New
  • Combobox
  • Command
  • Context Menu
    New
  • Copy To Clipboard
    New
  • Corner Badge
    New
  • Dashboard Grid
    New
  • Date Picker
    New
  • Dialog
  • Dot Matrix
    New
  • Draggable
    New
  • Drawer
    New
  • Empty
  • Field
  • Fieldset
  • File Upload
    New
  • Form
  • Frame
  • Gauge
    New
  • Grid
    New
  • Group
  • Input
  • Input Group
  • Input OTP
    New
  • Input Payment
    New
  • Input Phone
    New
  • Input Sensitive
    New
  • Kbd
  • Kinetic Click
    New
  • Label
  • List Box
    New
  • Loader
  • Marker
    New
  • Menu
  • Menubar
  • Message
    New
  • Meter
  • Morphic Toast
    New
  • Navigation Menu
  • Number Field
  • Option Picker
    New
  • Orb
    New
  • Pagination
  • Popover
  • Preview Card
  • Progress
  • Radio
  • Resizable
    New
  • Ruler Picker
    New
  • Scroll Area
  • Scroll Bar
    New
  • Select
  • Separator
  • Sidebar
  • Skeleton
  • Slider
    Updated
  • Sortable
    New
  • Switch
    Updated
  • Table
  • Tabs
  • Text
    New
  • Textarea
  • Timeline
    New
  • Toast
  • Toggle
  • Toggle Group
  • Toolbar
  • Tooltip
    Updated
  • Waveform
    New
  • Wheel Picker
    New
/
/

Loading...

Preview Skeleton

Installation Skeleton

Usage Skeleton

API Reference Skeleton

Sponsors

Support the development of XiodUI and help us build the best component library on Earth.

+++
Sponsor on GitHub

Grid

Previous: GaugeNext: Group

A comprehensive grid layout system for complex responsive and Bento layouts.

Preview

Loading Preview...

Installation

bun add xiod-ui

Usage

Imports

1import { Grid, GridItem } from "xiod-ui/grid";

Anatomy

1<Grid>2  <GridItem />3</Grid>

API Reference

Detailed documentation of properties and options.

Grid

PropTypeDefaultDescription
render
ReactElement<unknown, string
|JSXElementConstructor<any>>
|ComponentRenderFn<HTMLProps, {}>
|undefined
-Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
align
"center"
|"start"
|"end"
|"stretch"
|"baseline"
|null
|undefined
-
rows
1
|"none"
|2
|3
|4
|5
|6
|7
|8
|9
|10
|11
|12
|"subgrid"
|null
|undefined
-
columns
1
|"none"
|2
|3
|4
|5
|6
|7
|8
|9
|10
|11
|12
|"subgrid"
|null
|undefined
-
flow
"col"
|"row"
|"dense"
|"row-dense"
|"col-dense"
|null
|undefined
-
justify
"center"
|"start"
|"end"
|"stretch"
|"between"
|null
|undefined
-
gap
"base"
|"none"
|"sm"
|"lg"
|"md"
|"xl"
|null
|undefined
base

GridItem

PropTypeDefaultDescription
render
ReactElement<unknown, string
|JSXElementConstructor<any>>
|ComponentRenderFn<HTMLProps, {}>
|undefined
-Allows you to replace the component's HTML element with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render.
colSpan
1
|"auto"
|2
|3
|4
|5
|6
|"full"
|7
|8
|9
|10
|11
|12
|null
|undefined
-
rowSpan
1
|"auto"
|2
|3
|4
|5
|6
|"full"
|7
|8
|9
|10
|11
|12
|null
|undefined
-
colStart
1
|2
|3
|4
|5
|6
|7
|8
|9
|10
|11
|12
|13
|null
|undefined
-
colEnd
1
|2
|3
|4
|5
|6
|7
|8
|9
|10
|11
|12
|13
|null
|undefined
-
rowStart
1
|2
|3
|4
|5
|6
|7
|8
|9
|10
|11
|12
|13
|null
|undefined
-
rowEnd
1
|2
|3
|4
|5
|6
|7
|8
|9
|10
|11
|12
|13
|null
|undefined
-
GaugeGroup