All components

Stripecard

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

UI Layouts MIT cards

What it is

Stripecard is a React and Tailwind CSS card 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.

Stripecard

./registry/components/card/stripe-card.tsx
import { ArrowBigDown, ArrowRight, ChevronRight, Heart } from 'lucide-react';
import Image from 'next/image';
import React, { useState } from 'react';

function StripeCard() {
  return (
    <>
      <div className='w-[90%]] h-[480px] group mx-auto dark:bg-[#252525] p-2 bg-white dark:border-0 border overflow-hidden rounded-md dark:text-white text-black '>
        <figure className='w-full h-80 group-hover:h-72 transition-all duration-300 dark:bg-[#0a121a] bg-[#f0f5fa] p-2 rounded-md relative overflow-hidden'>
          <div
            style={{
              background: 'linear-gradient(123.9deg, #0B65ED 1.52%, rgba(0, 0, 0, 0) 68.91%)',
            }}
            className='absolute top-0 left-0 w-full h-full  group-hover:opacity-100 opacity-0  transition-all duration-300'
          ></div>
          <Image
            src={'/og.jpg'}
            alt='shoes'
            width={600}
            height={600}
            className='absolute -bottom-1 group-hover:-bottom-5 right-0 h-64 w-[80%] group-hover:border-4 border-4 group-hover:border-[#76aaf82d] rounded-lg object-cover transition-all duration-300'
          />
        </figure>
        <article className='  p-4 space-y-2'>
          <div className='h-8 w-20 bg-[#4393fc] rounded-md'></div>
          <h1 className='text-xl font-semibold capitalize'>Incorporate your company</h1>
          <p className='text-base leading-[120%]'>
            Form a legal entity, issue stock, and start accepting payments.
          </p>
          <a
            href='#'
            className=' text-base dark:text-white text-blue-600 font-normal  group-hover:opacity-100 opacity-0 translate-y-2 group-hover:translate-y-0 pt-2 flex gap-1  transition-all duration-300  '
          >
            Learn about Atlas
            <span>
              <ChevronRight />
            </span>
          </a>
        </article>
      </div>
    </>
  );
}

export default StripeCard;

Similar components