📚 Shopify Liquid Generator Documentation
Complete guide to using our AI-powered Shopify Liquid generator for building components
📖 Table of Contents
🚀 Getting Started
What is LiquidDaddy's Shopify Liquid Generator?
LiquidDaddy is an advanced Shopify Liquid generator that uses AI to create production-ready Liquid components. Our Liquid generator understands Shopify's object model, filters, and best practices to generate clean, optimized code that works seamlessly in any Shopify theme.
Unlike traditional coding, our Shopify Liquid generator allows you to describe components in plain English. The AI then generates complete Liquid templates with proper syntax, responsive design, and custom CSS - saving hours of development time.
Quick Start
- Sign up for a free account at liquidDaddy.com
- Navigate to the Builder interface
- Type your component description in plain English
- Click "Generate" and watch the magic happen!
- Customize using the visual controls and CSS editor
- Download your component files for Shopify integration
Shopify Liquid Generator Guide
How Our Shopify Liquid Generator Works
Our AI-powered Shopify Liquid generator transforms natural language descriptions into production-ready Liquid code. Here's how to get the best results:
Best Practices for Component Descriptions:
- •Be specific: "Create a product card with image, title, price, and add to cart button"
- •Include layout details: "3-column grid", "centered hero section", "sidebar layout"
- •Mention Shopify objects: "product", "collection", "customer", "cart"
- •Specify interactions: "hover effects", "click to expand", "smooth transitions"
Supported Shopify Objects
Our Liquid generator fully understands and implements all Shopify objects:
Core Objects
- • product (title, price, images, variants)
- • collection (products, title, description)
- • customer (name, email, orders)
- • cart (items, total, checkout)
Liquid Filters
- • money (currency formatting)
- • img_url (responsive images)
- • date (date formatting)
- • escape (HTML safety)
Common Liquid Generator Use Cases
Product Components
Product cards, quick view modals, variant selectors, image galleries
Collection Pages
Product grids, filters, sorting options, pagination
Cart & Checkout
Mini cart, cart drawer, upsell sections, trust badges
Marketing Sections
Hero banners, testimonials, feature grids, CTAs
Builder Interface
Interface Overview
The LiquidDaddy builder features a clean, intuitive 3-panel layout designed for maximum productivity:
Left Panel
- • Component prompt input
- • Mock data editor
- • Component sizing controls
Center Panel
- • Live component preview
- • Real-time rendering
- • Interactive elements
Right Panel
- • Liquid code editor
- • CSS code editor
- • Export controls
Navigation Tabs
Component Tab
View and edit your Liquid template code, manage mock data, and control component sizing.
Custom CSS Tab
Edit the generated CSS, customize styles, and fine-tune the visual appearance.
Component Generation
Writing Effective Prompts
The key to getting great results is writing clear, descriptive prompts. Here are some best practices:
✅ Good Prompt Examples
Clear, specific, includes all desired elements
Describes layout and hierarchy clearly
❌ Avoid These Prompts
Too vague, no specific requirements
Unclear what type of component is needed
CSS Generation & Editing
AI-Generated CSS
Every component comes with professionally crafted CSS that's optimized for Shopify themes:
🎯 Optimized Features
- • Responsive design patterns
- • CSS custom properties (variables)
- • Mobile-first approach
- • Performance optimized
🔧 Easy Customization
- • Semantic class names
- • Modular structure
- • Clear organization
- • Inline documentation
CSS Editor Features
Syntax Highlighting
Full CSS syntax highlighting with error detection
Live Preview
See changes instantly as you type
Auto-Save
Your changes are automatically saved as you work
Visual Sizing Panel
What is the Sizing Panel?
The sizing panel is LiquidDaddy's most powerful feature - a visual interface that automatically detects all adjustable properties in your component and provides intuitive controls to modify them in real-time.
✨ Automatic Detection
When you generate a component, our AI automatically scans the CSS and identifies properties like:
- • width, height
- • max-width, min-height
- • padding, margin
- • gap, border-radius
- • font-size, line-height
- • letter-spacing
Using the Sizing Panel
- Generate your component - The sizing panel appears automatically after generation
- Browse available controls - Scroll through detected properties organized by category
- Adjust values - Use sliders, dropdowns, or input fields to modify properties
- See live changes - Watch your component update in real-time as you adjust values
- Reset if needed - Use the reset button to return any property to its original value
Export & Download
Download Package Contents
When you download a component, you receive a complete package ready for Shopify integration:
📁 Files Included
- component.liquid - The Liquid template
- component.css - Custom CSS styles
- preview.html - Standalone preview
- integration.md - Setup instructions
✨ Additional Features
- • Clean, commented code
- • Responsive design included
- • CSS custom properties
- • Mock data examples
- • Integration guide
- • Browser compatibility info
Export Options
ZIP Download
Downloads all files as a compressed ZIP archive. Perfect for offline development and version control.
Copy to Clipboard
Quickly copy individual files (Liquid or CSS) to your clipboard for immediate use.
Shopify Integration
🎯 Integration Overview
LiquidDaddy components are designed to integrate seamlessly with any Shopify theme. Follow these steps to add your generated components to your Shopify store.
Step 1: Access Theme Files
- Log in to your Shopify Admin
- Navigate to Online Store → Themes
- Find your active theme and click "Actions" → "Edit code"
- You'll now see your theme's file structure
Step 2: Upload Component Files
📄 Add the Liquid Template
- In the theme editor, find the "Snippets" folder
- Click "Add a new snippet"
- Name your snippet (e.g., "product-card-custom")
- Copy and paste the contents of your
component.liquid
file - Click "Save"
🎨 Add the CSS Styles
Option A: Add to existing CSS file
- Find your theme's main CSS file (usually in Assets folder)
- Open the file (often named theme.css, style.css, or base.css)
- Scroll to the bottom and paste your CSS code
- Save the file
Step 3: Include Component in Templates
Now you can use your component anywhere in your theme by including the snippet:
{% include 'your-component-name' %}
Gallery & Sharing
Component Gallery
Discover and get inspired by components created by the LiquidDaddy community. The Component Gallery features professionally designed components that you can use as starting points for your projects.
🌟 Browse Components
- • Search by component type
- • Filter by tags and categories
- • Sort by popularity or date
- • Preview components before using
🔄 Use Components
- • Click "Open in Builder" to edit
- • Components load with original settings
- • Customize and make them your own
- • Copy code directly (login required)
Sharing Your Components
Share your best components with the community and help other developers build amazing Shopify stores.
How to Share
- Create and refine your component in the builder
- Click the "Share to Gallery" button in the top-right panel
- Add a descriptive title and optional description
- Select relevant tags to help others find your component
- Click "Share Component" to publish to the gallery
Need Help?
Can't find what you're looking for? We're here to help!