Guide: Vibe Code Custom Components with Claude Code
Overview
Custom components let you extend Limio’s UI beyond the standard offering - think product-specific onboarding steppers, branded pricing displays, or checkout subcomponents.
With Claude Code and the Limio Component Skill, you can generate production-ready components from natural language prompts. The Limio Component Skill encodes Limio conventions, component scaffolding, and SDK usage patterns.
Prerequisites
Claude Code subscription (or Cursor/similar AI coding tool)
Access to your organization’s component repo (Getting Started Guide)
CI/CD Pipeline setup, if you are using GitHub or GitLab ( Connecting External CI)
Storybook configured for local preview (optional but recommended)
Node.js installed
npm/yarn/pnpm depending on repo
What you’ll build
Install the Limio Component Skill into Claude Code
Write a prompt describing your component requirements
Push to GitHub via your CI/CD pipeline
Preview in Storybook to validate the component
Deploy to Page Builder for use in Limio pages
Install the Limio Component Skill
The skill teaches Claude Code how to build Limio-compatible components. Run this in your terminal:
Once installed, Claude Code understands:
Component file structure and
package.jsondependenciesLimio SDK methods and patterns
Design system integration (Tailwind, Material Design, custom CSS)
You may already have this. You can check by asking Claude:
Write your component prompt
Be specific about functionality, design, and data sources. Reference design systems or existing patterns.
Example: Order completion stepper
Claude will typically inspect existing components in the repository before generating code, in order to match structure, SDK usage, and styling conventions. This is expected and improves compatibility with your build pipeline. For example, Claude will usually define configurable Page Builder props via limioProps in the component’s package.json, based on patterns it finds in similar components.
Push via CI/CD pipeline
Once Claude Code generates the component, push to your repo. The CI/CD pipeline handles build validation.
The pipeline will:
Run linting and type checks
Validate the component builds successfully and that all imported dependencies are declared in its
package.json.Build the component bundle
Preview in Storybook
Before deploying to Limio's Page Builder, validate your component locally:
(or the Storybook command defined in your repo, e.g. npm run limio)
Storybook lets you:
See the component with mock data
Test different SKU scenarios
Verify responsive behavior
If Storybook isn’t configured, ask Claude Code:

Iterate with Claude Code
You can add more functionality to your component. For example to add more configurable props to the Page Builder:
You could also make sure to manage certain states more granularly:
Or:
Deploy to Page Builder
Once your PR is merged and the build passes:
Open Limio Page Builder
Navigate to your target page (e.g., Order Complete)
Add your new component from the component library
Configure any required props
Publish

Design system integration
You can specify your design system in the prompt:
Tailwind:
Custom CSS:
Figma reference:
Tips & troubleshooting
Build failing? Check that your component uses only public SDK methods. Run the repo’s local build or validation script (e.g.
npm run buildornpm run validate).Storybook not loading? Ensure dependencies are installed:
npm installComponent not appearing in Page Builder? Ensure the component is exported correctly (typically via the component entrypoint file).
Styling issues? Claude Code picks up existing patterns—provide explicit design guidelines if the output doesn’t match expectations.
Token usage high? Use
--dangerously-skip-permissionsflag to reduce confirmation prompts (use with caution).
Example use cases
Pricing page display
Custom offer cards with your brand styling
Order complete stepper
Product-specific onboarding instructions
Checkout subcomponent
Custom fields
Update subscription offers
Display upgrade/downgrade options
“Best offer” badge
Dynamic labeling based on offer attributes
We are actively improving this experience. Please reach out to [email protected] if you hit any issues.
Last updated
Was this helpful?

