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
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Toggle Group — Notification Settings
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 440
|
|
5
|
+
@height: 220
|
|
6
|
+
@tags: toggle, group, settings, notifications, list
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Toggle Group — Notification Settings" style="width:100%;background:var(--kit-bg, #FFFFFF);border:1px solid var(--kit-border, #E2E8F0);border-radius:var(--kit-radius, 8px);box-sizing:border-box;font-family:var(--kit-font, Inter, system-ui, sans-serif);overflow:hidden">
|
|
9
|
+
<!-- Row 1: Notifications -->
|
|
10
|
+
<div style="display:flex;align-items:center;gap:14px;padding:18px 20px">
|
|
11
|
+
<div style="width:36px;height:36px;border-radius:var(--kit-radius, 8px);background:var(--kit-surface, #F8FAFC);display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="var(--kit-text-2, #475569)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg></div>
|
|
12
|
+
<div style="flex:1;min-width:0">
|
|
13
|
+
<div style="font-size:var(--kit-text-sm, 14px);font-weight:var(--kit-font-medium, 500);color:var(--kit-text, #0F172A)">Push Notifications</div>
|
|
14
|
+
<div style="font-size:12px;color:var(--kit-text-3, #94A3B8);margin-top:1px">Alerts for new activity</div>
|
|
15
|
+
</div>
|
|
16
|
+
<div style="width:48px;height:24px;border-radius:var(--kit-radius-full, 9999px);background:var(--kit-primary, #6366F1);padding:2px;box-sizing:border-box;cursor:pointer;flex-shrink:0"><div style="width:20px;height:20px;border-radius:var(--kit-radius-full, 9999px);background:#FFFFFF;margin-left:auto;box-shadow:0 1px 3px rgba(0,0,0,0.1)"></div></div>
|
|
17
|
+
</div>
|
|
18
|
+
<div style="height:1px;background:var(--kit-border, #E2E8F0);margin:0 20px"></div>
|
|
19
|
+
<!-- Row 2: Email -->
|
|
20
|
+
<div style="display:flex;align-items:center;gap:14px;padding:18px 20px">
|
|
21
|
+
<div style="width:36px;height:36px;border-radius:var(--kit-radius, 8px);background:var(--kit-surface, #F8FAFC);display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="var(--kit-text-2, #475569)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="4" width="20" height="16" rx="2"/><path d="m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"/></svg></div>
|
|
22
|
+
<div style="flex:1;min-width:0">
|
|
23
|
+
<div style="font-size:var(--kit-text-sm, 14px);font-weight:var(--kit-font-medium, 500);color:var(--kit-text, #0F172A)">Email Digest</div>
|
|
24
|
+
<div style="font-size:12px;color:var(--kit-text-3, #94A3B8);margin-top:1px">Weekly summary emails</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div style="width:48px;height:24px;border-radius:var(--kit-radius-full, 9999px);background:var(--kit-border, #E2E8F0);padding:2px;box-sizing:border-box;cursor:pointer;flex-shrink:0"><div style="width:20px;height:20px;border-radius:var(--kit-radius-full, 9999px);background:#FFFFFF;box-shadow:0 1px 3px rgba(0,0,0,0.1)"></div></div>
|
|
27
|
+
</div>
|
|
28
|
+
<div style="height:1px;background:var(--kit-border, #E2E8F0);margin:0 20px"></div>
|
|
29
|
+
<!-- Row 3: Security -->
|
|
30
|
+
<div style="display:flex;align-items:center;gap:14px;padding:18px 20px">
|
|
31
|
+
<div style="width:36px;height:36px;border-radius:var(--kit-radius, 8px);background:var(--kit-surface, #F8FAFC);display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="var(--kit-text-2, #475569)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/></svg></div>
|
|
32
|
+
<div style="flex:1;min-width:0">
|
|
33
|
+
<div style="font-size:var(--kit-text-sm, 14px);font-weight:var(--kit-font-medium, 500);color:var(--kit-text, #0F172A)">Two-Factor Auth</div>
|
|
34
|
+
<div style="font-size:12px;color:var(--kit-text-3, #94A3B8);margin-top:1px">Extra security layer</div>
|
|
35
|
+
</div>
|
|
36
|
+
<div style="width:48px;height:24px;border-radius:var(--kit-radius-full, 9999px);background:var(--kit-primary, #6366F1);padding:2px;box-sizing:border-box;cursor:pointer;flex-shrink:0"><div style="width:20px;height:20px;border-radius:var(--kit-radius-full, 9999px);background:#FFFFFF;margin-left:auto;box-shadow:0 1px 3px rgba(0,0,0,0.1)"></div></div>
|
|
37
|
+
</div>
|
|
38
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Toggle Switch — Settings Row
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 360
|
|
5
|
+
@height: 64
|
|
6
|
+
@tags: toggle, switch, setting, row, label, description
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Toggle Switch — Settings Row" style="width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;background:var(--kit-bg, #FFFFFF);border:1px solid var(--kit-border, #E2E8F0);border-radius:var(--kit-radius, 8px);box-sizing:border-box;font-family:var(--kit-font, Inter, system-ui, sans-serif)">
|
|
9
|
+
<div style="display:flex;flex-direction:column;gap:2px">
|
|
10
|
+
<div style="font-size:var(--kit-text-sm, 14px);font-weight:var(--kit-font-semibold, 600);color:var(--kit-text, #0F172A)">Push Notifications</div>
|
|
11
|
+
<div style="font-size:12px;color:var(--kit-text-2, #475569)">Receive alerts on your device</div>
|
|
12
|
+
</div>
|
|
13
|
+
<div style="width:48px;height:24px;border-radius:var(--kit-radius-full, 9999px);background:var(--kit-primary, #6366F1);padding:2px;box-sizing:border-box;cursor:pointer;flex-shrink:0"><div style="width:20px;height:20px;border-radius:var(--kit-radius-full, 9999px);background:#FFFFFF;margin-left:auto;box-shadow:0 1px 3px rgba(0,0,0,0.1)"></div></div>
|
|
14
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: API Key Row
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 640
|
|
5
|
+
@height: 56
|
|
6
|
+
@tags: api, key, token, developer, saas
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="API Key Row" style="display:flex;align-items:center;width:100%;padding:12px 16px;border:1px solid var(--kit-border, #E2E8F0);border-radius:8px;gap:12px;font-family:var(--kit-font, Inter, system-ui, sans-serif);box-sizing:border-box">
|
|
9
|
+
<div style="width:8px;height:8px;border-radius:4px;background:var(--kit-success, #22C55E);flex-shrink:0"></div>
|
|
10
|
+
<div style="flex:1;min-width:0"><div style="font-size:14px;font-weight:500;color:var(--kit-text, #0F172A)">Production</div><div style="font-size:12px;color:var(--kit-text-3, #94A3B8);font-family:ui-monospace, monospace;margin-top:1px">sk_live_••••••••••••4f2b</div></div>
|
|
11
|
+
<div style="font-size:12px;color:var(--kit-text-3, #94A3B8)">Created Mar 15</div>
|
|
12
|
+
<div style="display:flex;gap:4px">
|
|
13
|
+
<div style="height:28px;padding:0 10px;border:1px solid var(--kit-border, #E2E8F0);border-radius:6px;display:flex;align-items:center;font-size:12px;color:var(--kit-text-2, #475569);cursor:pointer">Copy</div>
|
|
14
|
+
<div style="height:28px;padding:0 10px;border:1px solid var(--kit-border, #E2E8F0);border-radius:6px;display:flex;align-items:center;font-size:12px;color:var(--kit-danger, #EF4444);cursor:pointer">Revoke</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Billing Card — Current Plan
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 400
|
|
5
|
+
@height: 160
|
|
6
|
+
@tags: billing, plan, subscription, payment, saas
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Billing Card — Current Plan" style="width:100%;background:var(--kit-bg, #FFFFFF);border:1px solid var(--kit-border, #E2E8F0);border-radius:12px;padding:20px;box-sizing:border-box;font-family:var(--kit-font, Inter, system-ui, sans-serif)">
|
|
9
|
+
<div style="display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px">
|
|
10
|
+
<div><div style="font-size:16px;font-weight:600;color:var(--kit-text, #0F172A)">Pro Plan</div><div style="font-size:13px;color:var(--kit-text-2, #475569);margin-top:2px">$29/month · Renews Apr 15</div></div>
|
|
11
|
+
<span style="background:var(--kit-success-bg, #F0FDF4);color:var(--kit-success, #22C55E);padding:3px 10px;border-radius:12px;font-size:12px;font-weight:500">Active</span>
|
|
12
|
+
</div>
|
|
13
|
+
<div style="display:flex;gap:8px"><div style="height:32px;padding:0 14px;background:var(--kit-primary, #6366F1);color:#fff;border-radius:6px;display:flex;align-items:center;font-size:13px;font-weight:500;cursor:pointer">Upgrade</div><div style="height:32px;padding:0 14px;border:1px solid var(--kit-border, #E2E8F0);border-radius:6px;display:flex;align-items:center;font-size:13px;color:var(--kit-text-2, #475569);cursor:pointer">Manage</div><div style="height:32px;padding:0 14px;border:1px solid var(--kit-border, #E2E8F0);border-radius:6px;display:flex;align-items:center;font-size:13px;color:var(--kit-text-3, #94A3B8);cursor:pointer">Cancel</div></div>
|
|
14
|
+
</div>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Changelog Item — Version Update
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 640
|
|
5
|
+
@height: 120
|
|
6
|
+
@tags: changelog, update, version, release, saas
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Changelog Item — Version Update" style="display:flex;gap:16px;width:100%;font-family:var(--kit-font, Inter, system-ui, sans-serif);padding:16px 0;border-bottom:1px solid var(--kit-border, #E2E8F0)">
|
|
9
|
+
<div style="display:flex;flex-direction:column;align-items:center;width:20px;flex-shrink:0;padding-top:4px"><div style="width:10px;height:10px;border-radius:5px;background:var(--kit-primary, #6366F1)"></div><div style="width:2px;flex:1;background:var(--kit-border, #E2E8F0);margin-top:4px"></div></div>
|
|
10
|
+
<div style="flex:1">
|
|
11
|
+
<div style="display:flex;align-items:center;gap:8px;margin-bottom:6px"><span style="font-size:14px;font-weight:600;color:var(--kit-text, #0F172A)">v2.4.0</span><span style="background:var(--kit-success-bg, #F0FDF4);color:var(--kit-success, #22C55E);font-size:11px;font-weight:600;padding:2px 8px;border-radius:4px">New</span><span style="font-size:12px;color:var(--kit-text-3, #94A3B8)">Mar 20, 2026</span></div>
|
|
12
|
+
<div style="font-size:14px;color:var(--kit-text, #0F172A);font-weight:500;margin-bottom:4px">Real-time collaboration</div>
|
|
13
|
+
<div style="font-size:13px;color:var(--kit-text-2, #475569);line-height:1.5">Multiple team members can now edit the same project simultaneously with live cursor tracking.</div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Integration Card — Connected App
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 320
|
|
5
|
+
@height: 120
|
|
6
|
+
@tags: integration, app, connected, saas, api
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Integration Card — Connected App" style="width:100%;background:var(--kit-bg, #FFFFFF);border:1px solid var(--kit-border, #E2E8F0);border-radius:12px;padding:16px;box-sizing:border-box;font-family:var(--kit-font, Inter, system-ui, sans-serif);display:flex;gap:14px;align-items:flex-start">
|
|
9
|
+
<div style="width:44px;height:44px;border-radius:10px;background:var(--kit-surface-2, #F1F5F9);display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="22" height="22" viewBox="0 0 24 24" fill="currentColor" style="color:var(--kit-text-2, #475569)"><path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23A11.5 11.5 0 0 1 12 5.803a11.5 11.5 0 0 1 3.003.404c2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576C20.565 21.797 24 17.3 24 12c0-6.627-5.373-12-12-12z"/></svg></div>
|
|
10
|
+
<div style="flex:1;min-width:0">
|
|
11
|
+
<div style="display:flex;align-items:center;gap:8px;margin-bottom:4px"><span style="font-size:15px;font-weight:600;color:var(--kit-text, #0F172A)">GitHub</span><span style="width:6px;height:6px;border-radius:3px;background:var(--kit-success, #22C55E)"></span></div>
|
|
12
|
+
<div style="font-size:13px;color:var(--kit-text-2, #475569);margin-bottom:8px">Auto-deploy on push to main</div>
|
|
13
|
+
<div style="display:flex;gap:8px"><span style="font-size:12px;color:var(--kit-primary, #6366F1);cursor:pointer;font-weight:500">Configure</span><span style="font-size:12px;color:var(--kit-text-3, #94A3B8)">·</span><span style="font-size:12px;color:var(--kit-danger, #EF4444);cursor:pointer">Disconnect</span></div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Onboarding Checklist
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 360
|
|
5
|
+
@height: 280
|
|
6
|
+
@tags: onboarding, checklist, getting-started, progress, saas
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Onboarding Checklist" style="width:100%;background:var(--kit-bg, #FFFFFF);border:1px solid var(--kit-border, #E2E8F0);border-radius:12px;padding:20px;box-sizing:border-box;font-family:var(--kit-font, Inter, system-ui, sans-serif)">
|
|
9
|
+
<div style="display:flex;justify-content:space-between;align-items:center;margin-bottom:16px"><span style="font-size:16px;font-weight:600;color:var(--kit-text, #0F172A)">Getting Started</span><span style="font-size:13px;color:var(--kit-primary, #6366F1);font-weight:500">3/5</span></div>
|
|
10
|
+
<div style="width:100%;height:6px;background:var(--kit-surface-2, #F1F5F9);border-radius:3px;overflow:hidden;margin-bottom:16px"><div style="width:60%;height:100%;background:var(--kit-primary, #6366F1);border-radius:3px"></div></div>
|
|
11
|
+
<div style="display:flex;flex-direction:column;gap:10px">
|
|
12
|
+
<div style="display:flex;align-items:center;gap:10px"><div style="width:20px;height:20px;border-radius:10px;background:var(--kit-primary, #6366F1);display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3"><polyline points="20 6 9 17 4 12"/></svg></div><span style="font-size:14px;color:var(--kit-text-3, #94A3B8);text-decoration:line-through">Create account</span></div>
|
|
13
|
+
<div style="display:flex;align-items:center;gap:10px"><div style="width:20px;height:20px;border-radius:10px;background:var(--kit-primary, #6366F1);display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3"><polyline points="20 6 9 17 4 12"/></svg></div><span style="font-size:14px;color:var(--kit-text-3, #94A3B8);text-decoration:line-through">Set up workspace</span></div>
|
|
14
|
+
<div style="display:flex;align-items:center;gap:10px"><div style="width:20px;height:20px;border-radius:10px;background:var(--kit-primary, #6366F1);display:flex;align-items:center;justify-content:center;flex-shrink:0"><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="#fff" stroke-width="3"><polyline points="20 6 9 17 4 12"/></svg></div><span style="font-size:14px;color:var(--kit-text-3, #94A3B8);text-decoration:line-through">Invite team members</span></div>
|
|
15
|
+
<div style="display:flex;align-items:center;gap:10px"><div style="width:20px;height:20px;border-radius:10px;border:2px solid var(--kit-primary, #6366F1);box-sizing:border-box;flex-shrink:0"></div><span style="font-size:14px;font-weight:500;color:var(--kit-primary, #6366F1)">Create first project</span></div>
|
|
16
|
+
<div style="display:flex;align-items:center;gap:10px"><div style="width:20px;height:20px;border-radius:10px;border:2px solid var(--kit-border, #E2E8F0);box-sizing:border-box;flex-shrink:0"></div><span style="font-size:14px;color:var(--kit-text, #0F172A)">Connect integration</span></div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Pricing Toggle — Monthly / Yearly
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 280
|
|
5
|
+
@height: 40
|
|
6
|
+
@tags: pricing, toggle, monthly, yearly, billing, saas
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Pricing Toggle — Monthly / Yearly" style="display:inline-flex;align-items:center;gap:12px;font-family:var(--kit-font, Inter, system-ui, sans-serif);font-size:14px">
|
|
9
|
+
<span style="color:var(--kit-text, #0F172A);font-weight:500">Monthly</span>
|
|
10
|
+
<div style="width:48px;height:26px;border-radius:13px;background:var(--kit-primary, #6366F1);padding:3px;box-sizing:border-box;cursor:pointer"><div style="width:20px;height:20px;border-radius:10px;background:#FFFFFF;margin-left:auto;box-shadow:0 1px 2px rgba(0,0,0,0.1)"></div></div>
|
|
11
|
+
<span style="color:var(--kit-text, #0F172A);font-weight:500">Yearly</span>
|
|
12
|
+
<span style="background:var(--kit-success-bg, #F0FDF4);color:var(--kit-success, #22C55E);font-size:12px;font-weight:600;padding:3px 8px;border-radius:6px">Save 20%</span>
|
|
13
|
+
</div>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Team Member Row — with Role
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 640
|
|
5
|
+
@height: 56
|
|
6
|
+
@tags: team, member, user, role, saas, admin
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Team Member Row — with Role" style="display:flex;align-items:center;width:100%;padding:10px 16px;gap:12px;font-family:var(--kit-font, Inter, system-ui, sans-serif);border-bottom:1px solid var(--kit-border, #E2E8F0)">
|
|
9
|
+
<div style="width:36px;height:36px;border-radius:18px;background:var(--kit-primary, #6366F1);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:600;flex-shrink:0">SC</div>
|
|
10
|
+
<div style="flex:1;min-width:0"><div style="font-size:14px;font-weight:500;color:var(--kit-text, #0F172A)">Sarah Chen</div><div style="font-size:12px;color:var(--kit-text-3, #94A3B8)">sarah@company.com</div></div>
|
|
11
|
+
<div style="height:24px;padding:0 10px;border-radius:12px;background:rgba(99,102,241,0.08);color:var(--kit-primary, #6366F1);font-size:12px;font-weight:500;display:flex;align-items:center">Admin</div>
|
|
12
|
+
<div style="cursor:pointer;color:var(--kit-text-3, #94A3B8)"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><circle cx="12" cy="5" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="12" cy="19" r="1.5"/></svg></div>
|
|
13
|
+
</div>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
@name: Usage Meter — Storage / API
|
|
3
|
+
@kit: web
|
|
4
|
+
@width: 360
|
|
5
|
+
@height: 100
|
|
6
|
+
@tags: usage, meter, storage, api, quota, saas
|
|
7
|
+
-->
|
|
8
|
+
<div data-component="Usage Meter — Storage / API" style="width:100%;background:var(--kit-bg, #FFFFFF);border:1px solid var(--kit-border, #E2E8F0);border-radius:12px;padding:16px;box-sizing:border-box;font-family:var(--kit-font, Inter, system-ui, sans-serif)">
|
|
9
|
+
<div style="display:flex;justify-content:space-between;margin-bottom:8px"><span style="font-size:14px;font-weight:500;color:var(--kit-text, #0F172A)">Storage</span><span style="font-size:13px;color:var(--kit-text-2, #475569)">7.2 GB / 10 GB</span></div>
|
|
10
|
+
<div style="width:100%;height:8px;background:var(--kit-surface-2, #F1F5F9);border-radius:4px;overflow:hidden;margin-bottom:8px"><div style="width:72%;height:100%;background:var(--kit-warning, #F59E0B);border-radius:4px"></div></div>
|
|
11
|
+
<div style="font-size:12px;color:var(--kit-text-3, #94A3B8)">72% used · <span style="color:var(--kit-primary, #6366F1);cursor:pointer;font-weight:500">Upgrade plan</span></div>
|
|
12
|
+
</div>
|
package/package.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "designkit-ai",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "502 HTML UI components + AI skills for designing and building web and mobile apps",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"design-system",
|
|
7
|
+
"ui-components",
|
|
8
|
+
"html",
|
|
9
|
+
"ai",
|
|
10
|
+
"claude",
|
|
11
|
+
"cursor",
|
|
12
|
+
"vibe-coding",
|
|
13
|
+
"react",
|
|
14
|
+
"nextjs",
|
|
15
|
+
"vue",
|
|
16
|
+
"flutter",
|
|
17
|
+
"swiftui"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://github.com/pixeliro-sys/designkit-source-for-ai",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/pixeliro-sys/designkit-source-for-ai.git"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"type": "module",
|
|
26
|
+
"bin": {
|
|
27
|
+
"designkit": "./bin/designkit.js"
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"bin",
|
|
31
|
+
"src",
|
|
32
|
+
"components",
|
|
33
|
+
"skills",
|
|
34
|
+
"AI-AGENT.md"
|
|
35
|
+
],
|
|
36
|
+
"scripts": {
|
|
37
|
+
"test": "node bin/designkit.js list"
|
|
38
|
+
},
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"@anthropic-ai/sdk": "^0.87.0",
|
|
41
|
+
"commander": "^12.1.0"
|
|
42
|
+
},
|
|
43
|
+
"engines": {
|
|
44
|
+
"node": ">=18.0.0"
|
|
45
|
+
}
|
|
46
|
+
}
|
package/skills/README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# DesignKit Skills
|
|
2
|
+
|
|
3
|
+
Each skill tells an AI agent how to **design, build, or convert** UI using a specific framework.
|
|
4
|
+
|
|
5
|
+
Not just convert — you can go directly from idea to working code:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Design a screen as HTML first, then convert
|
|
9
|
+
"Read skills/design.md, then design: a SaaS dashboard. Output to output/dashboard.html"
|
|
10
|
+
"Read skills/react.md, then convert output/dashboard.html to React components"
|
|
11
|
+
|
|
12
|
+
# Or go directly to the framework in one shot
|
|
13
|
+
"Read AI-AGENT.md and skills/nextjs.md, then build:
|
|
14
|
+
a SaaS dashboard with sidebar, KPI row, data table.
|
|
15
|
+
Output to src/app/dashboard/page.tsx"
|
|
16
|
+
|
|
17
|
+
# Or build a full feature
|
|
18
|
+
"Read skills/react-native.md, then build a complete auth flow:
|
|
19
|
+
Splash → Onboarding → Login → Home. Use React Navigation."
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Available Skills
|
|
23
|
+
|
|
24
|
+
| Skill | File | Output |
|
|
25
|
+
|-------|------|--------|
|
|
26
|
+
| Design | [design.md](design.md) | Single-file `.html` — pixel-perfect screen |
|
|
27
|
+
| Contribute | [contribute.md](contribute.md) | Create a valid component or validate an existing one |
|
|
28
|
+
| React | [react.md](react.md) | `.tsx` component with hooks |
|
|
29
|
+
| Next.js | [nextjs.md](nextjs.md) | App Router page + components |
|
|
30
|
+
| Vue 3 | [vue.md](vue.md) | `<script setup>` SFC |
|
|
31
|
+
| Svelte | [svelte.md](svelte.md) | `.svelte` component |
|
|
32
|
+
| Tailwind CSS | [tailwind.md](tailwind.md) | HTML with Tailwind utility classes |
|
|
33
|
+
| Flutter | [flutter.md](flutter.md) | Dart Widget tree |
|
|
34
|
+
| SwiftUI | [swiftui.md](swiftui.md) | SwiftUI View |
|
|
35
|
+
| React Native | [react-native.md](react-native.md) | RN StyleSheet component |
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
# Skill: Contribute — Generate a DesignKit Component
|
|
2
|
+
|
|
3
|
+
You are a DesignKit component author.
|
|
4
|
+
When asked to create a new component, output a valid `.html` file
|
|
5
|
+
that meets every rule below. No exceptions.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Step 1 — Determine placement
|
|
10
|
+
|
|
11
|
+
Ask yourself (or infer from the request):
|
|
12
|
+
|
|
13
|
+
| Question | Answer → |
|
|
14
|
+
|----------|----------|
|
|
15
|
+
| Is it for mobile app (iOS/Android)? | `components/app-mobile/{category}/` |
|
|
16
|
+
| Is it for web/desktop? | `components/web/{category}/` |
|
|
17
|
+
| Is it reusable across both (icon, illustration, mockup)? | `components/common/{category}/` |
|
|
18
|
+
|
|
19
|
+
**Existing categories — use these, don't invent new ones:**
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
app-mobile: navbars, buttons, cards, inputs, lists, chips, feedback, tabs,
|
|
23
|
+
toggles, menus, dialogs, surfaces, sliders, badges, dividers,
|
|
24
|
+
native, patterns, charts, data-display, forms, ecommerce,
|
|
25
|
+
finance, fitness, food, healthcare, education, social, travel,
|
|
26
|
+
job, media, navigation, logistics
|
|
27
|
+
|
|
28
|
+
web: navbars, buttons, cards, inputs, heroes, features, cta, pricing,
|
|
29
|
+
social-proof, layout, tables, modals, feedback, charts, widgets,
|
|
30
|
+
patterns, products, cart, account, tabs, forms, ecommerce,
|
|
31
|
+
marketing, content, media, saas, job, real-estate, metrics,
|
|
32
|
+
data-display, badges, dividers, navigation, surfaces, menus,
|
|
33
|
+
toggles, logos, screenshots, social, social-media, presentation,
|
|
34
|
+
promotions, print
|
|
35
|
+
|
|
36
|
+
common: ui-icons, illustrations, decorations, mockup-elements
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
If none fit, pick the closest one.
|
|
40
|
+
|
|
41
|
+
---
|
|
42
|
+
|
|
43
|
+
## Step 2 — Write the file header
|
|
44
|
+
|
|
45
|
+
Every component file starts with this comment. Fill in all fields.
|
|
46
|
+
|
|
47
|
+
```html
|
|
48
|
+
<!--
|
|
49
|
+
@name: {Title Case Name}
|
|
50
|
+
@kit: {web | app-mobile | common}
|
|
51
|
+
@category: {category folder name}
|
|
52
|
+
@width: {intended render width in px, number only}
|
|
53
|
+
@height: {intended render height in px, number only}
|
|
54
|
+
@tags: {comma, separated, lowercase, keywords}
|
|
55
|
+
-->
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
Example:
|
|
59
|
+
```html
|
|
60
|
+
<!--
|
|
61
|
+
@name: Pricing Card Pro
|
|
62
|
+
@kit: web
|
|
63
|
+
@category: pricing
|
|
64
|
+
@width: 320
|
|
65
|
+
@height: 480
|
|
66
|
+
@tags: pricing, card, pro, tier, subscription, saas
|
|
67
|
+
-->
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## Step 3 — Wrap with font root
|
|
73
|
+
|
|
74
|
+
The outer wrapper must set the font family so the component renders correctly
|
|
75
|
+
when opened standalone:
|
|
76
|
+
|
|
77
|
+
```html
|
|
78
|
+
<div data-component="{Name}" style="font-family:var(--kit-font,Inter,system-ui,sans-serif)">
|
|
79
|
+
<!-- component content here -->
|
|
80
|
+
</div>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
---
|
|
84
|
+
|
|
85
|
+
## Step 4 — Build with tokens
|
|
86
|
+
|
|
87
|
+
**Every** color, size, radius, shadow, and spacing value must use a `var(--kit-*)` with a hardcoded fallback.
|
|
88
|
+
|
|
89
|
+
### Token reference
|
|
90
|
+
|
|
91
|
+
```css
|
|
92
|
+
/* Colors */
|
|
93
|
+
var(--kit-primary, #6366F1)
|
|
94
|
+
var(--kit-primary-text, #FFFFFF)
|
|
95
|
+
var(--kit-secondary, #64748B)
|
|
96
|
+
var(--kit-accent, #F59E0B)
|
|
97
|
+
var(--kit-bg, #FFFFFF)
|
|
98
|
+
var(--kit-surface, #F8FAFC)
|
|
99
|
+
var(--kit-surface-2, #F1F5F9)
|
|
100
|
+
var(--kit-text, #0F172A)
|
|
101
|
+
var(--kit-text-2, #475569)
|
|
102
|
+
var(--kit-text-3, #94A3B8)
|
|
103
|
+
var(--kit-text-inverse, #FFFFFF)
|
|
104
|
+
var(--kit-border, #E2E8F0)
|
|
105
|
+
var(--kit-border-strong, #CBD5E1)
|
|
106
|
+
var(--kit-success, #22C55E)
|
|
107
|
+
var(--kit-error, #EF4444)
|
|
108
|
+
var(--kit-warning, #F59E0B)
|
|
109
|
+
var(--kit-info, #3B82F6)
|
|
110
|
+
|
|
111
|
+
/* Typography */
|
|
112
|
+
var(--kit-font, 'Inter',system-ui,sans-serif)
|
|
113
|
+
var(--kit-text-xs, 11px)
|
|
114
|
+
var(--kit-text-sm, 13px)
|
|
115
|
+
var(--kit-text-md, 15px)
|
|
116
|
+
var(--kit-text-lg, 17px)
|
|
117
|
+
var(--kit-text-xl, 20px)
|
|
118
|
+
var(--kit-text-2xl, 24px)
|
|
119
|
+
var(--kit-text-3xl, 32px)
|
|
120
|
+
var(--kit-text-4xl, 48px)
|
|
121
|
+
|
|
122
|
+
/* Spacing */
|
|
123
|
+
var(--kit-space-1, 4px)
|
|
124
|
+
var(--kit-space-2, 8px)
|
|
125
|
+
var(--kit-space-3, 12px)
|
|
126
|
+
var(--kit-space-4, 16px)
|
|
127
|
+
var(--kit-space-5, 20px)
|
|
128
|
+
var(--kit-space-6, 24px)
|
|
129
|
+
var(--kit-space-8, 32px)
|
|
130
|
+
var(--kit-space-10, 40px)
|
|
131
|
+
|
|
132
|
+
/* Border radius */
|
|
133
|
+
var(--kit-radius-sm, 6px)
|
|
134
|
+
var(--kit-radius, 10px)
|
|
135
|
+
var(--kit-radius-lg, 14px)
|
|
136
|
+
var(--kit-radius-xl, 20px)
|
|
137
|
+
var(--kit-radius-full, 9999px)
|
|
138
|
+
|
|
139
|
+
/* Shadows */
|
|
140
|
+
var(--kit-shadow-sm, 0 1px 3px rgba(0,0,0,0.08))
|
|
141
|
+
var(--kit-shadow, 0 4px 12px rgba(0,0,0,0.10))
|
|
142
|
+
var(--kit-shadow-lg, 0 8px 32px rgba(0,0,0,0.12))
|
|
143
|
+
var(--kit-shadow-xl, 0 20px 60px rgba(0,0,0,0.15))
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### ❌ Never do this
|
|
147
|
+
```html
|
|
148
|
+
<div style="background:#6366F1; border-radius:10px; color:#fff">
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### ✅ Always do this
|
|
152
|
+
```html
|
|
153
|
+
<div style="background:var(--kit-primary,#6366F1); border-radius:var(--kit-radius,10px); color:var(--kit-primary-text,#FFF)">
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Step 5 — Use semantic HTML
|
|
159
|
+
|
|
160
|
+
| Purpose | Use |
|
|
161
|
+
|---------|-----|
|
|
162
|
+
| Clickable action | `<button type="button">` |
|
|
163
|
+
| Navigation link | `<a href="#">` |
|
|
164
|
+
| Navigation group | `<nav>` |
|
|
165
|
+
| Page/section header | `<header>` |
|
|
166
|
+
| Main content | `<main>` |
|
|
167
|
+
| List of items | `<ul><li>` |
|
|
168
|
+
| Form field | `<input>`, `<label>`, `<textarea>`, `<select>` |
|
|
169
|
+
| Headings | `<h1>`–`<h6>` |
|
|
170
|
+
| Paragraph | `<p>` |
|
|
171
|
+
|
|
172
|
+
**Never use `<div>` for interactive elements.**
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Step 6 — No JavaScript
|
|
177
|
+
|
|
178
|
+
- No `<script>` tags
|
|
179
|
+
- No `onclick`, `onchange`, `oninput` attributes
|
|
180
|
+
- No CSS animations that require JS triggers
|
|
181
|
+
- Static design preview only — interactions are implied visually
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## Step 7 — Images
|
|
186
|
+
|
|
187
|
+
Always use placeholder URLs. Never embed base64 or reference local files.
|
|
188
|
+
|
|
189
|
+
```html
|
|
190
|
+
<img src="https://placehold.jp/400x300.png" alt="product image" style="width:100%;border-radius:var(--kit-radius,10px);display:block;" />
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Common sizes:
|
|
194
|
+
```
|
|
195
|
+
320x200 card image
|
|
196
|
+
400x300 product image
|
|
197
|
+
80x80 avatar
|
|
198
|
+
40x40 icon / thumbnail
|
|
199
|
+
1440x600 hero background
|
|
200
|
+
390x844 full mobile screen
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Full output format
|
|
206
|
+
|
|
207
|
+
```html
|
|
208
|
+
<!--
|
|
209
|
+
@name: {Name}
|
|
210
|
+
@kit: {web|app-mobile|common}
|
|
211
|
+
@category: {category}
|
|
212
|
+
@width: {W}
|
|
213
|
+
@height: {H}
|
|
214
|
+
@tags: {tag1, tag2, tag3}
|
|
215
|
+
-->
|
|
216
|
+
<div data-component="{Name}" style="font-family:var(--kit-font,Inter,system-ui,sans-serif)">
|
|
217
|
+
|
|
218
|
+
<!-- component HTML here — inline styles, tokens, semantic elements -->
|
|
219
|
+
|
|
220
|
+
</div>
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Validation checklist
|
|
226
|
+
|
|
227
|
+
Before outputting, verify every item:
|
|
228
|
+
|
|
229
|
+
- [ ] File header present with all 6 fields
|
|
230
|
+
- [ ] Outer `data-component` wrapper with `font-family`
|
|
231
|
+
- [ ] Every color uses `var(--kit-*, fallback)`
|
|
232
|
+
- [ ] Every radius, shadow, spacing uses `var(--kit-*, fallback)`
|
|
233
|
+
- [ ] No hardcoded hex in component HTML
|
|
234
|
+
- [ ] Semantic HTML — no div-soup for interactive elements
|
|
235
|
+
- [ ] No `<script>` tags or JS event attributes
|
|
236
|
+
- [ ] Placeholder images via `placehold.jp`
|
|
237
|
+
- [ ] File path matches: `components/{kit}/{category}/{name}.html`
|
|
238
|
+
|
|
239
|
+
---
|
|
240
|
+
|
|
241
|
+
## Example prompts
|
|
242
|
+
|
|
243
|
+
**Create one component:**
|
|
244
|
+
```
|
|
245
|
+
Read skills/contribute.md, then create a new component:
|
|
246
|
+
A mobile "Story Row" — horizontal scrollable row of circular avatar stories
|
|
247
|
+
with an "Add story" button at the left.
|
|
248
|
+
|
|
249
|
+
Output to components/app-mobile/patterns/story-row-scrollable.html
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Create a set of related components:**
|
|
253
|
+
```
|
|
254
|
+
Read skills/contribute.md, then create 3 pricing card variants for web:
|
|
255
|
+
- card-pricing-starter.html (basic tier, outlined)
|
|
256
|
+
- card-pricing-pro.html (highlighted, filled primary)
|
|
257
|
+
- card-pricing-enterprise.html (dark, custom)
|
|
258
|
+
|
|
259
|
+
Output to components/web/pricing/
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
**Validate an existing component:**
|
|
263
|
+
```
|
|
264
|
+
Read skills/contribute.md, then review components/web/cards/card-basic.html
|
|
265
|
+
and check if it meets all contribution rules.
|
|
266
|
+
Report any violations.
|
|
267
|
+
```
|