All components

About Business

About Business is a React and Tailwind CSS component from UI Layouts, licensed MIT. Copy it and paste it into your project.

UI Layouts MIT other

What it is

About Business is a React and Tailwind CSS component from UI Layouts, licensed MIT. Copy it and paste it into your project.

How to use it

Open it in the catalogue, press copy, and paste it into your project. The prompt you copy carries the code and the rules that tell your agent to reproduce it without changing anything.

Open in the catalogue

Five free copies a month. No card.

Needs

npm i motion

Licence

This component comes from UI Layouts and is redistributed under the MIT licence, which permits commercial use. The copyright notice travels with the code.

About Business

../../packages/blocks/src/about-section/about-business.tsx
'use client'

import React from 'react'
import { motion } from 'motion/react'
import { Button } from '@repo/shadcn'

export const AboutBusiness = () => {
  return (
    <section className="py-32 px-6 bg-white text-black">
      <div className="max-w-7xl mx-auto">
        <div className="grid lg:grid-cols-2 gap-24 items-center">
          <div className="relative order-2 lg:order-1">
            <div className="absolute -top-12 -left-12 size-48 bg-zinc-50 rounded-full -z-10" />
            <div className="grid grid-cols-2 gap-4">
              <div className="aspect-square bg-zinc-900 rounded-2xl flex items-center justify-center p-8 text-white">
                <div className="text-center">
                  <div className="text-5xl font-black font-manrope">25+</div>
                  <div className="text-[10px] font-bold uppercase tracking-widest text-zinc-500 mt-2">
                    Years of Trust
                  </div>
                </div>
              </div>
              <div className="aspect-square bg-zinc-100 rounded-2xl flex items-center justify-center p-8">
                <div className="text-center text-zinc-900">
                  <div className="text-5xl font-black font-manrope">12</div>
                  <div className="text-[10px] font-bold uppercase tracking-widest text-zinc-400 mt-2">
                    Global Offices
                  </div>
                </div>
              </div>
              <div className="col-span-2 aspect-2/1 rounded-2xl overflow-hidden">
                <img
                  src="https://images.unsplash.com/photo-1497366754035-f200968a6e72?q=80&w=1200"
                  className="object-cover size-full"
                  alt="Corporate"
                />
              </div>
            </div>
          </div>

          <div className="space-y-10 order-1 lg:order-2">
            <div className="space-y-2">
              <span className="text-[10px] font-black uppercase tracking-[0.3em] text-zinc-400">
                Corporate Overview
              </span>
              <h2 className="text-5xl font-semibold tracking-tight text-balance leading-tight font-dmSans">
                A legacy of leadership <br /> and strategic impact.
              </h2>
            </div>
            <div className="space-y-6">
              <div className="flex gap-4">
                <div className="size-6 bg-black shrink-0 mt-1" />
                <div>
                  <h4 className="font-bold text-lg mb-2 text-pretty font-dmSans">
                    Global Perspective
                  </h4>
                  <p className="text-zinc-500 text-sm leading-relaxed text-pretty font-dmSans">
                    Leveraging international insights to solve local
                    complexities with precision and scale.
                  </p>
                </div>
              </div>
              <div className="flex gap-4">
                <div className="size-6 bg-zinc-200 shrink-0 mt-1" />
                <div>
                  <h4 className="font-bold text-lg mb-2 text-pretty">
                    Operational Excellence
                  </h4>
                  <p className="text-zinc-500 text-sm leading-relaxed text-pretty">
                    Optimizing corporate structures to foster long-term
                    resilience and shareholder value.
                  </p>
                </div>
              </div>
            </div>
            <div className="pt-6">
              <Button className="h-14 px-10 bg-black text-white text-xs font-black uppercase tracking-widest rounded-sm hover:translate-y-[-2px] transition-transform duration-200 shadow-xl">
                Our Executive Team
              </Button>
            </div>
          </div>
        </div>
      </div>
    </section>
  )
}
./components/ui/timeline-animation.tsx
import type { Variants } from 'motion/react';
import { type HTMLMotionProps, motion, useInView } from 'motion/react';
import type React from 'react';

type TimelineContentProps<T extends keyof HTMLElementTagNameMap> = {
  children?: React.ReactNode;
  animationNum: number;
  className?: string;
  timelineRef: React.RefObject<HTMLElement | null>;
  as?: T;
  customVariants?: Variants;
  once?: boolean;
} & HTMLMotionProps<T>;

export const TimelineAnimation = <T extends keyof HTMLElementTagNameMap = 'div'>({
  children,
  animationNum,
  timelineRef,
  className,
  as,
  customVariants,
  once = true,
  ...props
}: TimelineContentProps<T>) => {
  const defaultSequenceVariants = {
    visible: (i: number) => ({
      filter: 'blur(0px)',
      y: 0,
      opacity: 1,
      transition: {
        delay: i * 0.5,
        duration: 0.5,
      },
    }),
    hidden: {
      filter: 'blur(20px)',
      y: 0,
      opacity: 0,
    },
  };

  const sequenceVariants = customVariants || defaultSequenceVariants;

  const isInView = useInView(timelineRef, {
    once,
  });

  const MotionComponent = motion[as || 'div'] as React.ElementType;

  return (
    <MotionComponent
      initial='hidden'
      animate={isInView ? 'visible' : 'hidden'}
      custom={animationNum}
      variants={sequenceVariants}
      className={className}
      {...props}
    >
      {children}
    </MotionComponent>
  );
};

Similar components