designkit-ai 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AI-AGENT.md +51 -0
- package/LICENSE +21 -0
- package/README.md +517 -0
- package/bin/designkit.js +61 -0
- package/components/_index.md +81 -0
- package/components/app-mobile/README.md +117 -0
- package/components/app-mobile/badges/badge-count.html +9 -0
- package/components/app-mobile/badges/badge-dot.html +9 -0
- package/components/app-mobile/badges/badge-large.html +9 -0
- package/components/app-mobile/buttons/button-filled.html +9 -0
- package/components/app-mobile/buttons/button-icon.html +11 -0
- package/components/app-mobile/buttons/button-outlined.html +9 -0
- package/components/app-mobile/buttons/button-text.html +9 -0
- package/components/app-mobile/buttons/button-tonal.html +9 -0
- package/components/app-mobile/buttons/fab-extended.html +12 -0
- package/components/app-mobile/buttons/fab-small.html +11 -0
- package/components/app-mobile/buttons/fab.html +11 -0
- package/components/app-mobile/buttons/icon-button-filled.html +11 -0
- package/components/app-mobile/buttons/icon-button-tonal.html +11 -0
- package/components/app-mobile/buttons/segmented-button.html +13 -0
- package/components/app-mobile/cards/card-elevated.html +15 -0
- package/components/app-mobile/cards/card-filled.html +15 -0
- package/components/app-mobile/cards/card-outlined.html +15 -0
- package/components/app-mobile/charts/bar-chart.html +20 -0
- package/components/app-mobile/charts/donut-chart.html +20 -0
- package/components/app-mobile/charts/horizontal-bar.html +15 -0
- package/components/app-mobile/charts/line-chart.html +26 -0
- package/components/app-mobile/charts/progress-ring.html +17 -0
- package/components/app-mobile/charts/sparkline.html +11 -0
- package/components/app-mobile/charts/stat-card.html +18 -0
- package/components/app-mobile/chips/chip-assist.html +12 -0
- package/components/app-mobile/chips/chip-filter.html +12 -0
- package/components/app-mobile/chips/chip-input.html +14 -0
- package/components/app-mobile/chips/chip-suggestion.html +9 -0
- package/components/app-mobile/data-display/avatar-group.html +35 -0
- package/components/app-mobile/dialogs/dialog-basic.html +16 -0
- package/components/app-mobile/dialogs/dialog-fullscreen.html +18 -0
- package/components/app-mobile/dividers/divider-full.html +9 -0
- package/components/app-mobile/dividers/divider-inset.html +9 -0
- package/components/app-mobile/ecommerce/cart-item.html +29 -0
- package/components/app-mobile/ecommerce/cart-summary.html +31 -0
- package/components/app-mobile/ecommerce/color-selector.html +17 -0
- package/components/app-mobile/ecommerce/order-status.html +25 -0
- package/components/app-mobile/ecommerce/product-detail-hero.html +45 -0
- package/components/app-mobile/ecommerce/size-selector.html +17 -0
- package/components/app-mobile/ecommerce/wishlist-item.html +22 -0
- package/components/app-mobile/education/assignment-card.html +24 -0
- package/components/app-mobile/education/certificate.html +30 -0
- package/components/app-mobile/education/course-card.html +32 -0
- package/components/app-mobile/education/grade-report.html +53 -0
- package/components/app-mobile/education/lesson-progress.html +21 -0
- package/components/app-mobile/education/quiz-mcq.html +35 -0
- package/components/app-mobile/education/quiz-truefalse.html +26 -0
- package/components/app-mobile/education/student-dashboard.html +57 -0
- package/components/app-mobile/feedback/banner.html +13 -0
- package/components/app-mobile/feedback/progress-circular.html +14 -0
- package/components/app-mobile/feedback/progress-linear.html +11 -0
- package/components/app-mobile/feedback/skeleton.html +20 -0
- package/components/app-mobile/feedback/snackbar.html +15 -0
- package/components/app-mobile/feedback/tooltip.html +9 -0
- package/components/app-mobile/finance/bank-account-card.html +36 -0
- package/components/app-mobile/finance/budget-category.html +24 -0
- package/components/app-mobile/finance/credit-score.html +29 -0
- package/components/app-mobile/finance/investment-portfolio.html +52 -0
- package/components/app-mobile/finance/transaction-row.html +26 -0
- package/components/app-mobile/finance/transfer-form.html +42 -0
- package/components/app-mobile/fitness/body-metrics.html +41 -0
- package/components/app-mobile/fitness/calorie-tracker.html +48 -0
- package/components/app-mobile/fitness/exercise-timer.html +30 -0
- package/components/app-mobile/fitness/meal-plan.html +36 -0
- package/components/app-mobile/fitness/sleep-tracker.html +50 -0
- package/components/app-mobile/fitness/workout-card.html +37 -0
- package/components/app-mobile/food/cuisine-filter.html +39 -0
- package/components/app-mobile/food/menu-item.html +25 -0
- package/components/app-mobile/food/order-tracker.html +46 -0
- package/components/app-mobile/food/restaurant-card.html +34 -0
- package/components/app-mobile/food/review-card.html +35 -0
- package/components/app-mobile/food/table-reservation.html +42 -0
- package/components/app-mobile/forms/form-address.html +41 -0
- package/components/app-mobile/forms/form-payment.html +37 -0
- package/components/app-mobile/forms/form-profile.html +39 -0
- package/components/app-mobile/forms/time-picker.html +28 -0
- package/components/app-mobile/healthcare/appointment-card.html +26 -0
- package/components/app-mobile/healthcare/doctor-profile.html +32 -0
- package/components/app-mobile/healthcare/health-metric-chart.html +51 -0
- package/components/app-mobile/healthcare/insurance-card.html +35 -0
- package/components/app-mobile/healthcare/lab-results.html +23 -0
- package/components/app-mobile/healthcare/medication-reminder.html +24 -0
- package/components/app-mobile/healthcare/symptom-checker.html +42 -0
- package/components/app-mobile/healthcare/vitals-dashboard.html +56 -0
- package/components/app-mobile/inputs/date-picker.html +68 -0
- package/components/app-mobile/inputs/file-upload.html +13 -0
- package/components/app-mobile/inputs/otp-input.html +16 -0
- package/components/app-mobile/inputs/password-field.html +13 -0
- package/components/app-mobile/inputs/search-bar.html +17 -0
- package/components/app-mobile/inputs/select.html +17 -0
- package/components/app-mobile/inputs/text-field-filled.html +12 -0
- package/components/app-mobile/inputs/text-field-outlined.html +12 -0
- package/components/app-mobile/inputs/textarea.html +12 -0
- package/components/app-mobile/inputs/time-picker.html +33 -0
- package/components/app-mobile/job/application-status.html +18 -0
- package/components/app-mobile/job/interview-schedule.html +32 -0
- package/components/app-mobile/lists/list-item-1line.html +14 -0
- package/components/app-mobile/lists/list-item-2line.html +20 -0
- package/components/app-mobile/lists/list-item-3line.html +17 -0
- package/components/app-mobile/logistics/delivery-map.html +40 -0
- package/components/app-mobile/logistics/driver-card.html +25 -0
- package/components/app-mobile/logistics/package-tracker.html +42 -0
- package/components/app-mobile/logistics/shipment-row.html +20 -0
- package/components/app-mobile/media/audio-player.html +38 -0
- package/components/app-mobile/media/image-carousel.html +28 -0
- package/components/app-mobile/menus/menu-context.html +13 -0
- package/components/app-mobile/menus/menu-dropdown.html +14 -0
- package/components/app-mobile/native/gesture-nav-bar.html +11 -0
- package/components/app-mobile/native/ios-action-sheet.html +19 -0
- package/components/app-mobile/native/ios-alert.html +18 -0
- package/components/app-mobile/native/ios-home-indicator.html +11 -0
- package/components/app-mobile/native/ios-list-cell.html +14 -0
- package/components/app-mobile/native/ios-nav-bar.html +16 -0
- package/components/app-mobile/native/ios-page-sheet.html +17 -0
- package/components/app-mobile/native/ios-search-bar.html +15 -0
- package/components/app-mobile/native/ios-segmented-control.html +13 -0
- package/components/app-mobile/native/ios-status-bar.html +17 -0
- package/components/app-mobile/native/ios-tab-bar.html +31 -0
- package/components/app-mobile/native/ios-wheel-picker.html +34 -0
- package/components/app-mobile/native/notification-item.html +19 -0
- package/components/app-mobile/native/permission-dialog.html +18 -0
- package/components/app-mobile/native/status-bar.html +16 -0
- package/components/app-mobile/navbars/bottom-app-bar.html +19 -0
- package/components/app-mobile/navbars/bottom-nav-3.html +28 -0
- package/components/app-mobile/navbars/bottom-nav-4.html +26 -0
- package/components/app-mobile/navbars/bottom-nav-5.html +30 -0
- package/components/app-mobile/navbars/top-app-bar-center.html +17 -0
- package/components/app-mobile/navbars/top-app-bar-large.html +20 -0
- package/components/app-mobile/navbars/top-app-bar-medium.html +20 -0
- package/components/app-mobile/navbars/top-app-bar-small.html +22 -0
- package/components/app-mobile/navigation/back-header.html +32 -0
- package/components/app-mobile/navigation/segmented-control.html +19 -0
- package/components/app-mobile/navigation/stepper-vertical.html +65 -0
- package/components/app-mobile/patterns/accordion.html +20 -0
- package/components/app-mobile/patterns/activity-feed.html +26 -0
- package/components/app-mobile/patterns/audio-waveform.html +34 -0
- package/components/app-mobile/patterns/avatar-group.html +14 -0
- package/components/app-mobile/patterns/breadcrumb.html +15 -0
- package/components/app-mobile/patterns/calendar-month.html +56 -0
- package/components/app-mobile/patterns/camera-viewfinder.html +33 -0
- package/components/app-mobile/patterns/card-horizontal.html +15 -0
- package/components/app-mobile/patterns/cart-item.html +23 -0
- package/components/app-mobile/patterns/category-pills.html +15 -0
- package/components/app-mobile/patterns/chat-bubble-received.html +15 -0
- package/components/app-mobile/patterns/chat-bubble-sent.html +14 -0
- package/components/app-mobile/patterns/chat-conversation.html +27 -0
- package/components/app-mobile/patterns/chat-input-bar.html +13 -0
- package/components/app-mobile/patterns/code-editor.html +29 -0
- package/components/app-mobile/patterns/comment-item.html +15 -0
- package/components/app-mobile/patterns/contact-card.html +19 -0
- package/components/app-mobile/patterns/data-table.html +25 -0
- package/components/app-mobile/patterns/empty-state.html +19 -0
- package/components/app-mobile/patterns/error-screen.html +14 -0
- package/components/app-mobile/patterns/event-card.html +22 -0
- package/components/app-mobile/patterns/image-editor.html +34 -0
- package/components/app-mobile/patterns/image-grid.html +16 -0
- package/components/app-mobile/patterns/login-form.html +22 -0
- package/components/app-mobile/patterns/map-card.html +19 -0
- package/components/app-mobile/patterns/media-player.html +26 -0
- package/components/app-mobile/patterns/notification-list.html +25 -0
- package/components/app-mobile/patterns/onboarding-slide.html +24 -0
- package/components/app-mobile/patterns/order-summary.html +16 -0
- package/components/app-mobile/patterns/order-tracker.html +27 -0
- package/components/app-mobile/patterns/pagination.html +17 -0
- package/components/app-mobile/patterns/post-card.html +28 -0
- package/components/app-mobile/patterns/product-card.html +26 -0
- package/components/app-mobile/patterns/profile-header.html +18 -0
- package/components/app-mobile/patterns/rating-stars.html +15 -0
- package/components/app-mobile/patterns/review-card.html +22 -0
- package/components/app-mobile/patterns/search-results.html +35 -0
- package/components/app-mobile/patterns/settings-group.html +30 -0
- package/components/app-mobile/patterns/stepper-horizontal.html +24 -0
- package/components/app-mobile/patterns/story-circle.html +16 -0
- package/components/app-mobile/patterns/swipe-action.html +19 -0
- package/components/app-mobile/patterns/tag-pills.html +14 -0
- package/components/app-mobile/patterns/timeline-item.html +19 -0
- package/components/app-mobile/patterns/todo-item.html +18 -0
- package/components/app-mobile/patterns/video-editor-timeline.html +36 -0
- package/components/app-mobile/patterns/video-player.html +33 -0
- package/components/app-mobile/patterns/wallet-card.html +18 -0
- package/components/app-mobile/sliders/slider-continuous.html +14 -0
- package/components/app-mobile/sliders/slider-discrete.html +21 -0
- package/components/app-mobile/social/chat-bubble-received.html +15 -0
- package/components/app-mobile/social/chat-bubble-sent.html +16 -0
- package/components/app-mobile/social/notification-item.html +17 -0
- package/components/app-mobile/social/post-card.html +46 -0
- package/components/app-mobile/social/reaction-bar.html +29 -0
- package/components/app-mobile/social/story-circle.html +15 -0
- package/components/app-mobile/social/user-profile-card.html +29 -0
- package/components/app-mobile/surfaces/bottom-sheet.html +23 -0
- package/components/app-mobile/surfaces/nav-drawer.html +20 -0
- package/components/app-mobile/surfaces/nav-rail.html +14 -0
- package/components/app-mobile/surfaces/side-sheet.html +17 -0
- package/components/app-mobile/tabs/tabs-primary.html +13 -0
- package/components/app-mobile/tabs/tabs-secondary.html +13 -0
- package/components/app-mobile/toggles/checkbox.html +14 -0
- package/components/app-mobile/toggles/radio.html +14 -0
- package/components/app-mobile/toggles/switch.html +11 -0
- package/components/app-mobile/travel/booking-summary.html +51 -0
- package/components/app-mobile/travel/flight-card.html +41 -0
- package/components/app-mobile/travel/hotel-card.html +35 -0
- package/components/app-mobile/travel/itinerary-item.html +29 -0
- package/components/app-mobile/travel/map-pins.html +42 -0
- package/components/app-mobile/travel/travel-date-picker.html +72 -0
- package/components/common/decorations/abstract-lines.html +30 -0
- package/components/common/decorations/circle-rings.html +26 -0
- package/components/common/decorations/corner-decoration.html +27 -0
- package/components/common/decorations/dots-pattern.html +51 -0
- package/components/common/decorations/gradient-blob.html +19 -0
- package/components/common/decorations/mesh-gradient.html +32 -0
- package/components/common/decorations/sparkle-burst.html +35 -0
- package/components/common/decorations/wave-divider.html +17 -0
- package/components/common/illustrations/empty-cart.html +27 -0
- package/components/common/illustrations/empty-inbox.html +28 -0
- package/components/common/illustrations/empty-search.html +26 -0
- package/components/common/illustrations/error-404.html +29 -0
- package/components/common/illustrations/no-data.html +31 -0
- package/components/common/illustrations/success-check.html +33 -0
- package/components/common/illustrations/upload-cloud.html +23 -0
- package/components/common/illustrations/welcome.html +31 -0
- package/components/common/mockup-elements/avatar-placeholder.html +17 -0
- package/components/common/mockup-elements/browser-chrome.html +37 -0
- package/components/common/mockup-elements/chart-bar.html +42 -0
- package/components/common/mockup-elements/image-placeholder.html +27 -0
- package/components/common/mockup-elements/laptop-frame.html +32 -0
- package/components/common/mockup-elements/map-placeholder.html +39 -0
- package/components/common/mockup-elements/phone-frame.html +29 -0
- package/components/common/mockup-elements/status-bar-android.html +30 -0
- package/components/common/mockup-elements/status-bar-ios.html +26 -0
- package/components/common/mockup-elements/video-placeholder.html +29 -0
- package/components/common/ui-icons/icon-add-circle.html +12 -0
- package/components/common/ui-icons/icon-airdrop.html +10 -0
- package/components/common/ui-icons/icon-airplay.html +10 -0
- package/components/common/ui-icons/icon-apple-logo.html +10 -0
- package/components/common/ui-icons/icon-arrow-back.html +11 -0
- package/components/common/ui-icons/icon-arrow-down.html +10 -0
- package/components/common/ui-icons/icon-arrow-right.html +10 -0
- package/components/common/ui-icons/icon-arrow-up.html +10 -0
- package/components/common/ui-icons/icon-bag.html +10 -0
- package/components/common/ui-icons/icon-battery.html +10 -0
- package/components/common/ui-icons/icon-bluetooth.html +10 -0
- package/components/common/ui-icons/icon-bolt.html +10 -0
- package/components/common/ui-icons/icon-bookmark-fill.html +10 -0
- package/components/common/ui-icons/icon-bookmark.html +10 -0
- package/components/common/ui-icons/icon-bubble-left.html +10 -0
- package/components/common/ui-icons/icon-calendar.html +19 -0
- package/components/common/ui-icons/icon-camera.html +11 -0
- package/components/common/ui-icons/icon-cart.html +10 -0
- package/components/common/ui-icons/icon-checkmark.html +10 -0
- package/components/common/ui-icons/icon-chevron-down.html +10 -0
- package/components/common/ui-icons/icon-chevron-left.html +10 -0
- package/components/common/ui-icons/icon-chevron-right.html +10 -0
- package/components/common/ui-icons/icon-chevron-up.html +10 -0
- package/components/common/ui-icons/icon-clock.html +10 -0
- package/components/common/ui-icons/icon-creditcard.html +10 -0
- package/components/common/ui-icons/icon-doc.html +10 -0
- package/components/common/ui-icons/icon-download.html +10 -0
- package/components/common/ui-icons/icon-ellipsis-vertical.html +10 -0
- package/components/common/ui-icons/icon-ellipsis.html +10 -0
- package/components/common/ui-icons/icon-envelope.html +10 -0
- package/components/common/ui-icons/icon-eye-slash.html +10 -0
- package/components/common/ui-icons/icon-eye.html +10 -0
- package/components/common/ui-icons/icon-faceid.html +10 -0
- package/components/common/ui-icons/icon-favorite.html +10 -0
- package/components/common/ui-icons/icon-folder.html +10 -0
- package/components/common/ui-icons/icon-globe.html +10 -0
- package/components/common/ui-icons/icon-heart-fill.html +10 -0
- package/components/common/ui-icons/icon-heart.html +10 -0
- package/components/common/ui-icons/icon-home.html +10 -0
- package/components/common/ui-icons/icon-link.html +10 -0
- package/components/common/ui-icons/icon-list-bullet.html +10 -0
- package/components/common/ui-icons/icon-location.html +11 -0
- package/components/common/ui-icons/icon-lock.html +10 -0
- package/components/common/ui-icons/icon-magnifying-glass.html +10 -0
- package/components/common/ui-icons/icon-map.html +10 -0
- package/components/common/ui-icons/icon-menu-hamburger.html +12 -0
- package/components/common/ui-icons/icon-mic.html +10 -0
- package/components/common/ui-icons/icon-minus.html +10 -0
- package/components/common/ui-icons/icon-notification.html +11 -0
- package/components/common/ui-icons/icon-paperplane.html +10 -0
- package/components/common/ui-icons/icon-pause.html +10 -0
- package/components/common/ui-icons/icon-pencil.html +10 -0
- package/components/common/ui-icons/icon-person-2.html +10 -0
- package/components/common/ui-icons/icon-person-crop-circle.html +10 -0
- package/components/common/ui-icons/icon-phone-fill.html +10 -0
- package/components/common/ui-icons/icon-photo.html +10 -0
- package/components/common/ui-icons/icon-play-fill.html +10 -0
- package/components/common/ui-icons/icon-plus.html +10 -0
- package/components/common/ui-icons/icon-profile.html +11 -0
- package/components/common/ui-icons/icon-qrcode.html +10 -0
- package/components/common/ui-icons/icon-settings.html +11 -0
- package/components/common/ui-icons/icon-share.html +14 -0
- package/components/common/ui-icons/icon-slider-horizontal.html +10 -0
- package/components/common/ui-icons/icon-square-grid.html +10 -0
- package/components/common/ui-icons/icon-star-fill.html +10 -0
- package/components/common/ui-icons/icon-star.html +10 -0
- package/components/common/ui-icons/icon-touchid.html +10 -0
- package/components/common/ui-icons/icon-trash.html +10 -0
- package/components/common/ui-icons/icon-upload.html +10 -0
- package/components/common/ui-icons/icon-video.html +10 -0
- package/components/common/ui-icons/icon-wifi.html +10 -0
- package/components/common/ui-icons/icon-xmark.html +10 -0
- package/components/componentmap-app-mobile.md +210 -0
- package/components/componentmap-web.md +206 -0
- package/components/web/README.md +110 -0
- package/components/web/account/payment-method.html +13 -0
- package/components/web/account/profile-card.html +18 -0
- package/components/web/account/subscription-card.html +21 -0
- package/components/web/badges/badge-set.html +14 -0
- package/components/web/buttons/button-danger.html +10 -0
- package/components/web/buttons/button-ghost.html +10 -0
- package/components/web/buttons/button-group.html +12 -0
- package/components/web/buttons/button-icon.html +10 -0
- package/components/web/buttons/button-primary.html +11 -0
- package/components/web/buttons/button-secondary.html +10 -0
- package/components/web/cards/card-basic.html +11 -0
- package/components/web/cards/card-feature.html +12 -0
- package/components/web/cards/card-image.html +16 -0
- package/components/web/cards/card-pricing.html +21 -0
- package/components/web/cards/card-stat.html +15 -0
- package/components/web/cards/card-testimonial.html +21 -0
- package/components/web/cart/cart-page.html +30 -0
- package/components/web/cart/checkout-form.html +27 -0
- package/components/web/cart/order-confirmation.html +24 -0
- package/components/web/charts/chart-area.html +25 -0
- package/components/web/charts/chart-bar.html +19 -0
- package/components/web/charts/chart-donut.html +27 -0
- package/components/web/content/author-card.html +15 -0
- package/components/web/content/blog-card-horizontal.html +16 -0
- package/components/web/cta/cta-centered.html +15 -0
- package/components/web/cta/cta-newsletter.html +16 -0
- package/components/web/cta/cta-with-image.html +17 -0
- package/components/web/data-display/accordion.html +45 -0
- package/components/web/data-display/grid-view.html +21 -0
- package/components/web/data-display/list-view.html +27 -0
- package/components/web/data-display/progress-steps.html +39 -0
- package/components/web/data-display/rating-stars.html +38 -0
- package/components/web/data-display/stat-card-compact.html +32 -0
- package/components/web/data-display/stat-card-large.html +34 -0
- package/components/web/data-display/table-selectable.html +127 -0
- package/components/web/data-display/table-sortable.html +120 -0
- package/components/web/data-display/tag-group.html +25 -0
- package/components/web/data-display/timeline-horizontal.html +55 -0
- package/components/web/data-display/timeline-vertical.html +76 -0
- package/components/web/data-display/tree-view.html +86 -0
- package/components/web/dividers/divider-text.html +8 -0
- package/components/web/ecommerce/coupon-input.html +11 -0
- package/components/web/ecommerce/product-card-grid.html +29 -0
- package/components/web/ecommerce/product-card-list.html +32 -0
- package/components/web/features/features-alternating.html +35 -0
- package/components/web/features/features-bento.html +43 -0
- package/components/web/features/features-icon-list.html +44 -0
- package/components/web/feedback/alert-banner.html +12 -0
- package/components/web/feedback/empty-state-error.html +18 -0
- package/components/web/feedback/empty-state-no-data.html +18 -0
- package/components/web/feedback/empty-state-no-search.html +15 -0
- package/components/web/feedback/empty-state.html +16 -0
- package/components/web/feedback/loading-spinner.html +14 -0
- package/components/web/feedback/progress-bar.html +11 -0
- package/components/web/feedback/skeleton-card.html +17 -0
- package/components/web/feedback/skeleton-list.html +45 -0
- package/components/web/feedback/skeleton.html +16 -0
- package/components/web/feedback/toast-error.html +12 -0
- package/components/web/feedback/toast-info.html +12 -0
- package/components/web/feedback/toast-success.html +12 -0
- package/components/web/feedback/tooltip.html +8 -0
- package/components/web/forms/date-picker.html +67 -0
- package/components/web/forms/file-upload.html +16 -0
- package/components/web/forms/form-contact.html +35 -0
- package/components/web/forms/form-login.html +29 -0
- package/components/web/forms/form-search-filters.html +57 -0
- package/components/web/forms/form-signup.html +35 -0
- package/components/web/heroes/hero-gradient.html +20 -0
- package/components/web/heroes/hero-image-bg.html +21 -0
- package/components/web/heroes/hero-video.html +17 -0
- package/components/web/inputs/checkbox.html +11 -0
- package/components/web/inputs/date-input.html +15 -0
- package/components/web/inputs/file-upload.html +12 -0
- package/components/web/inputs/radio-group.html +15 -0
- package/components/web/inputs/search-command.html +12 -0
- package/components/web/inputs/select.html +14 -0
- package/components/web/inputs/tag-input.html +15 -0
- package/components/web/inputs/text-input.html +11 -0
- package/components/web/inputs/textarea.html +11 -0
- package/components/web/inputs/toggle.html +11 -0
- package/components/web/job/candidate-profile.html +47 -0
- package/components/web/job/job-listing.html +44 -0
- package/components/web/job/resume-section.html +41 -0
- package/components/web/job/salary-range.html +19 -0
- package/components/web/layout/cta-banner.html +15 -0
- package/components/web/layout/features-grid.html +31 -0
- package/components/web/layout/hero-centered.html +19 -0
- package/components/web/layout/hero-split.html +21 -0
- package/components/web/layout/pricing-section.html +37 -0
- package/components/web/layout/stats-row.html +13 -0
- package/components/web/logos/logo-grid.html +20 -0
- package/components/web/logos/logo-ticker.html +19 -0
- package/components/web/marketing/cta-simple.html +18 -0
- package/components/web/marketing/cta-split.html +20 -0
- package/components/web/marketing/faq-accordion.html +55 -0
- package/components/web/marketing/feature-centered.html +35 -0
- package/components/web/marketing/feature-grid-2col.html +58 -0
- package/components/web/marketing/feature-grid-3col.html +44 -0
- package/components/web/marketing/footer-complex.html +86 -0
- package/components/web/marketing/footer-simple.html +59 -0
- package/components/web/marketing/hero-centered.html +44 -0
- package/components/web/marketing/hero-split-left.html +41 -0
- package/components/web/marketing/hero-split-right.html +35 -0
- package/components/web/marketing/logo-cloud.html +18 -0
- package/components/web/marketing/newsletter-signup.html +25 -0
- package/components/web/marketing/pricing-3tier.html +72 -0
- package/components/web/marketing/pricing-toggle.html +85 -0
- package/components/web/marketing/social-proof-bar.html +32 -0
- package/components/web/marketing/stats-row.html +45 -0
- package/components/web/marketing/team-grid.html +65 -0
- package/components/web/marketing/testimonial-carousel.html +45 -0
- package/components/web/marketing/testimonial-grid.html +75 -0
- package/components/web/media/blog-post-card.html +24 -0
- package/components/web/media/comment-single.html +26 -0
- package/components/web/media/image-gallery-grid.html +18 -0
- package/components/web/media/rich-text-block.html +20 -0
- package/components/web/media/testimonial-quote.html +20 -0
- package/components/web/media/video-player.html +44 -0
- package/components/web/menus/dropdown-menu.html +14 -0
- package/components/web/metrics/kpi-row.html +13 -0
- package/components/web/modals/modal-basic.html +21 -0
- package/components/web/modals/modal-form.html +22 -0
- package/components/web/navbars/breadcrumb.html +14 -0
- package/components/web/navbars/footer.html +35 -0
- package/components/web/navbars/sidebar-dark.html +21 -0
- package/components/web/navbars/sidebar.html +23 -0
- package/components/web/navbars/topnav-search.html +25 -0
- package/components/web/navbars/topnav.html +20 -0
- package/components/web/navigation/mega-menu.html +92 -0
- package/components/web/navigation/pagination.html +43 -0
- package/components/web/navigation/sidebar-collapsed.html +93 -0
- package/components/web/navigation/sidebar-expanded.html +121 -0
- package/components/web/navigation/stepper-horizontal.html +51 -0
- package/components/web/patterns/accordion.html +19 -0
- package/components/web/patterns/activity-feed.html +25 -0
- package/components/web/patterns/auth-login.html +24 -0
- package/components/web/patterns/avatar-group.html +13 -0
- package/components/web/patterns/calendar-month.html +44 -0
- package/components/web/patterns/category-pills.html +15 -0
- package/components/web/patterns/chat-web.html +24 -0
- package/components/web/patterns/code-editor.html +34 -0
- package/components/web/patterns/comparison-table.html +39 -0
- package/components/web/patterns/cookie-banner.html +14 -0
- package/components/web/patterns/error-page.html +16 -0
- package/components/web/patterns/file-list.html +24 -0
- package/components/web/patterns/filter-toolbar.html +14 -0
- package/components/web/patterns/kanban-column.html +27 -0
- package/components/web/patterns/notification-list.html +26 -0
- package/components/web/patterns/order-tracker.html +16 -0
- package/components/web/patterns/pagination.html +16 -0
- package/components/web/patterns/product-card-web.html +23 -0
- package/components/web/patterns/settings-form.html +24 -0
- package/components/web/patterns/stepper.html +16 -0
- package/components/web/patterns/user-table-row.html +15 -0
- package/components/web/patterns/video-player.html +26 -0
- package/components/web/presentation/slide-content.html +17 -0
- package/components/web/presentation/slide-title.html +13 -0
- package/components/web/pricing/pricing-table.html +51 -0
- package/components/web/pricing/pricing-toggle.html +62 -0
- package/components/web/print/business-card.html +20 -0
- package/components/web/products/product-card-horizontal.html +19 -0
- package/components/web/products/product-detail.html +39 -0
- package/components/web/products/product-grid.html +13 -0
- package/components/web/products/review-section.html +29 -0
- package/components/web/promotions/coupon-card.html +17 -0
- package/components/web/promotions/promo-banner.html +24 -0
- package/components/web/real-estate/agent-contact.html +32 -0
- package/components/web/real-estate/listing-detail-hero.html +44 -0
- package/components/web/real-estate/price-range-slider.html +20 -0
- package/components/web/real-estate/property-card.html +38 -0
- package/components/web/real-estate/property-map-pin.html +19 -0
- package/components/web/real-estate/virtual-tour-button.html +17 -0
- package/components/web/saas/api-key-row.html +31 -0
- package/components/web/saas/audit-log-row.html +21 -0
- package/components/web/saas/billing-plan.html +50 -0
- package/components/web/saas/kpi-row.html +61 -0
- package/components/web/saas/team-member-row.html +30 -0
- package/components/web/saas/webhook-config.html +44 -0
- package/components/web/screenshots/app-screenshot.html +32 -0
- package/components/web/screenshots/screenshot-gallery.html +45 -0
- package/components/web/social/comment-thread.html +75 -0
- package/components/web/social-media/instagram-post.html +17 -0
- package/components/web/social-proof/logo-cloud.html +18 -0
- package/components/web/social-proof/testimonial-carousel.html +30 -0
- package/components/web/surfaces/slide-over.html +20 -0
- package/components/web/tables/data-table.html +41 -0
- package/components/web/tables/table-simple.html +13 -0
- package/components/web/tabs/tabs-pills.html +12 -0
- package/components/web/tabs/tabs-underline.html +13 -0
- package/components/web/toggles/toggle-dark-mode.html +19 -0
- package/components/web/toggles/toggle-group.html +38 -0
- package/components/web/toggles/toggle-switch.html +14 -0
- package/components/web/widgets/api-key-row.html +16 -0
- package/components/web/widgets/billing-card.html +14 -0
- package/components/web/widgets/changelog-item.html +15 -0
- package/components/web/widgets/integration-card.html +15 -0
- package/components/web/widgets/onboarding-checklist.html +18 -0
- package/components/web/widgets/pricing-toggle.html +13 -0
- package/components/web/widgets/team-member-row.html +13 -0
- package/components/web/widgets/usage-meter.html +12 -0
- package/package.json +46 -0
- package/skills/README.md +35 -0
- package/skills/contribute.md +267 -0
- package/skills/design.md +470 -0
- package/skills/flutter.md +156 -0
- package/skills/nextjs.md +143 -0
- package/skills/react-native.md +258 -0
- package/skills/react.md +171 -0
- package/skills/svelte.md +95 -0
- package/skills/swiftui.md +171 -0
- package/skills/tailwind.md +108 -0
- package/skills/vue.md +111 -0
- package/src/commands/add.js +51 -0
- package/src/commands/convert.js +120 -0
- package/src/commands/design.js +89 -0
- package/src/commands/init.js +136 -0
- package/src/commands/list.js +52 -0
- package/src/commands/search.js +40 -0
- package/src/lib/index.js +100 -0
package/AI-AGENT.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# DesignKit — AI Agent Skills
|
|
2
|
+
|
|
3
|
+
> Read the skill file for your task, then execute the request.
|
|
4
|
+
|
|
5
|
+
## Skills
|
|
6
|
+
|
|
7
|
+
| Skill | File | What it does |
|
|
8
|
+
|-------|------|-------------|
|
|
9
|
+
| **Design** | [skills/design.md](skills/design.md) | Generate a pixel-perfect single-file HTML screen or page |
|
|
10
|
+
| **Contribute** | [skills/contribute.md](skills/contribute.md) | Create a valid new component or validate an existing one |
|
|
11
|
+
| **React** | [skills/react.md](skills/react.md) | Convert to React TypeScript component (inline styles) |
|
|
12
|
+
| **Next.js** | [skills/nextjs.md](skills/nextjs.md) | Build with Next.js App Router + `lib/tokens.ts` |
|
|
13
|
+
| **Vue 3** | [skills/vue.md](skills/vue.md) | Convert to Vue 3 `<script setup>` SFC |
|
|
14
|
+
| **Svelte 5** | [skills/svelte.md](skills/svelte.md) | Convert to Svelte 5 Runes component |
|
|
15
|
+
| **Tailwind** | [skills/tailwind.md](skills/tailwind.md) | Rewrite with Tailwind CSS v4 utility classes |
|
|
16
|
+
| **Flutter** | [skills/flutter.md](skills/flutter.md) | Convert to Flutter Dart Widget tree |
|
|
17
|
+
| **SwiftUI** | [skills/swiftui.md](skills/swiftui.md) | Convert to SwiftUI View (iOS) |
|
|
18
|
+
| **React Native** | [skills/react-native.md](skills/react-native.md) | Convert to React Native StyleSheet component |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Usage
|
|
23
|
+
|
|
24
|
+
### Design only
|
|
25
|
+
|
|
26
|
+
```
|
|
27
|
+
Read skills/design.md, then design:
|
|
28
|
+
a finance app home screen — dark mode, mobile 390px.
|
|
29
|
+
Output to output/finance-home.html
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Design + convert in one shot
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Read skills/design.md and skills/nextjs.md, then:
|
|
36
|
+
Design and build a SaaS dashboard with sidebar, KPI row, data table.
|
|
37
|
+
Output:
|
|
38
|
+
- src/app/dashboard/page.tsx
|
|
39
|
+
- src/components/layout/Sidebar.tsx
|
|
40
|
+
- src/lib/tokens.ts
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Convert existing HTML
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Read skills/react.md, then convert output/dashboard.html
|
|
47
|
+
to a React TypeScript component.
|
|
48
|
+
Output to src/components/Dashboard.tsx
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Pick a framework skill and describe what you want — the skill handles the rest.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Pixeliro
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,517 @@
|
|
|
1
|
+
# DesignKit — HTML UI Component Library
|
|
2
|
+
|
|
3
|
+
[](https://stackblitz.com/github/pixeliro-sys/designkit-source-for-ai)
|
|
4
|
+
|
|
5
|
+
> **502 ready-to-use HTML components** + **33 full-page design previews** for Web and Mobile.
|
|
6
|
+
> Token-based design system. Works with any AI agent to generate beautiful single-file HTML designs.
|
|
7
|
+
> Built by **[Pixeliro](https://pixeliro.com)** — AI-powered design tool for everyone.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Why DesignKit?
|
|
12
|
+
|
|
13
|
+
### Design-first, then build
|
|
14
|
+
|
|
15
|
+
The most common bottleneck in app development isn't coding — it's not knowing what to build. DesignKit solves this by letting you **design first in plain HTML**, then convert to any stack.
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
Idea → HTML prototype (minutes) → Ship to React / Vue / SwiftUI / Flutter / ...
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
No Figma license. No design handoff. No waiting. Just open an HTML file, see the UI, and start building.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
### Useful in design
|
|
26
|
+
|
|
27
|
+
- **Instant visual prototypes** — 502 components + 33 full-page designs ready to open in any browser. No build step, no setup.
|
|
28
|
+
- **Token-driven theming** — change one CSS variable (`--kit-primary`) and the entire design recolors. Perfect for testing brand colors, dark mode, or client themes in seconds.
|
|
29
|
+
- **AI-ready structure** — feed components to Claude, GPT-4, or Gemini. The AI understands the token system and generates pixel-perfect screens that match your design language.
|
|
30
|
+
- **Mobile + Web in one kit** — 204 mobile components (iOS/Android) and 200 web components share the same token system, so mobile and web feel consistent by default.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
### Useful in coding
|
|
35
|
+
|
|
36
|
+
- **Copy-paste HTML → any framework** — each component is a self-contained HTML snippet. Paste it into your project as-is, or ask an AI to convert it:
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
"Convert this HTML component to a React component using Tailwind CSS"
|
|
40
|
+
"Turn this into a Vue 3 <script setup> SFC"
|
|
41
|
+
"Convert to SwiftUI View"
|
|
42
|
+
"Rewrite as a Flutter Widget"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
- **Reference UI, not guesswork** — instead of describing UI to an AI ("make a pricing card with a highlighted tier"), paste the HTML and say "implement this". The output is 10× more accurate.
|
|
46
|
+
- **Design tokens as a contract** — `--kit-primary`, `--kit-radius`, `--kit-shadow` work as a shared language between design and code. Map them to your Tailwind config, CSS-in-JS theme, or native style tokens once, and everything stays in sync.
|
|
47
|
+
- **Full-page designs as scaffolding** — open `previews/full-designs/web/dashboard/` and you have a complete SaaS dashboard with 10 pages. Use it as a starter, a reference, or hand it to an AI to scaffold your real app.
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
### Workflow examples
|
|
52
|
+
|
|
53
|
+
**Solo developer prototyping a SaaS app**
|
|
54
|
+
1. Browse `previews/full-designs/web/saas-landing/` — open `index.html` in browser
|
|
55
|
+
2. Pick the pages you need, swap colors via CSS tokens
|
|
56
|
+
3. Ask Claude: *"Convert this HTML page to Next.js + Tailwind, keep the same layout"*
|
|
57
|
+
4. Ship
|
|
58
|
+
|
|
59
|
+
**Designer handing off to a dev team**
|
|
60
|
+
1. Customize tokens in `css/tokens.css` to match the brand
|
|
61
|
+
2. Compose pages from components in `components/web/`
|
|
62
|
+
3. Send the HTML files — devs have pixel-perfect reference + working markup
|
|
63
|
+
|
|
64
|
+
**AI agent generating app screens**
|
|
65
|
+
1. Point the agent at [AI-AGENT.md](AI-AGENT.md)
|
|
66
|
+
2. Agent reads the token system and component library
|
|
67
|
+
3. Agent generates consistent, on-brand single-file HTML screens
|
|
68
|
+
4. Convert each screen to the target framework
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## About Pixeliro
|
|
73
|
+
|
|
74
|
+
**[Pixeliro](https://pixeliro.com)** is an AI-powered design tool — create UI screens, social posts, marketing materials, and full app designs without design skills.
|
|
75
|
+
|
|
76
|
+
DesignKit is the component library that powers Pixeliro's editor and AI generation pipeline. Every component in this repo is live inside the app.
|
|
77
|
+
|
|
78
|
+
### Design Tools
|
|
79
|
+
|
|
80
|
+
| Tool | Link |
|
|
81
|
+
|------|------|
|
|
82
|
+
| AI Design Editor | [pixeliro.com](https://pixeliro.com) |
|
|
83
|
+
| UI Component Library | [pixeliro.com/design/components](https://pixeliro.com/design/components) |
|
|
84
|
+
| Mockup Generator | [pixeliro.com/design/mockups](https://pixeliro.com/design/mockups) |
|
|
85
|
+
| Design Tokens | [pixeliro.com/design-tokens](https://pixeliro.com/design-tokens) |
|
|
86
|
+
| Design Token Generator | [pixeliro.com/design-token-generator](https://pixeliro.com/design-token-generator) |
|
|
87
|
+
|
|
88
|
+
### Color Tools
|
|
89
|
+
|
|
90
|
+
| Tool | Link |
|
|
91
|
+
|------|------|
|
|
92
|
+
| Color Palette Generator | [pixeliro.com/color-palette-generator](https://pixeliro.com/color-palette-generator) |
|
|
93
|
+
| Color Generator | [pixeliro.com/color-generator](https://pixeliro.com/color-generator) |
|
|
94
|
+
| Gradient Generator | [pixeliro.com/gradient-generator](https://pixeliro.com/gradient-generator) |
|
|
95
|
+
| Color from Image | [pixeliro.com/color-palette-from-image](https://pixeliro.com/color-palette-from-image) |
|
|
96
|
+
| Color Shades | [pixeliro.com/color-shades-generator](https://pixeliro.com/color-shades-generator) |
|
|
97
|
+
| Contrast Checker | [pixeliro.com/contrast-checker](https://pixeliro.com/contrast-checker) |
|
|
98
|
+
| Color Accessibility | [pixeliro.com/color-accessibility-check](https://pixeliro.com/color-accessibility-check) |
|
|
99
|
+
| Color Converter | [pixeliro.com/color-converter](https://pixeliro.com/color-converter) |
|
|
100
|
+
| Brand Color Palette | [pixeliro.com/brand-color-palette](https://pixeliro.com/brand-color-palette) |
|
|
101
|
+
| Brand Palettes | [pixeliro.com/brand-palettes](https://pixeliro.com/brand-palettes) |
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+

|
|
106
|
+
|
|
107
|
+

|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## What's inside
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
DesignKit/
|
|
116
|
+
├── components/
|
|
117
|
+
│ ├── app-mobile/ 204 components (iOS + Android unified)
|
|
118
|
+
│ ├── web/ 200 components (Responsive desktop/web)
|
|
119
|
+
│ └── common/ 98 components (Icons, illustrations, mockup elements)
|
|
120
|
+
│
|
|
121
|
+
└── previews/
|
|
122
|
+
└── full-designs/
|
|
123
|
+
├── mobile/ 17 complete app designs (Finance, Fitness, Food, Social, …)
|
|
124
|
+
└── web/ 16 complete web designs (SaaS, Analytics, Blog, CRM, …)
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
**Each component** is a self-contained HTML snippet using CSS custom properties (`--kit-*`).
|
|
128
|
+
**Each full design** includes tokenkit.json, CSS tokens, pages, components, and specs.
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## Token System — `var(--kit-*)`
|
|
133
|
+
|
|
134
|
+
Every component uses **CSS custom properties**. Drop-in these variables to theme anything:
|
|
135
|
+
|
|
136
|
+
```css
|
|
137
|
+
:root {
|
|
138
|
+
/* Colors */
|
|
139
|
+
--kit-primary: #6366F1; /* brand color */
|
|
140
|
+
--kit-primary-text: #FFFFFF; /* text on primary */
|
|
141
|
+
--kit-secondary: #64748B;
|
|
142
|
+
--kit-accent: #F59E0B;
|
|
143
|
+
--kit-bg: #FFFFFF; /* page background */
|
|
144
|
+
--kit-surface: #F8FAFC; /* card, panel */
|
|
145
|
+
--kit-surface-2: #F1F5F9; /* nested surfaces */
|
|
146
|
+
--kit-text: #0F172A; /* primary text */
|
|
147
|
+
--kit-text-2: #475569; /* secondary text */
|
|
148
|
+
--kit-text-3: #94A3B8; /* caption, placeholder */
|
|
149
|
+
--kit-text-inverse: #FFFFFF;
|
|
150
|
+
--kit-border: #E2E8F0;
|
|
151
|
+
--kit-border-strong:#CBD5E1;
|
|
152
|
+
--kit-success: #22C55E;
|
|
153
|
+
--kit-error: #EF4444;
|
|
154
|
+
--kit-warning: #F59E0B;
|
|
155
|
+
--kit-info: #3B82F6;
|
|
156
|
+
|
|
157
|
+
/* Typography */
|
|
158
|
+
--kit-font: 'Inter', system-ui, -apple-system, sans-serif;
|
|
159
|
+
--kit-text-xs: 11px;
|
|
160
|
+
--kit-text-sm: 13px;
|
|
161
|
+
--kit-text-md: 15px;
|
|
162
|
+
--kit-text-lg: 17px;
|
|
163
|
+
--kit-text-xl: 20px;
|
|
164
|
+
--kit-text-2xl: 24px;
|
|
165
|
+
--kit-text-3xl: 32px;
|
|
166
|
+
--kit-text-4xl: 48px;
|
|
167
|
+
|
|
168
|
+
/* Spacing */
|
|
169
|
+
--kit-space-1: 4px;
|
|
170
|
+
--kit-space-2: 8px;
|
|
171
|
+
--kit-space-3: 12px;
|
|
172
|
+
--kit-space-4: 16px;
|
|
173
|
+
--kit-space-5: 20px;
|
|
174
|
+
--kit-space-6: 24px;
|
|
175
|
+
--kit-space-8: 32px;
|
|
176
|
+
--kit-space-10: 40px;
|
|
177
|
+
--kit-space-12: 48px;
|
|
178
|
+
--kit-space-16: 80px;
|
|
179
|
+
|
|
180
|
+
/* Border radius */
|
|
181
|
+
--kit-radius-sm: 6px;
|
|
182
|
+
--kit-radius: 10px;
|
|
183
|
+
--kit-radius-lg: 14px;
|
|
184
|
+
--kit-radius-xl: 20px;
|
|
185
|
+
--kit-radius-full: 9999px;
|
|
186
|
+
|
|
187
|
+
/* Shadows */
|
|
188
|
+
--kit-shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
|
|
189
|
+
--kit-shadow: 0 4px 12px rgba(0,0,0,0.10);
|
|
190
|
+
--kit-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
|
|
191
|
+
--kit-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
|
|
192
|
+
}
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Override any token to retheme all components instantly — no class changes needed.
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
## Component Format
|
|
200
|
+
|
|
201
|
+
Every component file follows this structure:
|
|
202
|
+
|
|
203
|
+
```html
|
|
204
|
+
<!--
|
|
205
|
+
@name: Primary Button
|
|
206
|
+
@kit: web
|
|
207
|
+
@category: buttons
|
|
208
|
+
@width: 320
|
|
209
|
+
@height: 40
|
|
210
|
+
@tags: button, primary, cta, action
|
|
211
|
+
-->
|
|
212
|
+
<div data-component="Primary Button" style="font-family:var(--kit-font, Inter, system-ui, sans-serif)">
|
|
213
|
+
<button style="
|
|
214
|
+
height: 40px;
|
|
215
|
+
padding: 0 20px;
|
|
216
|
+
background: var(--kit-primary, #6366F1);
|
|
217
|
+
color: var(--kit-primary-text, #FFFFFF);
|
|
218
|
+
border-radius: var(--kit-radius, 10px);
|
|
219
|
+
border: none;
|
|
220
|
+
font-size: var(--kit-text-sm, 13px);
|
|
221
|
+
font-weight: 500;
|
|
222
|
+
cursor: pointer;
|
|
223
|
+
">Get Started</button>
|
|
224
|
+
</div>
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
Rules:
|
|
228
|
+
- **Inline styles only** — no external CSS, no class dependencies
|
|
229
|
+
- **Self-contained** — copy-paste anywhere, it works
|
|
230
|
+
- **Semantic HTML** — `<button>`, `<nav>`, `<a>`, `<input>` (not div-soup)
|
|
231
|
+
- **No JavaScript** — pure HTML + CSS, static design previews
|
|
232
|
+
- **Placeholder images** — `https://placehold.jp/400x300.png`
|
|
233
|
+
|
|
234
|
+
---
|
|
235
|
+
|
|
236
|
+
## Components — App Mobile (204)
|
|
237
|
+
|
|
238
|
+
Platform: iOS + Android unified. Size reference: 390×844 (iPhone 14 Pro).
|
|
239
|
+
|
|
240
|
+
| Category | Count | Examples |
|
|
241
|
+
|----------|-------|---------|
|
|
242
|
+
| `navbars` | 8 | top-app-bar-small/medium/large/center, bottom-nav-3/4/5, bottom-app-bar |
|
|
243
|
+
| `buttons` | 11 | filled, tonal, outlined, text, icon, fab, fab-small, fab-extended, segmented |
|
|
244
|
+
| `cards` | 3 | elevated, filled, outlined |
|
|
245
|
+
| `inputs` | 10 | text-field, search-bar, select, date-picker, time-picker, otp, password, file-upload, textarea |
|
|
246
|
+
| `lists` | 3 | list-item-1line, 2line, 3line |
|
|
247
|
+
| `chips` | 4 | assist, filter, input, suggestion |
|
|
248
|
+
| `feedback` | 6 | snackbar, progress-linear, progress-circular, skeleton, banner, tooltip |
|
|
249
|
+
| `tabs` | 2 | primary-tabs, secondary-tabs |
|
|
250
|
+
| `toggles` | 3 | switch, checkbox, radio |
|
|
251
|
+
| `menus` | 2 | dropdown-menu, context-menu |
|
|
252
|
+
| `dialogs` | 2 | basic-dialog, fullscreen-dialog |
|
|
253
|
+
| `surfaces` | 4 | bottom-sheet, side-sheet, drawer, navigation-rail |
|
|
254
|
+
| `sliders` | 2 | continuous, discrete |
|
|
255
|
+
| `badges` | 3 | badge-dot, badge-count, badge-overflow |
|
|
256
|
+
| `dividers` | 2 | full-width, inset |
|
|
257
|
+
| `native` | 15 | ios-status-bar, ios-nav-bar, ios-tab-bar, ios-action-sheet, ios-alert, android-status-bar, gesture-nav, … |
|
|
258
|
+
| `patterns` | 47 | product-card, order-tracker, chat-bubble, contact-card, story-row, map-preview, … |
|
|
259
|
+
| `charts` | 7 | bar-chart, line-chart, donut-chart, progress-ring, sparkline, stat-card, horizontal-bar |
|
|
260
|
+
| `data-display` | 2 | grid-view, list-view |
|
|
261
|
+
|
|
262
|
+
**Full list:** [components/componentmap-app-mobile.md](components/componentmap-app-mobile.md)
|
|
263
|
+
|
|
264
|
+

|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Components — Web (200)
|
|
269
|
+
|
|
270
|
+
Platform: Desktop/Web. Size reference: 1440px wide, responsive.
|
|
271
|
+
|
|
272
|
+
| Category | Count | Examples |
|
|
273
|
+
|----------|-------|---------|
|
|
274
|
+
| `navbars` | 6 | topnav, topnav-search, sidebar, sidebar-dark, breadcrumb, footer |
|
|
275
|
+
| `buttons` | 6 | primary, secondary, danger, ghost, icon, group |
|
|
276
|
+
| `cards` | 6 | basic, feature, image, pricing, stat, testimonial |
|
|
277
|
+
| `inputs` | 10 | text-input, textarea, select, search-command, date, file-upload, tag-input, checkbox, radio, toggle |
|
|
278
|
+
| `heroes` | 3 | hero-gradient, hero-image-bg, hero-video |
|
|
279
|
+
| `features` | 3 | icon-list, alternating-rows, bento-grid |
|
|
280
|
+
| `cta` | 3 | centered, split-image, newsletter |
|
|
281
|
+
| `pricing` | 2 | comparison-table, monthly-annual |
|
|
282
|
+
| `social-proof` | 2 | logo-cloud, testimonials |
|
|
283
|
+
| `layout` | 6 | hero-centered, hero-split, features-grid, pricing-section, stats-row, cta-banner |
|
|
284
|
+
| `tables` | 2 | simple-table, data-table |
|
|
285
|
+
| `modals` | 2 | basic, form |
|
|
286
|
+
| `feedback` | 8 | alert, empty-state, loading, progress-bar, skeleton, toast-success, toast-error, tooltip |
|
|
287
|
+
| `charts` | 3 | area-chart, bar-chart, donut-chart |
|
|
288
|
+
| `widgets` | 8 | api-keys, billing, changelog, onboarding, settings, stats, team, usage |
|
|
289
|
+
| `patterns` | 22 | auth-login, kanban-board, chat-interface, calendar, settings-page, … |
|
|
290
|
+
| `products` | 4 | product-card, product-detail, product-grid, review-section |
|
|
291
|
+
| `cart` | 3 | cart-page, checkout, order-confirmation |
|
|
292
|
+
| `account` | 3 | profile, subscription, payment-method |
|
|
293
|
+
|
|
294
|
+
**Full list:** [components/componentmap-web.md](components/componentmap-web.md)
|
|
295
|
+
|
|
296
|
+

|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
## Components — Common (98)
|
|
301
|
+
|
|
302
|
+
Shared across both kits.
|
|
303
|
+
|
|
304
|
+
| Category | Count | Description |
|
|
305
|
+
|----------|-------|-------------|
|
|
306
|
+
| `ui-icons` | ~40 | SVG icons: actions, navigation, media, commerce, social, data, status… |
|
|
307
|
+
| `illustrations` | ~30 | Empty states, onboarding, error, success illustrations |
|
|
308
|
+
| `decorations` | ~18 | Gradient blobs, patterns, dividers, abstract shapes |
|
|
309
|
+
| `mockup-elements` | ~10 | Phone frame, browser frame, screen bezels |
|
|
310
|
+
|
|
311
|
+
---
|
|
312
|
+
|
|
313
|
+
## Full Design Previews
|
|
314
|
+
|
|
315
|
+
Pre-built complete designs, ready to open in browser. Two formats:
|
|
316
|
+
|
|
317
|
+
- **Single-file** — one self-contained `.html` file, open instantly
|
|
318
|
+
- **Multi-page** — full folder with multiple pages + tokenkit.json
|
|
319
|
+
|
|
320
|
+
### Single-file designs
|
|
321
|
+
|
|
322
|
+
Open directly in browser. No folder, no setup. Great as AI reference or starter.
|
|
323
|
+
|
|
324
|
+
| File | Type | Description |
|
|
325
|
+
|------|------|-------------|
|
|
326
|
+
| [mobile-finance.html](previews/full-designs/mobile-finance.html) | Mobile | Finance app — dashboard, balance card, transactions |
|
|
327
|
+
| [mobile-social.html](previews/full-designs/mobile-social.html) | Mobile | Social app — feed, stories, profile, chat |
|
|
328
|
+
| [mobile-ecommerce.html](previews/full-designs/mobile-ecommerce.html) | Mobile | E-commerce — catalog, product, cart, checkout |
|
|
329
|
+
| [web-dashboard.html](previews/full-designs/web-dashboard.html) | Web | Analytics dashboard — KPIs, charts, data table |
|
|
330
|
+
| [web-blog.html](previews/full-designs/web-blog.html) | Web | Blog — home, article, category pages |
|
|
331
|
+
| [web-saas-landing.html](previews/full-designs/web-saas-landing.html) | Web | SaaS landing — hero, features, pricing |
|
|
332
|
+
|
|
333
|
+
**Use with AI:**
|
|
334
|
+
```
|
|
335
|
+
Read AI-AGENT.md and previews/full-designs/mobile-finance.html,
|
|
336
|
+
then build this as a React Native app.
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
### Multi-page designs
|
|
340
|
+
|
|
341
|
+
### Mobile — Pixeliro App (12 screens)
|
|
342
|
+
|
|
343
|
+
> A design platform app: users type slash commands to generate palettes, brand systems, and token sets.
|
|
344
|
+
|
|
345
|
+
| # | Screen | Description |
|
|
346
|
+
|---|--------|-------------|
|
|
347
|
+
| 1 | Splash | Brand splash with logo + tagline |
|
|
348
|
+
| 2 | Onboarding | 3-step feature intro with illustrations |
|
|
349
|
+
| 3 | Login | Google OAuth + email/password |
|
|
350
|
+
| 4 | Chat (Home) | Main screen — chat input + command results |
|
|
351
|
+
| 5 | Command Picker | Slash command grid with categories |
|
|
352
|
+
| 6 | Color Palette Result | Generated palette with swatches + actions |
|
|
353
|
+
| 7 | Brand System Result | Full brand system with roles + CSS export |
|
|
354
|
+
| 8 | Token Preview | Live preview with component thumbnails |
|
|
355
|
+
| 9 | My Workspace | Saved palettes, tokens, designs list |
|
|
356
|
+
| 10 | Design Editor | Simplified canvas with layers |
|
|
357
|
+
| 11 | Settings | Account, plan, theme, security |
|
|
358
|
+
| 12 | Upgrade Pro | In-app purchase screen |
|
|
359
|
+
|
|
360
|
+
📁 [`previews/full-designs/mobile/pixeliro/`](previews/full-designs/mobile/pixeliro/)
|
|
361
|
+
|
|
362
|
+

|
|
363
|
+
|
|
364
|
+
### Web — SaaS Landing (14 pages)
|
|
365
|
+
|
|
366
|
+
> Complete marketing site for a SaaS product — all standard pages included.
|
|
367
|
+
|
|
368
|
+
| Page | File | Description |
|
|
369
|
+
|------|------|-------------|
|
|
370
|
+
| Home | home.html | Hero, features, social proof, CTA |
|
|
371
|
+
| Features | features.html | Feature deep-dive with visuals |
|
|
372
|
+
| Pricing | pricing.html | Plans, comparison, FAQ |
|
|
373
|
+
| Blog | blog.html | Post listing with categories |
|
|
374
|
+
| Blog Post | blog-post.html | Article layout with sidebar |
|
|
375
|
+
| About | about.html | Team, mission, values |
|
|
376
|
+
| Contact | contact.html | Contact form + map |
|
|
377
|
+
| Login | login.html | Auth with OAuth options |
|
|
378
|
+
| Signup | signup.html | Registration flow |
|
|
379
|
+
| Team | team.html | Team members grid |
|
|
380
|
+
| FAQ | Faq.html | Accordion FAQ |
|
|
381
|
+
| Privacy | privacy.html | Privacy policy |
|
|
382
|
+
| Terms | terms.html | Terms of service |
|
|
383
|
+
| 404 | 404.html | Error page |
|
|
384
|
+
|
|
385
|
+
📁 [`previews/full-designs/web/saas-landing/`](previews/full-designs/web/saas-landing/)
|
|
386
|
+
|
|
387
|
+

|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## CLI
|
|
392
|
+
|
|
393
|
+
```bash
|
|
394
|
+
npx designkit-ai <command>
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
| Command | Description |
|
|
398
|
+
|---------|-------------|
|
|
399
|
+
| `designkit init` | Add tokens to your project (css / js / ts / json) |
|
|
400
|
+
| `designkit list` | Browse all 502 components |
|
|
401
|
+
| `designkit list --kit web --category cards` | Filter by kit and category |
|
|
402
|
+
| `designkit search <query>` | Search by name or tag |
|
|
403
|
+
| `designkit add <id>` | Copy a component to your project |
|
|
404
|
+
|
|
405
|
+
### Examples
|
|
406
|
+
|
|
407
|
+
```bash
|
|
408
|
+
# Get tokens in TypeScript
|
|
409
|
+
npx designkit-ai init --format ts --output src/
|
|
410
|
+
|
|
411
|
+
# Find pricing components
|
|
412
|
+
npx designkit-ai search pricing
|
|
413
|
+
|
|
414
|
+
# Copy a card component to your project
|
|
415
|
+
npx designkit-ai add web/cards/card-pricing --output src/components/
|
|
416
|
+
|
|
417
|
+
# List all mobile components
|
|
418
|
+
npx designkit-ai list --kit app-mobile
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
---
|
|
422
|
+
|
|
423
|
+
## How to use
|
|
424
|
+
|
|
425
|
+
### 1. Copy a component
|
|
426
|
+
|
|
427
|
+
Open any `.html` file in `components/`, copy the HTML content, paste into your project.
|
|
428
|
+
Make sure `var(--kit-*)` tokens are defined (copy from any `css/tokens.css`).
|
|
429
|
+
|
|
430
|
+
### 2. Browse full designs
|
|
431
|
+
|
|
432
|
+
Open `previews/full-designs/mobile/pixeliro/index.html` or `previews/full-designs/web/saas-landing/index.html` in a browser — it shows all pages in a gallery.
|
|
433
|
+
Open individual pages to see the full design at device size.
|
|
434
|
+
|
|
435
|
+
### 3. Use with AI (recommended)
|
|
436
|
+
|
|
437
|
+
See **[AI-AGENT.md](AI-AGENT.md)** — a prompt/instructions file for AI agents (Claude, GPT-4, Gemini, Cursor, Copilot) to:
|
|
438
|
+
- Read this kit
|
|
439
|
+
- Understand the token system
|
|
440
|
+
- Generate single-file HTML designs (page or screen)
|
|
441
|
+
- Stay consistent with the design system
|
|
442
|
+
|
|
443
|
+
### 4. Customize tokens
|
|
444
|
+
|
|
445
|
+
Override any `--kit-*` variable to retheme:
|
|
446
|
+
|
|
447
|
+
```html
|
|
448
|
+
<style>
|
|
449
|
+
:root {
|
|
450
|
+
--kit-primary: #EF4444; /* red brand */
|
|
451
|
+
--kit-font: 'Poppins', sans-serif;
|
|
452
|
+
--kit-radius: 4px; /* sharper corners */
|
|
453
|
+
--kit-bg: #0F172A; /* dark mode */
|
|
454
|
+
--kit-surface: #1E293B;
|
|
455
|
+
--kit-text: #F1F5F9;
|
|
456
|
+
}
|
|
457
|
+
</style>
|
|
458
|
+
```
|
|
459
|
+
|
|
460
|
+
---
|
|
461
|
+
|
|
462
|
+
## Single-file HTML output
|
|
463
|
+
|
|
464
|
+
AI agents using this kit generate **self-contained single HTML files**:
|
|
465
|
+
|
|
466
|
+
```html
|
|
467
|
+
<!DOCTYPE html>
|
|
468
|
+
<html lang="en">
|
|
469
|
+
<head>
|
|
470
|
+
<meta charset="UTF-8">
|
|
471
|
+
<meta name="viewport" content="width=390"> <!-- mobile: 390, desktop: 1440 -->
|
|
472
|
+
<title>Screen Name</title>
|
|
473
|
+
<style>
|
|
474
|
+
/* 1. Kit tokens */
|
|
475
|
+
:root { --kit-primary: #6366F1; ... }
|
|
476
|
+
|
|
477
|
+
/* 2. Minimal reset */
|
|
478
|
+
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
479
|
+
body { font-family: var(--kit-font); background: var(--kit-bg); color: var(--kit-text); }
|
|
480
|
+
|
|
481
|
+
/* 3. Screen wrapper */
|
|
482
|
+
.screen { width: 390px; min-height: 844px; margin: 0 auto; overflow: hidden; position: relative; }
|
|
483
|
+
</style>
|
|
484
|
+
</head>
|
|
485
|
+
<body>
|
|
486
|
+
<div class="screen">
|
|
487
|
+
<!-- components go here, inline styles -->
|
|
488
|
+
</div>
|
|
489
|
+
</body>
|
|
490
|
+
</html>
|
|
491
|
+
```
|
|
492
|
+
|
|
493
|
+
---
|
|
494
|
+
|
|
495
|
+
## License
|
|
496
|
+
|
|
497
|
+
MIT — free for personal and commercial use. No attribution required.
|
|
498
|
+
|
|
499
|
+
---
|
|
500
|
+
|
|
501
|
+
## Built with DesignKit
|
|
502
|
+
|
|
503
|
+
Built something with DesignKit? Open a PR and add it here.
|
|
504
|
+
|
|
505
|
+
| Project | Framework | Author |
|
|
506
|
+
|---------|-----------|--------|
|
|
507
|
+
| *Your project here* | — | — |
|
|
508
|
+
|
|
509
|
+
---
|
|
510
|
+
|
|
511
|
+
## Related
|
|
512
|
+
|
|
513
|
+
- [AI-AGENT.md](AI-AGENT.md) — How to use this kit with AI agents
|
|
514
|
+
- [components/_index.md](components/_index.md) — Full component catalog
|
|
515
|
+
- [components/app-mobile/README.md](components/app-mobile/README.md) — Mobile kit docs
|
|
516
|
+
- [components/web/README.md](components/web/README.md) — Web kit docs
|
|
517
|
+
- [pixeliro.com](https://pixeliro.com) — Live design tool using this kit
|
package/bin/designkit.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { program } from 'commander'
|
|
3
|
+
import { listCommand } from '../src/commands/list.js'
|
|
4
|
+
import { addCommand } from '../src/commands/add.js'
|
|
5
|
+
import { initCommand } from '../src/commands/init.js'
|
|
6
|
+
import { searchCommand } from '../src/commands/search.js'
|
|
7
|
+
import { designCommand } from '../src/commands/design.js'
|
|
8
|
+
import { convertCommand } from '../src/commands/convert.js'
|
|
9
|
+
import { readFileSync } from 'fs'
|
|
10
|
+
import { fileURLToPath } from 'url'
|
|
11
|
+
import { dirname, join } from 'path'
|
|
12
|
+
|
|
13
|
+
const __dirname = dirname(fileURLToPath(import.meta.url))
|
|
14
|
+
const pkg = JSON.parse(readFileSync(join(__dirname, '../package.json'), 'utf8'))
|
|
15
|
+
|
|
16
|
+
program
|
|
17
|
+
.name('designkit')
|
|
18
|
+
.description('502 HTML UI components + AI skills for designing and building apps')
|
|
19
|
+
.version(pkg.version)
|
|
20
|
+
|
|
21
|
+
program
|
|
22
|
+
.command('list')
|
|
23
|
+
.description('Browse available components')
|
|
24
|
+
.option('-k, --kit <kit>', 'Filter by kit: web, app-mobile, common')
|
|
25
|
+
.option('-c, --category <category>', 'Filter by category (e.g. cards, buttons)')
|
|
26
|
+
.action(listCommand)
|
|
27
|
+
|
|
28
|
+
program
|
|
29
|
+
.command('add <component>')
|
|
30
|
+
.description('Copy a component to your project')
|
|
31
|
+
.option('-o, --output <dir>', 'Output directory', '.')
|
|
32
|
+
.action(addCommand)
|
|
33
|
+
|
|
34
|
+
program
|
|
35
|
+
.command('search <query>')
|
|
36
|
+
.description('Search components by name or tag')
|
|
37
|
+
.option('-k, --kit <kit>', 'Filter by kit: web, app-mobile, common')
|
|
38
|
+
.action(searchCommand)
|
|
39
|
+
|
|
40
|
+
program
|
|
41
|
+
.command('init')
|
|
42
|
+
.description('Add DesignKit tokens to your project')
|
|
43
|
+
.option('-o, --output <dir>', 'Output directory', '.')
|
|
44
|
+
.option('--format <format>', 'Output format: css, js, ts, json', 'css')
|
|
45
|
+
.action(initCommand)
|
|
46
|
+
|
|
47
|
+
program
|
|
48
|
+
.command('design <prompt>')
|
|
49
|
+
.description('Generate a UI component with AI (requires ANTHROPIC_API_KEY)')
|
|
50
|
+
.option('-s, --skill <skill>', 'Skill to use: design, react, nextjs, vue, svelte, tailwind, flutter, swiftui, react-native', 'design')
|
|
51
|
+
.option('-o, --output <file>', 'Save output to file')
|
|
52
|
+
.action(designCommand)
|
|
53
|
+
|
|
54
|
+
program
|
|
55
|
+
.command('convert <file>')
|
|
56
|
+
.description('Convert an HTML component to another framework with AI (requires ANTHROPIC_API_KEY)')
|
|
57
|
+
.requiredOption('--to <framework>', 'Target framework: react, nextjs, vue, svelte, tailwind, flutter, swiftui, react-native')
|
|
58
|
+
.option('-o, --output <file>', 'Save output to file (default: same name, new extension)')
|
|
59
|
+
.action(convertCommand)
|
|
60
|
+
|
|
61
|
+
program.parse()
|