columns.tsx

src/components/columns.tsx
import React from 'react'
import { clsx } from 'clsx'
interface ColumnsProps {
children: React.ReactNode
className?: string
/** Gap between columns - provide full Tailwind classes like 'gap-4 lg:gap-8' */
gap?: string
/** Grid columns - provide full Tailwind classes like 'grid-cols-1 lg:grid-cols-2' */
cols?: string
/** Alignment - provide full Tailwind classes like 'items-center' */
align?: string
reverseColumns?: boolean
}
function getColumnsDefaults() {
return {
gap: 'gap-20 lg:gap-20',
cols: 'grid-cols-1 lg:grid-cols-2',
align: 'items-center',

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC