Component System

JET is built on a powerful component architecture that makes websites modular, reusable, and easy to customize. This page explains how components work, how to use them effectively, and how to create your own for the marketplace.
What Are Components?
Components are self-contained building blocks of your website—think of them like LEGO bricks. Each component includes:
HTML structure
CSS styling
JavaScript functionality (when needed)
Responsive behavior
Customizable properties
Examples: Hero sections, navigation bars, product cards, testimonial carousels, pricing tables, contact forms, footer layouts.
Component Types
JET's library is organized into categories:
Layout
Headers (navigation, logos, menus)
Footers (links, social, copyright)
Sidebars (navigation, widgets)
Grid Systems (responsive columns)
Content Sections
Heroes (large header sections with CTAs)
Features (grid of benefits with icons)
Testimonials (quotes and reviews)
Team (staff bios and photos)
Galleries (image grids and lightboxes)
FAQs (accordion-style Q&A)
Interactive Elements
Forms (contact, signup, search)
Buttons (CTAs, submit, navigation)
Modals (popups, dialogs)
Tabs (content switchers)
Accordions (collapsible content)
Commerce
Product Cards (image, price, add-to-cart)
Shopping Carts (basket and checkout)
Pricing Tables (plan comparisons)
Payment Forms (integrated checkout)
Specialized
Blog Layouts (post grids, article templates)
Authentication (login, signup forms)
Dashboards (admin panels, analytics)
Calendars (date pickers, event schedulers)
Component Metadata SchemaEvery component has a structured definition that tells JET how to use it:
json
This metadata allows the AI to intelligently select and customize components based on your prompts.
Component Lifecycle1. Selection / Creation
Browse component library and insert
OR describe what you want and JET generates a custom component
2. Customization
Modify properties through chat
Use inline inspector for quick edits
Advanced users can edit JSON props directly
3. Save to Project Library
Components you customize are saved automatically
Reuse across pages in the same project
4. Publish
Components deploy with your website
Optimized and minified automatically
5. Marketplace Listing (Optional)
Package your custom component
Set a price in $JET
List for others to purchase and use
Customization MethodsMethod 1: Natural Language (Easiest) Simply describe what you want changed:
"Make the hero headline bigger"
"Change the button color to red"
"Add a second CTA button next to the first one"
Method 2: Inline Inspector (Visual) Click the element in preview:
Edit text directly
Adjust colors with a color picker
Modify spacing with sliders
Toggle responsive settings
Method 3: Props Editor (Advanced) Access the JSON properties panel:
json
Each level can be customized independently through chat or inspector.
Working with Component PropsProps (properties) are the variables that make components flexible.
Example: Product Card Props
json
Last updated

