Clickable service cards in React
A grid of six fully clickable service cards: icon, title, description, duration or reimbursement, and an arrow that slides on hover.
Here is an excerpt of this component's code in React. The full code is free for members, ready to copy into your project.
This component also comes in
The code in React
export function ServiceLinkCards() {
return (
<section className="mx-auto w-[min(100%_-_2rem,72rem)] py-[clamp(2.5rem,6vw,4.5rem)]">
<section
className="grid gap-10 text-[#042f2e] dark:text-[#e6fffb]"
aria-labelledby="flinks-title"
>
<div className="flex flex-wrap items-end justify-between gap-x-8 gap-y-5">
<div className="grid max-w-[38rem] gap-3">
<p className="m-0 text-sm font-bold tracking-[0.12em] uppercase text-[#0f766e] dark:text-[#5eead4]">
Nos soins
</p>Free component: copy it freely, including for commercial projects.
Other features components in React
Features components in React
Three cards in saturated flat colours (yellow, pink, electric blue) with high-contrast text and a dark variant. Every colour pair is measured at AA: 5.5:1 at worst.
- Tailwind
- React
- CSS
- WordPress

Six features as frosted glass cards over a slowly drifting aurora mesh gradient. Pause button, still background under prefers-reduced-motion, CSS and a light script.
- Tailwind
- React
- CSS
- WordPress

The key message stays pinned while the background changes colour and illustration at each scroll step. CSS sticky, a light script, stacked cards as fallback under prefers-reduced-motion.
- Tailwind
- React
- CSS
- WordPress

A six-cell bento grid: key figures, SVG sparklines, a quote and icons. All the text is in the HTML and the animation is CSS only, with no script at all.
- Tailwind
- React
- CSS
- WordPress

A two-offer table: checked rows, a column highlighted from top to bottom and one call-to-action button per offer. Pure HTML and CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress

A magazine-style article: title band, standfirst, drop cap, subheadings and a pull quote, set in three columns of equal height. Pure CSS, no script at all.
- Tailwind
- React
- CSS
- WordPress