Design an Instagram-style feed with post cards, like/comment buttons, story circles, and…
- User
Design an Instagram-style feed with post cards, like/comment buttons, story circles, and profile headers. Use CSS patterns instead of photos.
Assistant
I'll create an Instagram-style feed with CSS patterns instead of photos. Let me start by creating the specification document.
Now let me implement the Instagram-style feed. I'll start by checking the existing project structure.
Now let me create the main App component with all the Instagram-style feed functionality:
I need to install the lucide-react package for the icons:
Now let me check and update the index.css file:
Let me build the project to verify everything works:
The project builds successfully. Let me verify the implementation is complete by reading the final App.tsx:
I've successfully created an Instagram-style feed with CSS patterns. Here's what was built:
Summary
Features Implemented:
1. Sticky Header
- Custom "PatternFeed" logo
- Search bar (desktop)
- Navigation icons (Home, Create, Explore, Reels, Notifications, Profile)
- Notification badge on heart icon
2. Story Bar
- Horizontal scrollable stories with gradient rings
- "Your Story" with + icon
- 10 different story circles with unique CSS gradient patterns
- Viewed stories show gray ring, new stories have rainbow gradient rings
3. Post Cards (5 posts)
- Header: Pattern avatar, username, location, timestamp, more menu
- Content: Square CSS patterns using gradients (linear, radial, conic)
- Action Bar: Like (heart), Comment, Share, Bookmark
- Double-tap to like: Shows animated heart overlay
- Like count: Updates dynamically
- Caption: Username + caption text
- Comments section: Shows comments with reply links
- Add comment input
4. Right Sidebar (desktop)
- Profile summary
- Suggested accounts to follow
- Footer links
CSS Patterns Used:
- Linear gradients (sunset, ocean, mint, electric, nordic)
- Radial gradients (deep space)
- Conic gradients (purple haze, candy swirl)
- 10 unique color palettes per pattern
Interactions:
- ❤ Like/unlike with count update
- 🔖 Bookmark toggle
- 👆 Double-tap to like with heart animation
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.