create a dating UI
- User
create a dating UI
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
create a dating UI
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Here's a modern dating app UI example using HTML, CSS (with Flexbox/Grid), and JavaScript for interactive elements:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MatchFinder - Dating App</title>
<style>
:root {
--primary: #ff4b5c;
--secondary: #ff7c87;
--dark: #333333;
--light: #f8f9fa;
--gray: #e0e0e0;
--success: #4caf50;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f5f5;
color: var(--dark);
height: 100vh;
display: flex;
flex-direction: column;
}
/* Header Styles */
header {
background: white;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 15px 20px;
position: sticky;
top: 0;
z-index: 100;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.logo {
font-size: 1.8rem;
font-weight: bold;
color: var(--primary);
}
nav ul {
display: flex;
list-style: none;
gap: 25px;
}
nav a {
text-decoration: none;
color: var(--dark);
font-weight: 500;
display: flex;
flex-direction: column;
align-items: center;
}
nav a.active {
color: var(--primary);
}
nav a i {
font-size: 1.2rem;
margin-bottom: 4px;
}
/* Main Content */
.container {
flex: 1;
display: flex;
max-width: 1200px;
margin: 20px auto;
width: 100%;
gap: 20px;
padding: 0 20px;
}
/* Profile Card */
.profile-section {
flex: 3;
}
.profile-card {
background: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
height: 75vh;
position: relative;
}
.profile-image {
height: 70%;
background: linear-gradient(45deg, #ff9a9e, #fad0c4);
position: relative;
}
.profile-info {
padding: 20px;
}
.profile-info h2 {
font-size: 1.8rem;
margin-bottom: 5px;
}
.profile-info .age {
color: var(--dark);
font-weight: normal;
}
.profile-info .distance {
color: #777;
margin-bottom: 15px;
display: flex;
align-items: center;
}
.bio {
line-height: 1.5;
margin-bottom: 20px;
}
.interests {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 15px;
}
.interest-tag {
background: var(--gray);
padding: 5px 15px;
border-radius: 20px;
font-size: 0.9rem;
}
/* Action Buttons */
.actions {
position: absolute;
bottom: 20px;
left: 0;
right: 0;
display: flex;
justify-content: center;
gap: 30px;
}
.action-btn {
width: 60px;
height: 60px;
border-radius: 50%;
border: none;
background: white;
box-shadow: 0 3px 10px rgba(0,0,0,0.2);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
}
.dislike-btn {
color: #bbb;
}
.like-btn {
color: var(--success);
}
.super-like-btn {
color: #2196f3;
}
/* Chat Section */
.chat-section {
flex: 2;
display: flex;
flex-direction: column;
background: white;
border-radius: 20px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
overflow: hidden;
}
.chat-header {
padding: 20px;
border-bottom: 1px solid var(--gray);
}
.chat-header h2 {
font-size: 1.5rem;
}
.matches {
padding: 15px;
display: flex;
gap: 15px;
overflow-x: auto;
border-bottom: 1px solid var(--gray);
}
.match {
display: flex;
flex-direction: column;
align-items: center;
}
.match-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background: linear-gradient(45deg, #a1c4fd, #c2e9fb);
margin-bottom: 8px;
}
.match-name {
font-size: 0.85rem;
text-align: center;
}
.chat-messages {
flex: 1;
padding: 20px;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 15px;
}
.message {
max-width: 70%;
padding: 12px 16px;
border-radius: 18px;
line-height: 1.4;
}
.received {
background: var(--gray);
align-self: flex-start;
border-bottom-left-radius: 5px;
}
.sent {
background: var(--primary);
color: white;
align-self: flex-end;
border-bottom-right-radius: 5px;
}
.chat-input {
padding: 15px;
display: flex;
gap: 10px;
border-top: 1px solid var(--gray);
}
.chat-input input {
flex: 1;
padding: 12px 20px;
border: 1px solid var(--gray);
border-radius: 30px;
font-size: 1rem;
}
.send-btn {
background: var(--primary);
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
font-size: 1.2rem;
}
/* Responsive */
@media (max-width: 768px) {
.container {
flex-direction: column;
}
.chat-section {
height: 400px;
}
}
</style>
</head>
<body>
<header>
<div class="header-container">
<div class="logo">MatchFinder</div>
<nav>
<ul>
<li><a href="#" class="active"><i>👤</i> Discover</a></li>
<li><a href="#"><i>💬</i> Matches</a></li>
<li><a href="#"><i>🔔</i> Notifications</a></li>
<li><a href="#"><i>⚙️</i> Profile</a></li>
</ul>
</nav>
</div>
</header>
<div class="container">
<!-- Profile Section -->
<section class="profile-section">
<div class="profile-card">
<div class="profile-image"></div>
<div class="profile-info">
<h2>Alex Morgan <span class="age">28</span></h2>
<div class="distance">📍 5 miles away</div>
<p class="bio">Art director and photography enthusiast. Love hiking and trying new restaurants. Looking for someone to explore the city with!</p>
<div class="interests">
<span class="interest-tag">Photography</span>
<span class="interest-tag">Travel</span>
<span class="interest-tag">Coffee</span>
<span class="interest-tag">Hiking</span>
</div>
</div>
<div class="actions">
<button class="action-btn dislike-btn">✖</button>
<button class="action-btn super-like-btn">⭐</button>
<button class="action-btn like-btn">❤️</button>
</div>
</div>
</section>
<!-- Chat Section -->
<section class="chat-section">
<div class="chat-header">
<h2>Your Matches</h2>
</div>
<div class="matches">
<div class="match">
<div class="match-avatar"></div>
<span class="match-name">Taylor</span>
</div>
<div class="match">
<div class="match-avatar"></div>
<span class="match-name">Jordan</span>
</div>
<div class="match">
<div class="match-avatar"></div>
<span class="match-name">Casey</span>
</div>
<div class="match">
<div class="match-avatar"></div>
<span class="match-name">Morgan</span>
</div>
</div>
<div class="chat-messages">
<div class="message received">
Hey there! How's your week going?
</div>
<div class="message sent">
Pretty good! Just finished a photography project 😊
</div>
<div class="message received">
That's awesome! What kind of photography?
</div>
</div>
<div class="chat-input">
<input type="text" placeholder="Type a message...">
<button class="send-btn">➤</button>
</div>
</section>
</div>
<script>
// Simple interaction for action buttons
document.querySelectorAll('.action-btn').forEach(button => {
button.addEventListener('click', function() {
const action = this.classList.contains('like-btn') ? 'like' :
this.classList.contains('dislike-btn') ? 'dislike' : 'super-like';
// Animation effect
this.style.transform = 'scale(1.1)';
setTimeout(() => {
this.style.transform = 'scale(1)';
}, 200);
console.log(`Action: ${action}`);
// In a real app, this would send a request to the server
// Simulate new profile after like/dislike
if(action !== 'super-like') {
setTimeout(() => {
alert(`Profile ${action}d! Loading next profile...`);
}, 300);
}
});
});
// Send message functionality
document.querySelector('.send-btn').addEventListener('click', sendMessage);
document.querySelector('.chat-input input').addEventListener('keypress', function(e) {
if(e.key === 'Enter') sendMessage();
});
function sendMessage() {
const input = document.querySelector('.chat-input input');
const message = input.value.trim();
if(message) {
const messagesContainer = document.querySelector('.chat-messages');
const newMessage = document.createElement('div');
newMessage.className = 'message sent';
newMessage.textContent = message;
messagesContainer.appendChild(newMessage);
// Clear input and scroll to bottom
input.value = '';
messagesContainer.scrollTop = messagesContainer.scrollHeight;
// Simulate reply after delay
setTimeout(() => {
const reply = document.createElement('div');
reply.className = 'message received';
reply.textContent = "That sounds interesting! Tell me more about it.";
messagesContainer.appendChild(reply);
messagesContainer.scrollTop = messagesContainer.scrollHeight;
}, 1000);
}
}
</script>
</body>
</html>
This responsive dating app UI includes:
Modern Header with app logo and navigation
Profile Section showing:
Chat Section with:
Interactive Features:
Design Elements:
To use this UI:
You can customize the colors, content, and interactions to match your specific requirements. For a production app, you would need to connect this frontend to a backend service for real data and user management.