xyd 0.1.0-alpha - Coming Soon

Components
/
Grid

Grid

A wrapper component that applies grid decoration styling to its children. This component uses a custom element xyd-grid-decorator to provide grid-based layout decoration.

Props

  • children
    React.ReactNode
    Required
  • cols
    2 | 3 | 4 | 5 | 6
:::grid
-
-
Row 1 Col 1
-
Row 1 Col 2
-
-
Row 2 Col 2
:::
Edit page
Built with

Show your support! Star us on GitHub ⭐️