サポート
Relume のすべてのサポートは Slack を通じて提供されます。支援を受けるには、 私たちの Slack コミュニティに参加してください Webflowプロジェクトのプレビューリンクと問題の説明を当社の専門家に送信してください。問題を確認し、解決策をご案内します。

アカウント関連の問題については、お問い合わせください support@relume.io
We're performing some maintenance. If you're experiencing any issues please reach out via Slack
Go to Slack
Your payment method has expired. Update your billing details to regain access to premium features.
Manage Billing
Now open!
Vote on new
Relume components
Vote on what components you'd like to see added to our roadmap next month.
Get started

Stats 46

<section id="relume" class="px-[5%] py-16 md:py-24 lg:py-28">
  <div class="container">
    <div class="mx-auto mb-12 w-full max-w-lg text-center md:mb-18 lg:mb-20">
      <p class="mb-3 font-semibold md:mb-4">Tagline</p>
      <h1 class="mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl">
        Short heading goes here
      </h1>
      <p class="md:text-md">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
    </div>
    <div
      class="grid grid-cols-1 gap-x-6 gap-y-7 sm:gap-x-6 sm:gap-y-6 lg:grid-cols-[0.5fr_1fr] lg:gap-x-8 lg:gap-y-8"
    >
      <div
        class="flex flex-col justify-center gap-x-6 gap-y-6 md:flex-row md:gap-y-8 lg:flex-col lg:gap-x-8"
      >
        <div class="flex w-full flex-col border border-border-primary p-8">
          <h3 class="mb-5 text-md font-bold leading-[1.4] md:mb-6 md:text-xl">
            Short heading goes here
          </h3>
          <p class="text-right text-6xl font-bold md:text-9xl lg:text-10xl">30%</p>
          <div class="my-4 h-px w-full bg-border-primary"></div>
          <p class="text-right">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
        </div>
        <div class="flex w-full flex-col border border-border-primary p-8">
          <h3 class="mb-5 text-md font-bold leading-[1.4] md:mb-6 md:text-xl">
            Short heading goes here
          </h3>
          <p class="text-right text-6xl font-bold md:text-9xl lg:text-10xl">30%</p>
          <div class="my-4 h-px w-full bg-border-primary"></div>
          <p class="text-right">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
        </div>
        <div class="flex w-full flex-col border border-border-primary p-8">
          <h3 class="mb-5 text-md font-bold leading-[1.4] md:mb-6 md:text-xl">
            Short heading goes here
          </h3>
          <p class="text-right text-6xl font-bold md:text-9xl lg:text-10xl">30%</p>
          <div class="my-4 h-px w-full bg-border-primary"></div>
          <p class="text-right">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
        </div>
      </div>
      <div class="flex w-full flex-col items-center justify-center">
        <img
          src="https://relume-assets.s3.us-east-1.amazonaws.com/placeholder-image.svg"
          alt="Relume placeholder image"
          class="aspect-[3/2] size-full object-cover"
        />
      </div>
    </div>
  </div>
</section>
type ImageProps = {
  src: string;
  alt?: string;
};

type StatsProps = {
  percentage: string;
  title: string;
  description: string;
};

type Props = {
  tagline: string;
  heading: string;
  description: string;
  image: ImageProps;
  stats: StatsProps[];
};

export type Stats46Props = React.ComponentPropsWithoutRef<"section"> & Partial<Props>;

export const Stats46 = (props: Stats46Props) => {
  const { tagline, heading, description, stats, image } = {
    ...Stats46Defaults,
    ...props,
  };
  return (
    <section id="relume" className="px-[5%] py-16 md:py-24 lg:py-28">
      <div className="container">
        <div className="mx-auto mb-12 w-full max-w-lg text-center md:mb-18 lg:mb-20">
          <p className="mb-3 font-semibold md:mb-4">{tagline}</p>
          <h1 className="mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl">{heading}</h1>
          <p className="md:text-md">{description}</p>
        </div>
        <div className="grid grid-cols-1 gap-x-6 gap-y-7 sm:gap-x-6 sm:gap-y-6 lg:grid-cols-[0.5fr_1fr] lg:gap-x-8 lg:gap-y-8">
          <div className="flex flex-col justify-center gap-x-6 gap-y-6 md:flex-row md:gap-y-8 lg:flex-col lg:gap-x-8 ">
            {stats.map((card, index) => (
              <Card key={index} {...card} />
            ))}
          </div>

          <div className="flex w-full flex-col items-center justify-center">
            <img src={image.src} alt={image.alt} className="aspect-[3/2] size-full object-cover" />
          </div>
        </div>
      </div>
    </section>
  );
};

const Card = (card: StatsProps) => {
  return (
    <div className="flex w-full flex-col border border-border-primary p-8">
      <h3 className="mb-5 text-md font-bold leading-[1.4] md:mb-6 md:text-xl">{card.title}</h3>
      <p className="text-right text-6xl font-bold md:text-9xl lg:text-10xl">{card.percentage}</p>
      <div className="my-4 h-px w-full bg-border-primary" />
      <p className="text-right">{card.description}</p>
    </div>
  );
};

export const Stats46Defaults: Props = {
  tagline: "Tagline",
  heading: "Short heading goes here",
  description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
  image: {
    src: "https://relume-assets.s3.us-east-1.amazonaws.com/placeholder-image.svg",
    alt: "Relume placeholder image",
  },
  stats: [
    {
      percentage: "30%",
      title: "Short heading goes here",
      description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
    },
    {
      percentage: "30%",
      title: "Short heading goes here",
      description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
    },
    {
      percentage: "30%",
      title: "Short heading goes here",
      description: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
    },
  ],
};
You need to be logged in to view the code.
Get the code
Upgrade your plan to view the code.
Upgrade
Details
Last updated
March 12, 2025
React version
18
Tailwind version
3.4
Need help?
For installation guidelines and API information, visit the docs.
Examples
No items found.