# SmallTilesSection Component A section component that displays multiple CardIcon components in a responsive grid layout. This component is tightly coupled to CardIcon and creates a grouping of card icons with consistent styling and behavior. ## Overview The SmallTilesSection component provides: - Responsive grid layout (1 column mobile, 2 tablet, 3 desktop) - Automatic spacer optimization for small card sets (≤8 cards) - Consistent variant application across all cards - Semantic HTML structure with proper accessibility ## Basic Usage ```tsx import { SmallTilesSection } from "@/shared/components/SmallTilesSection/SmallTilesSection"; function MyComponent() { const cards = [ { icon: "/icons/javascript.svg", iconAlt: "JavaScript", label: "JavaScript", href: "/docs/javascript", }, { icon: "/icons/python.svg", iconAlt: "Python", label: "Python", href: "/docs/python", }, ]; return ( ); } ``` ## Props | Prop | Type | Required | Description | | ------------- | ------------------------------- | -------- | --------------------------------------------------- | | `headline` | `React.ReactNode` | Yes | Section headline displayed as h2 | | `subtitle` | `React.ReactNode` | No | Optional subtitle text displayed below headline | | `cardVariant` | `'neutral' \| 'green'` | Yes | Color variant applied to all cards in the section | | `cards` | `CardIconProps[]` | Yes | Array of card configurations (without variant prop) | | `className` | `string` | No | Additional CSS classes for the section element | | `...rest` | `HTMLSectionElement attributes` | No | Any other HTML section element attributes | ## Card Props Each item in the `cards` array accepts all CardIcon props except `variant` (which is controlled by `cardVariant`): | Prop | Type | Required | Description | | ----------- | ------------ | -------- | ------------------------------------- | | `icon` | `string` | Yes | Icon image source (URL or path) | | `iconAlt` | `string` | No | Alt text for the icon image | | `label` | `string` | Yes | Card label text | | `href` | `string` | No | Link destination (renders as ``) | | `onClick` | `() => void` | No | Click handler (renders as `