HomePaymentsNo-codeDevelopersContribute
Safepay Home PageLive DashboardTest Dashboard

CommunityGridCell


The CommunityGridCell component is designed to highlight community stories or events, featuring a distinctive style with an icon, title, description, and a link.

Usage

CommunityGridCell Basic Usage
import React from 'react';
import { CommunityGridCell } from '~/ui/components/Home';
import { Users2Icon } from "lucide-react";

export default function App() {
  return (
    <CommunityGridCell
      icon={<Users2Icon />}
      iconBackground="lightgray"
      title="Join Our Community"
      description="Connect with like-minded individuals."
      link="https://community.example.com"
    />
  );
}

Rendered Example

Community Meetups

Regular meetups and events.

Props

NameTypeDefaultDescription
iconJSX.ElementundefinedIcon to display at the beginning of the cell
iconBackgroundstringlightgrayBackground color of the icon container
titlestringundefinedTitle of the community story or event
linkstringundefinedURL to link to more community details
descriptionstringundefinedBrief description of the community story or event
classNamestringundefinedAdditional CSS classes for styling
mdnumber6Columns span on medium screens
shouldLeakReferrerbooleanundefinedSpecifies if the referrer policy should allow URL leakage