ライブデモ Live Demo

ユーザーの行動を促すCTAバナーです。

A CTA banner to encourage user action.

Start your journey today

Join thousands of designers creating amazing experiences with Vibe UI.

Get Started for Free

AI向け説明 AI Description

`L-008` はユーザーのアクションを促すためのCTA(Call To Action)セクションです。暗めのグラデーション背景と明るいボタンのコントラストで視認性を高め、背景パターンで質感を加えています。

`L-008` is a high-contrast CTA section designed to convert users. Dark gradient background creates pop for the white action button, with subtle background patterns adding texture.

調整可能パラメータ Adjustable Parameters

実装 Implementation

HTML + CSS

<section class="cta-section">
  <div class="cta-content">
    <h2>Title</h2>
    <p>Description</p>
    <a href="#" class="cta-button">Action</a>
  </div>
</section>

<style>
:root {
  --cta-bg-start: #1d2242;
  --cta-bg-end: #3a4276;
}
.cta-section { background: linear-gradient(135deg, var(--cta-bg-start), var(--cta-bg-end)); color: #fff; padding: 60px; text-align: center; border-radius: 20px; }
.cta-button { background: #fff; color: #1d2242; padding: 14px 32px; border-radius: 50px; font-weight: bold; }
</style>

React (JSX + CSS)

// react/L-008.jsx
import './L-008.css';

export default function CTABanner({ title, description, buttonText, buttonLink = '#' }) {
  return (
    <section className="cta-section">
      <div className="cta-content">
        <h2>{title}</h2>
        <p>{description}</p>
        <a href={buttonLink} className="cta-button">{buttonText}</a>
      </div>
    </section>
  );
}
/* react/L-008.css */
/* L-008: React styles */
.cta-section {
  background: linear-gradient(135deg, #1d2242 0%, #3a4276 100%);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: #fff;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.8);
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #1d2242;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

AIへの指示テンプレート AI Prompt Template

以下のテンプレートをコピーしてAIアシスタントに貼り付けると、このパターンの実装を依頼できます。 Copy the template below and paste it into your AI assistant to request an implementation of this pattern.