list.tsx

src/components/list.tsx
import { clsx } from 'clsx'
import { Icon } from '@/components/icon'
export interface ListProps extends React.ComponentPropsWithoutRef<'ul'> {
/** Variant of the list - controls default styling */
variant?: 'default' | 'bulleted' | 'numbered' | 'unstyled'
/** Custom spacing between list items */
spacing?: 'tight' | 'normal' | 'loose'
/** Gap override - provide full Tailwind classes like 'gap-4' or 'gap-x-8 gap-y-4' */
gap?: string
/** Font size override */
fontSize?: string
/** Text color override */
color?: string | undefined
/** Font family override */
fontFamily?: string
/** Font weight override */
fontWeight?: string
/** Font style override */
fontStyle?: string

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