astro-component-kit 0.0.1
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/LICENSE +21 -0
- package/README.md +262 -0
- package/dist/AnimatedInput.astro +82 -0
- package/dist/Badge.astro +52 -0
- package/dist/GlassButton.astro +87 -0
- package/dist/GlassCard.astro +72 -0
- package/dist/GlassNavbar.astro +65 -0
- package/dist/GlowButton.astro +60 -0
- package/dist/buttons/3dPushButton.astro +136 -0
- package/dist/buttons/AnimatedIconButton.astro +146 -0
- package/dist/buttons/BorderDrawButton.astro +112 -0
- package/dist/buttons/CyberpunkButton.astro +148 -0
- package/dist/buttons/DoubleBorderButton.astro +131 -0
- package/dist/buttons/GhostOutlineButton.astro +109 -0
- package/dist/buttons/GlassButton.astro +165 -0
- package/dist/buttons/GlowButton.astro +119 -0
- package/dist/buttons/LiquidButton.astro +167 -0
- package/dist/buttons/LoadingButton.astro +148 -0
- package/dist/buttons/MagneticButton.astro +134 -0
- package/dist/buttons/MinimalPillButton.astro +102 -0
- package/dist/buttons/NeumorphicButton.astro +158 -0
- package/dist/buttons/PulseButton.astro +111 -0
- package/dist/buttons/RetroArcadeButton.astro +105 -0
- package/dist/buttons/RetroShadowButton.astro +82 -0
- package/dist/buttons/ShimmerButton.astro +113 -0
- package/dist/buttons/ShinyButton.astro +121 -0
- package/dist/buttons/TiltGlowButton.astro +145 -0
- package/dist/buttons/index.mjs +19 -0
- package/dist/buttons/index.ts +19 -0
- package/dist/cards/BlogHorizontalCard.astro +18 -0
- package/dist/cards/CyberFeatureCard.astro +12 -0
- package/dist/cards/EcommerceProductCard.astro +24 -0
- package/dist/cards/GlassCard.astro +17 -0
- package/dist/cards/GlassEventCard.astro +19 -0
- package/dist/cards/GlowPortfolioCard.astro +16 -0
- package/dist/cards/InteractiveTiltCard.astro +25 -0
- package/dist/cards/KanbanItemCard.astro +15 -0
- package/dist/cards/MinimalLinkCard.astro +12 -0
- package/dist/cards/MusicPlayerMini.astro +21 -0
- package/dist/cards/NeumorphicCard.astro +6 -0
- package/dist/cards/NotificationCard.astro +15 -0
- package/dist/cards/PricingCard.astro +17 -0
- package/dist/cards/ProfileCard.astro +17 -0
- package/dist/cards/RetroGameCard.astro +15 -0
- package/dist/cards/StatCard.astro +15 -0
- package/dist/cards/TaskKanbanCard.astro +18 -0
- package/dist/cards/TestimonialCardClean.astro +20 -0
- package/dist/cards/WeatherWidgetCard.astro +17 -0
- package/dist/cards/index.mjs +19 -0
- package/dist/cards/index.ts +19 -0
- package/dist/data/AccordionGroupGlass.astro +21 -0
- package/dist/data/AvatarGroupStack.astro +15 -0
- package/dist/data/CalendarGridView.astro +18 -0
- package/dist/data/DataChipsGroup.astro +16 -0
- package/dist/data/DescriptionListHoriz.astro +14 -0
- package/dist/data/FileTreeView.astro +22 -0
- package/dist/data/GanttChartMinimal.astro +12 -0
- package/dist/data/GlassTable.astro +23 -0
- package/dist/data/KeyValuePillGroup.astro +12 -0
- package/dist/data/PriceCompareTable.astro +22 -0
- package/dist/data/ProgressListSmall.astro +17 -0
- package/dist/data/RatingBreakdownBar.astro +13 -0
- package/dist/data/SparklineStatCard.astro +16 -0
- package/dist/data/StatsGridDashboard.astro +16 -0
- package/dist/data/StepperDataVertical.astro +15 -0
- package/dist/data/TagCloudData.astro +14 -0
- package/dist/data/TimelineHorizSteps.astro +18 -0
- package/dist/data/TreeItemInteractive.astro +18 -0
- package/dist/data/UserDirectoryItem.astro +15 -0
- package/dist/data/VerticalTimeline.astro +21 -0
- package/dist/data/index.mjs +20 -0
- package/dist/data/index.ts +20 -0
- package/dist/feedback/AnimatedCheckmark.astro +13 -0
- package/dist/feedback/Badge.astro +19 -0
- package/dist/feedback/CircleProgress.astro +22 -0
- package/dist/feedback/ConfettiFeedback.astro +18 -0
- package/dist/feedback/CyberGlitchAlert.astro +11 -0
- package/dist/feedback/EmptyStateCard.astro +13 -0
- package/dist/feedback/GlassAlert.astro +20 -0
- package/dist/feedback/GlassModal.astro +19 -0
- package/dist/feedback/GlassProgress.astro +10 -0
- package/dist/feedback/IndicatorBadgeMinimal.astro +10 -0
- package/dist/feedback/NeonSpinner.astro +7 -0
- package/dist/feedback/PulseDot.astro +12 -0
- package/dist/feedback/RatingPill.astro +13 -0
- package/dist/feedback/ShakeErrorGroup.astro +7 -0
- package/dist/feedback/SimpleTooltip.astro +10 -0
- package/dist/feedback/SkeletonList.astro +20 -0
- package/dist/feedback/Spotlight.astro +9 -0
- package/dist/feedback/StepProgress.astro +14 -0
- package/dist/feedback/ToastNotif.astro +11 -0
- package/dist/feedback/TypingIndicator.astro +12 -0
- package/dist/feedback/index.mjs +20 -0
- package/dist/feedback/index.ts +20 -0
- package/dist/forms/AnimatedInput.astro +16 -0
- package/dist/forms/ChipInput.astro +13 -0
- package/dist/forms/ColorPickerInput.astro +13 -0
- package/dist/forms/CurrencyInput.astro +11 -0
- package/dist/forms/CustomRadioGroup.astro +13 -0
- package/dist/forms/CyberpunkCheckbox.astro +15 -0
- package/dist/forms/DragDropUpload.astro +12 -0
- package/dist/forms/ErrorInput.astro +11 -0
- package/dist/forms/FloatingPassword.astro +20 -0
- package/dist/forms/FormGroupVertical.astro +14 -0
- package/dist/forms/GlassSlider.astro +7 -0
- package/dist/forms/GlassTextarea.astro +14 -0
- package/dist/forms/ModernSelect.astro +16 -0
- package/dist/forms/NeumorphicSwitch.astro +55 -0
- package/dist/forms/OTPInput.astro +22 -0
- package/dist/forms/RatingStars.astro +15 -0
- package/dist/forms/SearchReveal.astro +13 -0
- package/dist/forms/SegmentedControl.astro +13 -0
- package/dist/forms/SimpleFileInput.astro +11 -0
- package/dist/forms/StepperInput.astro +14 -0
- package/dist/forms/index.mjs +20 -0
- package/dist/forms/index.ts +20 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/dist/layout/BentoGrid3.astro +14 -0
- package/dist/layout/CenterFixedBox.astro +6 -0
- package/dist/layout/CenteredContainer.astro +8 -0
- package/dist/layout/ClusterHorizontal.astro +6 -0
- package/dist/layout/FeatureHero.astro +17 -0
- package/dist/layout/FooterCenteredMinimal.astro +11 -0
- package/dist/layout/FullBleedSection.astro +6 -0
- package/dist/layout/GalleryGrid4.astro +7 -0
- package/dist/layout/GlassCardGrid.astro +6 -0
- package/dist/layout/GlassSectionHeader.astro +15 -0
- package/dist/layout/LandingSectionSplit.astro +13 -0
- package/dist/layout/MasonryGrid.astro +7 -0
- package/dist/layout/MinimalFooterGrid.astro +20 -0
- package/dist/layout/ScrollSnapSection.astro +7 -0
- package/dist/layout/SectionDividerText.astro +7 -0
- package/dist/layout/SidebarLayoutWrapper.astro +11 -0
- package/dist/layout/SplitScreenLayout.astro +11 -0
- package/dist/layout/StepLayoutVertical.astro +21 -0
- package/dist/layout/StickySidebarWrapper.astro +10 -0
- package/dist/layout/VerticalStack.astro +8 -0
- package/dist/layout/index.mjs +20 -0
- package/dist/layout/index.ts +20 -0
- package/dist/navigation/AnchorSideNav.astro +13 -0
- package/dist/navigation/BottomNavMobile.astro +13 -0
- package/dist/navigation/BreadcrumbsMinimal.astro +16 -0
- package/dist/navigation/BurgerMorphIcon.astro +12 -0
- package/dist/navigation/CommandPaletteUI.astro +17 -0
- package/dist/navigation/DotNavigationSlider.astro +13 -0
- package/dist/navigation/FloatingTabBar.astro +12 -0
- package/dist/navigation/GlassNavbar.astro +19 -0
- package/dist/navigation/LangSwitcherPill.astro +17 -0
- package/dist/navigation/MegaMenuGlass.astro +25 -0
- package/dist/navigation/MinimalSidebar.astro +18 -0
- package/dist/navigation/PaginationGlass.astro +20 -0
- package/dist/navigation/PaginationInfiniteUI.astro +11 -0
- package/dist/navigation/RadialIconMenu.astro +15 -0
- package/dist/navigation/RetroArcadeMenu.astro +12 -0
- package/dist/navigation/ScrollProgressTop.astro +15 -0
- package/dist/navigation/SimpleFooterGlass.astro +21 -0
- package/dist/navigation/TabUnderline.astro +14 -0
- package/dist/navigation/UserProfileNav.astro +21 -0
- package/dist/navigation/VerticalTabs.astro +14 -0
- package/dist/navigation/index.mjs +20 -0
- package/dist/navigation/index.ts +20 -0
- package/dist/overlays/AgeVerificationOverlay.astro +20 -0
- package/dist/overlays/BackdropBlurMask.astro +6 -0
- package/dist/overlays/BottomSheetMobile.astro +16 -0
- package/dist/overlays/CommandDialog.astro +19 -0
- package/dist/overlays/ContextMenuOverlay.astro +17 -0
- package/dist/overlays/CookieBannerGlass.astro +14 -0
- package/dist/overlays/ExitIntentOverlay.astro +19 -0
- package/dist/overlays/FloatingTrayActions.astro +13 -0
- package/dist/overlays/HelpBubbleOverlay.astro +11 -0
- package/dist/overlays/LightboxOverlay.astro +13 -0
- package/dist/overlays/LoadingOverlayFull.astro +10 -0
- package/dist/overlays/MobileNavOverlay.astro +18 -0
- package/dist/overlays/OverlayModal.astro +24 -0
- package/dist/overlays/PopoverMenuGlass.astro +17 -0
- package/dist/overlays/SearchOverlayFullscreen.astro +15 -0
- package/dist/overlays/SideDrawerRight.astro +16 -0
- package/dist/overlays/SplashIntroOverlay.astro +11 -0
- package/dist/overlays/SpotlightIndicator.astro +6 -0
- package/dist/overlays/ToastStackOverlay.astro +12 -0
- package/dist/overlays/TooltipActionTray.astro +14 -0
- package/dist/overlays/index.mjs +20 -0
- package/dist/overlays/index.ts +20 -0
- package/dist/styles/global.css +142 -0
- package/dist/typography/AnimatedUnderlineLink.astro +10 -0
- package/dist/typography/BackgroundClipMask.astro +7 -0
- package/dist/typography/CodeInlineGlass.astro +6 -0
- package/dist/typography/CyberpunkGlitchText.astro +20 -0
- package/dist/typography/DropCapParagraph.astro +7 -0
- package/dist/typography/FadedVerticalText.astro +6 -0
- package/dist/typography/FloatingTextLabel.astro +10 -0
- package/dist/typography/GlassBlockQuote.astro +13 -0
- package/dist/typography/GlassTextReveal.astro +7 -0
- package/dist/typography/GradientHeading.astro +9 -0
- package/dist/typography/GradientUnderlineLink.astro +7 -0
- package/dist/typography/KbdIndicator.astro +6 -0
- package/dist/typography/LetterSpacingWide.astro +6 -0
- package/dist/typography/MinimalListMarkers.astro +10 -0
- package/dist/typography/MonospaceStatLine.astro +6 -0
- package/dist/typography/NeonTextHighlight.astro +6 -0
- package/dist/typography/ShadowRevealText.astro +7 -0
- package/dist/typography/StrokeHeadingOutline.astro +8 -0
- package/dist/typography/Text3DLayer.astro +7 -0
- package/dist/typography/TypewriterText.astro +15 -0
- package/dist/typography/index.mjs +20 -0
- package/dist/typography/index.ts +20 -0
- package/dist/utilities/AspectRatioBox.astro +11 -0
- package/dist/utilities/BackgroundDotPattern.astro +6 -0
- package/dist/utilities/CircularMask.astro +7 -0
- package/dist/utilities/ClickRippleWrapper.astro +7 -0
- package/dist/utilities/FadeInWrapper.astro +11 -0
- package/dist/utilities/FixedRatioImage.astro +7 -0
- package/dist/utilities/GlassBlurLayer.astro +6 -0
- package/dist/utilities/GradientBorderMask.astro +7 -0
- package/dist/utilities/HoverLift.astro +7 -0
- package/dist/utilities/ResponsiveSpacer.astro +15 -0
- package/dist/utilities/ResponsiveVisToggle.astro +11 -0
- package/dist/utilities/ScrollLockParent.astro +11 -0
- package/dist/utilities/ScrollMarginTarget.astro +10 -0
- package/dist/utilities/SlideUpReveal.astro +7 -0
- package/dist/utilities/SmoothAnchorLink.astro +22 -0
- package/dist/utilities/StackLayering.astro +12 -0
- package/dist/utilities/StickyObserver.astro +8 -0
- package/dist/utilities/TextTruncate.astro +10 -0
- package/dist/utilities/TruncateSingleLine.astro +6 -0
- package/dist/utilities/VisuallyHidden.astro +6 -0
- package/dist/utilities/index.mjs +20 -0
- package/dist/utilities/index.ts +20 -0
- package/package.json +108 -0
- package/src/components/lib/AnimatedInput.astro +82 -0
- package/src/components/lib/Badge.astro +52 -0
- package/src/components/lib/GlassButton.astro +87 -0
- package/src/components/lib/GlassCard.astro +72 -0
- package/src/components/lib/GlassNavbar.astro +65 -0
- package/src/components/lib/GlowButton.astro +60 -0
- package/src/components/lib/buttons/3dPushButton.astro +136 -0
- package/src/components/lib/buttons/AnimatedIconButton.astro +146 -0
- package/src/components/lib/buttons/BorderDrawButton.astro +112 -0
- package/src/components/lib/buttons/CyberpunkButton.astro +148 -0
- package/src/components/lib/buttons/DoubleBorderButton.astro +131 -0
- package/src/components/lib/buttons/GhostOutlineButton.astro +109 -0
- package/src/components/lib/buttons/GlassButton.astro +165 -0
- package/src/components/lib/buttons/GlowButton.astro +119 -0
- package/src/components/lib/buttons/LiquidButton.astro +167 -0
- package/src/components/lib/buttons/LoadingButton.astro +148 -0
- package/src/components/lib/buttons/MagneticButton.astro +134 -0
- package/src/components/lib/buttons/MinimalPillButton.astro +102 -0
- package/src/components/lib/buttons/NeumorphicButton.astro +158 -0
- package/src/components/lib/buttons/PulseButton.astro +111 -0
- package/src/components/lib/buttons/RetroArcadeButton.astro +105 -0
- package/src/components/lib/buttons/RetroShadowButton.astro +82 -0
- package/src/components/lib/buttons/ShimmerButton.astro +113 -0
- package/src/components/lib/buttons/ShinyButton.astro +121 -0
- package/src/components/lib/buttons/TiltGlowButton.astro +145 -0
- package/src/components/lib/buttons/index.ts +19 -0
- package/src/components/lib/cards/BlogHorizontalCard.astro +18 -0
- package/src/components/lib/cards/CyberFeatureCard.astro +12 -0
- package/src/components/lib/cards/EcommerceProductCard.astro +24 -0
- package/src/components/lib/cards/GlassCard.astro +17 -0
- package/src/components/lib/cards/GlassEventCard.astro +19 -0
- package/src/components/lib/cards/GlowPortfolioCard.astro +16 -0
- package/src/components/lib/cards/InteractiveTiltCard.astro +25 -0
- package/src/components/lib/cards/KanbanItemCard.astro +15 -0
- package/src/components/lib/cards/MinimalLinkCard.astro +12 -0
- package/src/components/lib/cards/MusicPlayerMini.astro +21 -0
- package/src/components/lib/cards/NeumorphicCard.astro +6 -0
- package/src/components/lib/cards/NotificationCard.astro +15 -0
- package/src/components/lib/cards/PricingCard.astro +17 -0
- package/src/components/lib/cards/ProfileCard.astro +17 -0
- package/src/components/lib/cards/RetroGameCard.astro +15 -0
- package/src/components/lib/cards/StatCard.astro +15 -0
- package/src/components/lib/cards/TaskKanbanCard.astro +18 -0
- package/src/components/lib/cards/TestimonialCardClean.astro +20 -0
- package/src/components/lib/cards/WeatherWidgetCard.astro +17 -0
- package/src/components/lib/cards/index.ts +19 -0
- package/src/components/lib/data/AccordionGroupGlass.astro +21 -0
- package/src/components/lib/data/AvatarGroupStack.astro +15 -0
- package/src/components/lib/data/CalendarGridView.astro +18 -0
- package/src/components/lib/data/DataChipsGroup.astro +16 -0
- package/src/components/lib/data/DescriptionListHoriz.astro +14 -0
- package/src/components/lib/data/FileTreeView.astro +22 -0
- package/src/components/lib/data/GanttChartMinimal.astro +12 -0
- package/src/components/lib/data/GlassTable.astro +23 -0
- package/src/components/lib/data/KeyValuePillGroup.astro +12 -0
- package/src/components/lib/data/PriceCompareTable.astro +22 -0
- package/src/components/lib/data/ProgressListSmall.astro +17 -0
- package/src/components/lib/data/RatingBreakdownBar.astro +13 -0
- package/src/components/lib/data/SparklineStatCard.astro +16 -0
- package/src/components/lib/data/StatsGridDashboard.astro +16 -0
- package/src/components/lib/data/StepperDataVertical.astro +15 -0
- package/src/components/lib/data/TagCloudData.astro +14 -0
- package/src/components/lib/data/TimelineHorizSteps.astro +18 -0
- package/src/components/lib/data/TreeItemInteractive.astro +18 -0
- package/src/components/lib/data/UserDirectoryItem.astro +15 -0
- package/src/components/lib/data/VerticalTimeline.astro +21 -0
- package/src/components/lib/data/index.ts +20 -0
- package/src/components/lib/feedback/AnimatedCheckmark.astro +13 -0
- package/src/components/lib/feedback/Badge.astro +19 -0
- package/src/components/lib/feedback/CircleProgress.astro +22 -0
- package/src/components/lib/feedback/ConfettiFeedback.astro +18 -0
- package/src/components/lib/feedback/CyberGlitchAlert.astro +11 -0
- package/src/components/lib/feedback/EmptyStateCard.astro +13 -0
- package/src/components/lib/feedback/GlassAlert.astro +20 -0
- package/src/components/lib/feedback/GlassModal.astro +19 -0
- package/src/components/lib/feedback/GlassProgress.astro +10 -0
- package/src/components/lib/feedback/IndicatorBadgeMinimal.astro +10 -0
- package/src/components/lib/feedback/NeonSpinner.astro +7 -0
- package/src/components/lib/feedback/PulseDot.astro +12 -0
- package/src/components/lib/feedback/RatingPill.astro +13 -0
- package/src/components/lib/feedback/ShakeErrorGroup.astro +7 -0
- package/src/components/lib/feedback/SimpleTooltip.astro +10 -0
- package/src/components/lib/feedback/SkeletonList.astro +20 -0
- package/src/components/lib/feedback/Spotlight.astro +9 -0
- package/src/components/lib/feedback/StepProgress.astro +14 -0
- package/src/components/lib/feedback/ToastNotif.astro +11 -0
- package/src/components/lib/feedback/TypingIndicator.astro +12 -0
- package/src/components/lib/feedback/index.ts +20 -0
- package/src/components/lib/forms/AnimatedInput.astro +16 -0
- package/src/components/lib/forms/ChipInput.astro +13 -0
- package/src/components/lib/forms/ColorPickerInput.astro +13 -0
- package/src/components/lib/forms/CurrencyInput.astro +11 -0
- package/src/components/lib/forms/CustomRadioGroup.astro +13 -0
- package/src/components/lib/forms/CyberpunkCheckbox.astro +15 -0
- package/src/components/lib/forms/DragDropUpload.astro +12 -0
- package/src/components/lib/forms/ErrorInput.astro +11 -0
- package/src/components/lib/forms/FloatingPassword.astro +20 -0
- package/src/components/lib/forms/FormGroupVertical.astro +14 -0
- package/src/components/lib/forms/GlassSlider.astro +7 -0
- package/src/components/lib/forms/GlassTextarea.astro +14 -0
- package/src/components/lib/forms/ModernSelect.astro +16 -0
- package/src/components/lib/forms/NeumorphicSwitch.astro +55 -0
- package/src/components/lib/forms/OTPInput.astro +22 -0
- package/src/components/lib/forms/RatingStars.astro +15 -0
- package/src/components/lib/forms/SearchReveal.astro +13 -0
- package/src/components/lib/forms/SegmentedControl.astro +13 -0
- package/src/components/lib/forms/SimpleFileInput.astro +11 -0
- package/src/components/lib/forms/StepperInput.astro +14 -0
- package/src/components/lib/forms/index.ts +20 -0
- package/src/components/lib/index.ts +6 -0
- package/src/components/lib/layout/BentoGrid3.astro +14 -0
- package/src/components/lib/layout/CenterFixedBox.astro +6 -0
- package/src/components/lib/layout/CenteredContainer.astro +8 -0
- package/src/components/lib/layout/ClusterHorizontal.astro +6 -0
- package/src/components/lib/layout/FeatureHero.astro +17 -0
- package/src/components/lib/layout/FooterCenteredMinimal.astro +11 -0
- package/src/components/lib/layout/FullBleedSection.astro +6 -0
- package/src/components/lib/layout/GalleryGrid4.astro +7 -0
- package/src/components/lib/layout/GlassCardGrid.astro +6 -0
- package/src/components/lib/layout/GlassSectionHeader.astro +15 -0
- package/src/components/lib/layout/LandingSectionSplit.astro +13 -0
- package/src/components/lib/layout/MasonryGrid.astro +7 -0
- package/src/components/lib/layout/MinimalFooterGrid.astro +20 -0
- package/src/components/lib/layout/ScrollSnapSection.astro +7 -0
- package/src/components/lib/layout/SectionDividerText.astro +7 -0
- package/src/components/lib/layout/SidebarLayoutWrapper.astro +11 -0
- package/src/components/lib/layout/SplitScreenLayout.astro +11 -0
- package/src/components/lib/layout/StepLayoutVertical.astro +21 -0
- package/src/components/lib/layout/StickySidebarWrapper.astro +10 -0
- package/src/components/lib/layout/VerticalStack.astro +8 -0
- package/src/components/lib/layout/index.ts +20 -0
- package/src/components/lib/navigation/AnchorSideNav.astro +13 -0
- package/src/components/lib/navigation/BottomNavMobile.astro +13 -0
- package/src/components/lib/navigation/BreadcrumbsMinimal.astro +16 -0
- package/src/components/lib/navigation/BurgerMorphIcon.astro +12 -0
- package/src/components/lib/navigation/CommandPaletteUI.astro +17 -0
- package/src/components/lib/navigation/DotNavigationSlider.astro +13 -0
- package/src/components/lib/navigation/FloatingTabBar.astro +12 -0
- package/src/components/lib/navigation/GlassNavbar.astro +19 -0
- package/src/components/lib/navigation/LangSwitcherPill.astro +17 -0
- package/src/components/lib/navigation/MegaMenuGlass.astro +25 -0
- package/src/components/lib/navigation/MinimalSidebar.astro +18 -0
- package/src/components/lib/navigation/PaginationGlass.astro +20 -0
- package/src/components/lib/navigation/PaginationInfiniteUI.astro +11 -0
- package/src/components/lib/navigation/RadialIconMenu.astro +15 -0
- package/src/components/lib/navigation/RetroArcadeMenu.astro +12 -0
- package/src/components/lib/navigation/ScrollProgressTop.astro +15 -0
- package/src/components/lib/navigation/SimpleFooterGlass.astro +21 -0
- package/src/components/lib/navigation/TabUnderline.astro +14 -0
- package/src/components/lib/navigation/UserProfileNav.astro +21 -0
- package/src/components/lib/navigation/VerticalTabs.astro +14 -0
- package/src/components/lib/navigation/index.ts +20 -0
- package/src/components/lib/overlays/AgeVerificationOverlay.astro +20 -0
- package/src/components/lib/overlays/BackdropBlurMask.astro +6 -0
- package/src/components/lib/overlays/BottomSheetMobile.astro +16 -0
- package/src/components/lib/overlays/CommandDialog.astro +19 -0
- package/src/components/lib/overlays/ContextMenuOverlay.astro +17 -0
- package/src/components/lib/overlays/CookieBannerGlass.astro +14 -0
- package/src/components/lib/overlays/ExitIntentOverlay.astro +19 -0
- package/src/components/lib/overlays/FloatingTrayActions.astro +13 -0
- package/src/components/lib/overlays/HelpBubbleOverlay.astro +11 -0
- package/src/components/lib/overlays/LightboxOverlay.astro +13 -0
- package/src/components/lib/overlays/LoadingOverlayFull.astro +10 -0
- package/src/components/lib/overlays/MobileNavOverlay.astro +18 -0
- package/src/components/lib/overlays/OverlayModal.astro +24 -0
- package/src/components/lib/overlays/PopoverMenuGlass.astro +17 -0
- package/src/components/lib/overlays/SearchOverlayFullscreen.astro +15 -0
- package/src/components/lib/overlays/SideDrawerRight.astro +16 -0
- package/src/components/lib/overlays/SplashIntroOverlay.astro +11 -0
- package/src/components/lib/overlays/SpotlightIndicator.astro +6 -0
- package/src/components/lib/overlays/ToastStackOverlay.astro +12 -0
- package/src/components/lib/overlays/TooltipActionTray.astro +14 -0
- package/src/components/lib/overlays/index.ts +20 -0
- package/src/components/lib/typography/AnimatedUnderlineLink.astro +10 -0
- package/src/components/lib/typography/BackgroundClipMask.astro +7 -0
- package/src/components/lib/typography/CodeInlineGlass.astro +6 -0
- package/src/components/lib/typography/CyberpunkGlitchText.astro +20 -0
- package/src/components/lib/typography/DropCapParagraph.astro +7 -0
- package/src/components/lib/typography/FadedVerticalText.astro +6 -0
- package/src/components/lib/typography/FloatingTextLabel.astro +10 -0
- package/src/components/lib/typography/GlassBlockQuote.astro +13 -0
- package/src/components/lib/typography/GlassTextReveal.astro +7 -0
- package/src/components/lib/typography/GradientHeading.astro +9 -0
- package/src/components/lib/typography/GradientUnderlineLink.astro +7 -0
- package/src/components/lib/typography/KbdIndicator.astro +6 -0
- package/src/components/lib/typography/LetterSpacingWide.astro +6 -0
- package/src/components/lib/typography/MinimalListMarkers.astro +10 -0
- package/src/components/lib/typography/MonospaceStatLine.astro +6 -0
- package/src/components/lib/typography/NeonTextHighlight.astro +6 -0
- package/src/components/lib/typography/ShadowRevealText.astro +7 -0
- package/src/components/lib/typography/StrokeHeadingOutline.astro +8 -0
- package/src/components/lib/typography/Text3DLayer.astro +7 -0
- package/src/components/lib/typography/TypewriterText.astro +15 -0
- package/src/components/lib/typography/index.ts +20 -0
- package/src/components/lib/utilities/AspectRatioBox.astro +11 -0
- package/src/components/lib/utilities/BackgroundDotPattern.astro +6 -0
- package/src/components/lib/utilities/CircularMask.astro +7 -0
- package/src/components/lib/utilities/ClickRippleWrapper.astro +7 -0
- package/src/components/lib/utilities/FadeInWrapper.astro +11 -0
- package/src/components/lib/utilities/FixedRatioImage.astro +7 -0
- package/src/components/lib/utilities/GlassBlurLayer.astro +6 -0
- package/src/components/lib/utilities/GradientBorderMask.astro +7 -0
- package/src/components/lib/utilities/HoverLift.astro +7 -0
- package/src/components/lib/utilities/ResponsiveSpacer.astro +15 -0
- package/src/components/lib/utilities/ResponsiveVisToggle.astro +11 -0
- package/src/components/lib/utilities/ScrollLockParent.astro +11 -0
- package/src/components/lib/utilities/ScrollMarginTarget.astro +10 -0
- package/src/components/lib/utilities/SlideUpReveal.astro +7 -0
- package/src/components/lib/utilities/SmoothAnchorLink.astro +22 -0
- package/src/components/lib/utilities/StackLayering.astro +12 -0
- package/src/components/lib/utilities/StickyObserver.astro +8 -0
- package/src/components/lib/utilities/TextTruncate.astro +10 -0
- package/src/components/lib/utilities/TruncateSingleLine.astro +6 -0
- package/src/components/lib/utilities/VisuallyHidden.astro +6 -0
- package/src/components/lib/utilities/index.ts +20 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="scroll-ind" id="scroll-bar"></div>
|
|
4
|
+
<style>
|
|
5
|
+
.scroll-ind { position: fixed; top: 0; left: 0; width: 0%; height: 3px; background: #6366f1; z-index: 1000; box-shadow: 0 0 10px #6366f1; }
|
|
6
|
+
</style>
|
|
7
|
+
<script>
|
|
8
|
+
window.addEventListener('scroll', () => {
|
|
9
|
+
const bar = document.getElementById('scroll-bar');
|
|
10
|
+
const scroll = document.documentElement.scrollTop;
|
|
11
|
+
const height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
|
|
12
|
+
const scrolled = (scroll / height) * 100;
|
|
13
|
+
if (bar) bar.style.width = scrolled + '%';
|
|
14
|
+
});
|
|
15
|
+
</script>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<footer class="glass-foot">
|
|
4
|
+
<div class="foot-grid">
|
|
5
|
+
<div class="foot-brand">Astro Components<p>Premium components for the next web.</p></div>
|
|
6
|
+
<div class="foot-links">
|
|
7
|
+
<div><h5>Project</h5><a href="#">Github</a><a href="#">License</a></div>
|
|
8
|
+
<div><h5>Support</h5><a href="#">Issues</a><a href="#">Discord</a></div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</footer>
|
|
12
|
+
<style>
|
|
13
|
+
.glass-foot { background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 4rem 1.5rem; }
|
|
14
|
+
.foot-grid { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3rem; }
|
|
15
|
+
.foot-brand { font-weight: 800; font-size: 1.5rem; color: #fff; }
|
|
16
|
+
.foot-brand p { font-size: 0.9rem; color: #64748b; font-weight: 400; margin-top: 0.5rem; max-width: 250px; }
|
|
17
|
+
.foot-links { display: flex; gap: 4rem; }
|
|
18
|
+
h5 { color: #fff; font-size: 0.85rem; margin-bottom: 1.25rem; }
|
|
19
|
+
a { display: block; text-decoration: none; color: #64748b; margin-bottom: 0.6rem; font-size: 0.85rem; }
|
|
20
|
+
a:hover { color: #818cf8; }
|
|
21
|
+
</style>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<nav class="u-tabs">
|
|
4
|
+
<a href="#" class="active">Profile</a>
|
|
5
|
+
<a href="#">Password</a>
|
|
6
|
+
<a href="#">Sessions</a>
|
|
7
|
+
<div class="indicator"></div>
|
|
8
|
+
</nav>
|
|
9
|
+
<style>
|
|
10
|
+
.u-tabs { display: flex; gap: 2rem; border-bottom: 2px solid rgba(255,255,255,0.05); position: relative; }
|
|
11
|
+
.u-tabs a { padding: 1rem 0; color: #64748b; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: 0.3s; }
|
|
12
|
+
.u-tabs a.active { color: #fff; }
|
|
13
|
+
.indicator { position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: #6366f1; transition: 0.3s; }
|
|
14
|
+
</style>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="u-nav">
|
|
4
|
+
<div class="u-avatar">JS</div>
|
|
5
|
+
<div class="u-menu">
|
|
6
|
+
<a href="#">Your Profile</a>
|
|
7
|
+
<a href="#">Settings</a>
|
|
8
|
+
<hr />
|
|
9
|
+
<a href="#" class="logout">Logout</a>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<style>
|
|
13
|
+
.u-nav { position: relative; cursor: pointer; }
|
|
14
|
+
.u-avatar { width: 34px; height: 34px; background: linear-gradient(135deg, #6366f1, #c084fc); border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; border: 2px solid #080b14; }
|
|
15
|
+
.u-menu { position: absolute; top: 120%; right: 0; background: #0f172a; border: 1px solid #334155; border-radius: 12px; width: 180px; display: none; flex-direction: column; overflow: hidden; z-index: 10; }
|
|
16
|
+
.u-nav:hover .u-menu { display: flex; }
|
|
17
|
+
.u-menu a { padding: 0.75rem 1rem; font-size: 0.85rem; color: #94a3b8; text-decoration: none; }
|
|
18
|
+
.u-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
|
|
19
|
+
.logout { color: #f87171 !important; }
|
|
20
|
+
hr { border: none; border-top: 1px solid #334155; margin: 0; }
|
|
21
|
+
</style>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="v-tabs">
|
|
4
|
+
<button class="v-tab active">General</button>
|
|
5
|
+
<button class="v-tab">Account</button>
|
|
6
|
+
<button class="v-tab">Security</button>
|
|
7
|
+
<button class="v-tab">Notifications</button>
|
|
8
|
+
</div>
|
|
9
|
+
<style>
|
|
10
|
+
.v-tabs { display: flex; flex-direction: column; width: 200px; border-left: 2px solid #1e293b; }
|
|
11
|
+
.v-tab { background: none; border: none; padding: 0.75rem 1.25rem; text-align: left; color: #64748b; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.2s; border-left: 2px solid transparent; margin-left: -2px; }
|
|
12
|
+
.v-tab:hover { color: #fff; }
|
|
13
|
+
.v-tab.active { color: #6366f1; border-left-color: #6366f1; background: rgba(99,102,241,0.05); }
|
|
14
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { default as AnchorSideNav } from './AnchorSideNav.astro';
|
|
2
|
+
export { default as BottomNavMobile } from './BottomNavMobile.astro';
|
|
3
|
+
export { default as BreadcrumbsMinimal } from './BreadcrumbsMinimal.astro';
|
|
4
|
+
export { default as BurgerMorphIcon } from './BurgerMorphIcon.astro';
|
|
5
|
+
export { default as CommandPaletteUI } from './CommandPaletteUI.astro';
|
|
6
|
+
export { default as DotNavigationSlider } from './DotNavigationSlider.astro';
|
|
7
|
+
export { default as FloatingTabBar } from './FloatingTabBar.astro';
|
|
8
|
+
export { default as GlassNavbar } from './GlassNavbar.astro';
|
|
9
|
+
export { default as LangSwitcherPill } from './LangSwitcherPill.astro';
|
|
10
|
+
export { default as MegaMenuGlass } from './MegaMenuGlass.astro';
|
|
11
|
+
export { default as MinimalSidebar } from './MinimalSidebar.astro';
|
|
12
|
+
export { default as PaginationGlass } from './PaginationGlass.astro';
|
|
13
|
+
export { default as PaginationInfiniteUI } from './PaginationInfiniteUI.astro';
|
|
14
|
+
export { default as RadialIconMenu } from './RadialIconMenu.astro';
|
|
15
|
+
export { default as RetroArcadeMenu } from './RetroArcadeMenu.astro';
|
|
16
|
+
export { default as ScrollProgressTop } from './ScrollProgressTop.astro';
|
|
17
|
+
export { default as SimpleFooterGlass } from './SimpleFooterGlass.astro';
|
|
18
|
+
export { default as TabUnderline } from './TabUnderline.astro';
|
|
19
|
+
export { default as UserProfileNav } from './UserProfileNav.astro';
|
|
20
|
+
export { default as VerticalTabs } from './VerticalTabs.astro';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { default as AnchorSideNav } from './AnchorSideNav.astro';
|
|
2
|
+
export { default as BottomNavMobile } from './BottomNavMobile.astro';
|
|
3
|
+
export { default as BreadcrumbsMinimal } from './BreadcrumbsMinimal.astro';
|
|
4
|
+
export { default as BurgerMorphIcon } from './BurgerMorphIcon.astro';
|
|
5
|
+
export { default as CommandPaletteUI } from './CommandPaletteUI.astro';
|
|
6
|
+
export { default as DotNavigationSlider } from './DotNavigationSlider.astro';
|
|
7
|
+
export { default as FloatingTabBar } from './FloatingTabBar.astro';
|
|
8
|
+
export { default as GlassNavbar } from './GlassNavbar.astro';
|
|
9
|
+
export { default as LangSwitcherPill } from './LangSwitcherPill.astro';
|
|
10
|
+
export { default as MegaMenuGlass } from './MegaMenuGlass.astro';
|
|
11
|
+
export { default as MinimalSidebar } from './MinimalSidebar.astro';
|
|
12
|
+
export { default as PaginationGlass } from './PaginationGlass.astro';
|
|
13
|
+
export { default as PaginationInfiniteUI } from './PaginationInfiniteUI.astro';
|
|
14
|
+
export { default as RadialIconMenu } from './RadialIconMenu.astro';
|
|
15
|
+
export { default as RetroArcadeMenu } from './RetroArcadeMenu.astro';
|
|
16
|
+
export { default as ScrollProgressTop } from './ScrollProgressTop.astro';
|
|
17
|
+
export { default as SimpleFooterGlass } from './SimpleFooterGlass.astro';
|
|
18
|
+
export { default as TabUnderline } from './TabUnderline.astro';
|
|
19
|
+
export { default as UserProfileNav } from './UserProfileNav.astro';
|
|
20
|
+
export { default as VerticalTabs } from './VerticalTabs.astro';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="age-gate">
|
|
4
|
+
<div class="age-card">
|
|
5
|
+
<h2>Age Verification</h2>
|
|
6
|
+
<p>Please confirm you are 18 or older to view this site.</p>
|
|
7
|
+
<div class="acts-row"><button class="no">Exit</button><button class="yes">I am 18+</button></div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<style>
|
|
11
|
+
.age-gate { position: fixed; inset: 0; background: #000; z-index: 9999; display: grid; place-items: center; }
|
|
12
|
+
.age-card { text-align: center; color: #fff; max-width: 350px; padding: 2rem; }
|
|
13
|
+
h2 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
|
|
14
|
+
p { color: #94a3b8; line-height: 1.6; margin-bottom: 2.5rem; }
|
|
15
|
+
.acts-row { display: flex; gap: 1rem; }
|
|
16
|
+
button { flex: 1; padding: 1rem; border: none; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.2s; }
|
|
17
|
+
.no { background: #1e293b; color: #fff; }
|
|
18
|
+
.yes { background: #6366f1; color: #fff; }
|
|
19
|
+
button:hover { transform: translateY(-2px); }
|
|
20
|
+
</style>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="sheet-overlay">
|
|
4
|
+
<div class="sheet-content">
|
|
5
|
+
<div class="drag-handle"></div>
|
|
6
|
+
<h3>Select Option</h3>
|
|
7
|
+
<div class="options"><div>Archive</div><div>Delete</div><div>Share</div></div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<style>
|
|
11
|
+
.sheet-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: flex-end; z-index: 2000; }
|
|
12
|
+
.sheet-content { width: 100%; background: #0f172a; border-radius: 20px 20px 0 0; padding: 1.5rem; transform: translateY(0); }
|
|
13
|
+
.drag-handle { width: 40px; height: 4px; background: #334155; border-radius: 2px; margin: 0 auto 1.5rem; }
|
|
14
|
+
h3 { color: #fff; text-align: center; margin-bottom: 1.5rem; }
|
|
15
|
+
.options div { padding: 1rem; color: #e2e8f0; border-bottom: 1px solid #1e293b; text-align: center; cursor: pointer; }
|
|
16
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="cmd-overlay">
|
|
4
|
+
<div class="cmd-box">
|
|
5
|
+
<div class="cmd-input"><input type="text" placeholder="Search commands..." /></div>
|
|
6
|
+
<div class="cmd-results">
|
|
7
|
+
<div class="res"><span>Recent: Dashboard</span><kbd>↵</kbd></div>
|
|
8
|
+
<div class="res"><span>Docs: Navigation</span><kbd>↵</kbd></div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
<style>
|
|
13
|
+
.cmd-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; justify-content: center; padding-top: 15vh; z-index: 3000; }
|
|
14
|
+
.cmd-box { width: 100%; max-width: 600px; background: #080b14; border: 1px solid #334155; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 100px rgba(0,0,0,0.8); }
|
|
15
|
+
.cmd-input input { width: 100%; padding: 1.25rem; background: transparent; border: none; border-bottom: 1px solid #1e293b; color: #fff; outline: none; font-size: 1.1rem; }
|
|
16
|
+
.res { display: flex; justify-content: space-between; padding: 0.75rem 1.25rem; color: #94a3b8; font-size: 0.9rem; cursor: pointer; }
|
|
17
|
+
.res:hover { background: #1e293b; color: #fff; }
|
|
18
|
+
kbd { background: #111; padding: 2px 4px; border-radius: 4px; font-size: 0.7rem; }
|
|
19
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="ctx-menu">
|
|
4
|
+
<div class="ctx-group">
|
|
5
|
+
<div class="ctx-item">Copy Link</div>
|
|
6
|
+
<div class="ctx-item">Duplicate</div>
|
|
7
|
+
</div>
|
|
8
|
+
<hr />
|
|
9
|
+
<div class="ctx-item danger">Delete Item</div>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.ctx-menu { width: 200px; background: #111; border: 1px solid #333; border-radius: 10px; padding: 4px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); position: fixed; top: 100px; left: 100px; z-index: 5000; }
|
|
13
|
+
.ctx-item { padding: 8px 12px; font-size: 0.85rem; color: #e2e8f0; border-radius: 6px; cursor: pointer; transition: 0.2s; }
|
|
14
|
+
.ctx-item:hover { background: #6366f1; color: #fff; }
|
|
15
|
+
.danger:hover { background: #ef4444 !important; }
|
|
16
|
+
hr { border: none; border-top: 1px solid #222; margin: 4px 0; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="cookie-bar">
|
|
4
|
+
<div class="text">We use cookies to improve your experience. <a href="#">Learn more</a></div>
|
|
5
|
+
<div class="acts"><button class="opt">Options</button><button class="acc">Accept All</button></div>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.cookie-bar { position: fixed; bottom: 2rem; left: 2rem; right: 2rem; max-width: 600px; margin: 0 auto; background: rgba(15,23,42,0.8); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 1.25rem; display: flex; justify-content: space-between; align-items: center; z-index: 1000; }
|
|
9
|
+
.text { color: #e2e8f0; font-size: 0.85rem; }
|
|
10
|
+
.acts { display: flex; gap: 0.75rem; }
|
|
11
|
+
button { padding: 0.5rem 1rem; border-radius: 8px; border: none; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
|
|
12
|
+
.opt { background: transparent; color: #fff; border: 1px solid #334155; }
|
|
13
|
+
.acc { background: #6366f1; color: #fff; }
|
|
14
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="exit-modal">
|
|
4
|
+
<div class="exit-card">
|
|
5
|
+
<h2>Wait! Before you go...</h2>
|
|
6
|
+
<p>Get 20% off your first order when you join our mailing list.</p>
|
|
7
|
+
<input type="email" placeholder="Your email" />
|
|
8
|
+
<button>Get My Code</button>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.exit-modal { position: fixed; inset: 0; background: rgba(99,102,241,0.1); backdrop-filter: blur(15px); z-index: 6000; display: grid; place-items: center; }
|
|
13
|
+
.exit-card { background: #fff; color: #000; padding: 3rem; border-radius: 30px; text-align: center; max-width: 450px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
|
|
14
|
+
h2 { font-weight: 900; font-size: 1.8rem; margin-bottom: 1rem; }
|
|
15
|
+
p { color: #64748b; margin-bottom: 2rem; line-height: 1.5; }
|
|
16
|
+
input { width: 100%; padding: 1rem; border: 1px solid #eee; border-radius: 12px; margin-bottom: 1rem; outline: none; font-size: 1rem; }
|
|
17
|
+
button { width: 100%; padding: 1rem; background: #6366f1; color: #fff; border: none; border-radius: 12px; font-weight: 800; cursor: pointer; transition: 0.2s; }
|
|
18
|
+
button:hover { background: #4f46e5; }
|
|
19
|
+
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="tray">
|
|
4
|
+
<button class="tray-btn">✏️ Edit</button>
|
|
5
|
+
<div class="sep"></div>
|
|
6
|
+
<button class="tray-btn">↗️ Share</button>
|
|
7
|
+
</div>
|
|
8
|
+
<style>
|
|
9
|
+
.tray { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%); background: #fff; border-radius: 100px; display: flex; align-items: center; padding: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 1000; border: 1px solid rgba(0,0,0,0.1); }
|
|
10
|
+
.tray-btn { background: none; border: none; padding: 0.6rem 1.25rem; font-weight: 700; color: #000; cursor: pointer; font-size: 0.85rem; transition: 0.2s; }
|
|
11
|
+
.tray-btn:hover { opacity: 0.6; }
|
|
12
|
+
.sep { width: 1px; height: 20px; background: #eee; }
|
|
13
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="help-bubble">
|
|
4
|
+
<div class="tip">We are online!</div>
|
|
5
|
+
<div class="icon">💬</div>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.help-bubble { position: fixed; bottom: 2rem; right: 2rem; cursor: pointer; display: flex; align-items: center; gap: 1rem; z-index: 1000; }
|
|
9
|
+
.icon { width: 55px; height: 55px; background: #6366f1; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: #fff; box-shadow: 0 10px 30px rgba(99,102,241,0.4); }
|
|
10
|
+
.tip { background: #fff; color: #000; padding: 6px 12px; border-radius: 10px; font-size: 0.75rem; font-weight: 800; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
|
|
11
|
+
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="lightbox">
|
|
4
|
+
<div class="close">×</div>
|
|
5
|
+
<div class="img-preview"></div>
|
|
6
|
+
<div class="caption">Nature Landscape / 2024</div>
|
|
7
|
+
</div>
|
|
8
|
+
<style>
|
|
9
|
+
.lightbox { position: fixed; inset: 0; background: #000; z-index: 5000; display: flex; flex-direction: column; align-items: center; justify-content: center; }
|
|
10
|
+
.close { position: absolute; top: 2rem; right: 2rem; color: #fff; font-size: 2.2rem; cursor: pointer; }
|
|
11
|
+
.img-preview { width: 80%; height: 70%; background: #1e293b; border-radius: 12px; }
|
|
12
|
+
.caption { margin-top: 2rem; color: #94a3b8; font-family: monospace; }
|
|
13
|
+
</style>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="load-overlay">
|
|
4
|
+
<div class="spinner"></div>
|
|
5
|
+
</div>
|
|
6
|
+
<style>
|
|
7
|
+
.load-overlay { position: fixed; inset: 0; background: #080b14; z-index: 9999; display: grid; place-items: center; }
|
|
8
|
+
.spinner { width: 50px; height: 50px; border: 4px solid rgba(99,102,241,0.1); border-top-color: #6366f1; border-radius: 50%; animation: spin 0.8s infinite linear; }
|
|
9
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
10
|
+
</style>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="mob-nav">
|
|
4
|
+
<div class="mob-close">×</div>
|
|
5
|
+
<nav class="mob-links">
|
|
6
|
+
<a href="#">Home</a>
|
|
7
|
+
<a href="#">Features</a>
|
|
8
|
+
<a href="#">Pricing</a>
|
|
9
|
+
<a href="#">Team</a>
|
|
10
|
+
</nav>
|
|
11
|
+
</div>
|
|
12
|
+
<style>
|
|
13
|
+
.mob-nav { position: fixed; inset: 0; background: #080b14; z-index: 4000; padding: 4rem 2rem; display: flex; flex-direction: column; }
|
|
14
|
+
.mob-close { font-size: 3rem; color: #fff; align-self: flex-end; cursor: pointer; margin-bottom: 2rem; }
|
|
15
|
+
.mob-links { display: flex; flex-direction: column; gap: 1.5rem; }
|
|
16
|
+
.mob-links a { font-size: 2.2rem; font-weight: 800; color: #fff; text-decoration: none; transition: 0.2s; }
|
|
17
|
+
.mob-links a:hover { color: #6366f1; padding-left: 10px; }
|
|
18
|
+
</style>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="modal-overlay">
|
|
4
|
+
<div class="modal-card anim-scale-up">
|
|
5
|
+
<div class="modal-close">×</div>
|
|
6
|
+
<h3>Confirm Action</h3>
|
|
7
|
+
<p>Are you sure you want to proceed with this sensitive operation?</p>
|
|
8
|
+
<div class="modal-actions">
|
|
9
|
+
<button class="cancel">Cancel</button>
|
|
10
|
+
<button class="confirm">Continue</button>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<style>
|
|
15
|
+
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 1000; }
|
|
16
|
+
.modal-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 2rem; width: 90%; max-width: 400px; box-shadow: 0 40px 100px rgba(0,0,0,0.5); position: relative; }
|
|
17
|
+
.modal-close { position: absolute; top: 1rem; right: 1rem; cursor: pointer; color: #94a3b8; font-size: 1.5rem; }
|
|
18
|
+
h3 { margin: 0 0 1rem; color: #fff; }
|
|
19
|
+
p { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; }
|
|
20
|
+
.modal-actions { display: flex; justify-content: flex-end; gap: 1rem; margin-top: 2rem; }
|
|
21
|
+
button { padding: 0.6rem 1.25rem; border-radius: 10px; border: none; font-weight: 700; cursor: pointer; }
|
|
22
|
+
.cancel { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.1); }
|
|
23
|
+
.confirm { background: #6366f1; color: #fff; }
|
|
24
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="popover">
|
|
4
|
+
<div class="pop-inner">
|
|
5
|
+
<div class="pop-item">Edit Account</div>
|
|
6
|
+
<div class="pop-item">Billing</div>
|
|
7
|
+
<hr />
|
|
8
|
+
<div class="pop-item logout">Logout</div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.popover { width: 180px; background: rgba(10, 10, 20, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 6px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
|
|
13
|
+
.pop-item { padding: 8px 12px; border-radius: 8px; color: #94a3b8; font-size: 0.85rem; cursor: pointer; }
|
|
14
|
+
.pop-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
|
|
15
|
+
.logout { color: #f87171 !important; }
|
|
16
|
+
hr { border: none; border-top: 1px solid rgba(255,255,255,0.06); margin: 6px 0; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="search-hero">
|
|
4
|
+
<div class="close">Esc</div>
|
|
5
|
+
<input type="text" placeholder="Start searching..." autofocus />
|
|
6
|
+
<div class="hints">Search for <span>components</span>, <span>guides</span>, or <span>authors</span></div>
|
|
7
|
+
</div>
|
|
8
|
+
<style>
|
|
9
|
+
.search-hero { position: fixed; inset: 0; background: #080b14; z-index: 5000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; }
|
|
10
|
+
.close { position: absolute; top: 3rem; right: 3rem; color: #64748b; font-weight: 700; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.1); padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; }
|
|
11
|
+
input { width: 100%; max-width: 800px; background: transparent; border: none; color: #fff; font-size: 3rem; font-weight: 800; text-align: center; outline: none; }
|
|
12
|
+
.hints { margin-top: 2rem; color: #64748b; font-size: 1rem; }
|
|
13
|
+
span { color: #818cf8; text-decoration: underline; cursor: pointer; }
|
|
14
|
+
@media (max-width: 768px) { input { font-size: 1.5rem; } }
|
|
15
|
+
</style>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="drawer-wrap">
|
|
4
|
+
<div class="drawer-overlay"></div>
|
|
5
|
+
<div class="drawer-panel right">
|
|
6
|
+
<div class="drawer-header"><h3>Filters</h3><span>×</span></div>
|
|
7
|
+
<div class="drawer-body"><slot /></div>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<style>
|
|
11
|
+
.drawer-wrap { position: fixed; inset: 0; z-index: 2000; }
|
|
12
|
+
.drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); }
|
|
13
|
+
.drawer-panel { position: absolute; top: 0; bottom: 0; width: 350px; background: #080b14; border-left: 1px solid rgba(255, 255, 255, 0.1); padding: 2rem; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
|
|
14
|
+
.drawer-panel.right { right: 0; transform: translateX(0); }
|
|
15
|
+
.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; color: #fff; }
|
|
16
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="splash">
|
|
4
|
+
<div class="logo-anim">Astro Components</div>
|
|
5
|
+
</div>
|
|
6
|
+
<style>
|
|
7
|
+
.splash { position: fixed; inset: 0; background: #080b14; z-index: 9999; display: grid; place-items: center; animation: fade-out 1s forwards 2s; }
|
|
8
|
+
.logo-anim { font-size: 3rem; font-weight: 900; color: #fff; animation: scale-pulse 1.5s infinite linear; background: linear-gradient(135deg, #6366f1, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
|
9
|
+
@keyframes fade-out { to { opacity: 0; pointer-events: none; } }
|
|
10
|
+
@keyframes scale-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
|
|
11
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="toast-stack">
|
|
4
|
+
<div class="toast-mini success">Profile updated!</div>
|
|
5
|
+
<div class="toast-mini error">Failed to sync changes.</div>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.toast-stack { position: fixed; top: 2rem; right: 2rem; z-index: 5000; display: flex; flex-direction: column; gap: 0.75rem; }
|
|
9
|
+
.toast-mini { background: #111; color: #fff; padding: 0.75rem 1.5rem; border-radius: 10px; border-left: 4px solid #333; font-size: 0.85rem; box-shadow: 0 10px 30px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); }
|
|
10
|
+
.success { border-left-color: #10b981; }
|
|
11
|
+
.error { border-left-color: #ef4444; }
|
|
12
|
+
</style>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="act-tip">
|
|
4
|
+
<div class="tip-body">Action required</div>
|
|
5
|
+
<div class="tip-btns"><button class="fix">Fix</button><button class="ign">Ignore</button></div>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.act-tip { position: relative; background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); width: fit-content; }
|
|
9
|
+
.tip-body { color: #fff; font-weight: 700; font-size: 0.8rem; margin-bottom: 8px; }
|
|
10
|
+
.tip-btns { display: flex; gap: 8px; }
|
|
11
|
+
button { padding: 4px 10px; font-size: 0.75rem; border-radius: 4px; border: none; cursor: pointer; font-weight: 600; }
|
|
12
|
+
.fix { background: #6366f1; color: #fff; }
|
|
13
|
+
.ign { background: #334155; color: #94a3b8; }
|
|
14
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { default as AgeVerificationOverlay } from './AgeVerificationOverlay.astro';
|
|
2
|
+
export { default as BackdropBlurMask } from './BackdropBlurMask.astro';
|
|
3
|
+
export { default as BottomSheetMobile } from './BottomSheetMobile.astro';
|
|
4
|
+
export { default as CommandDialog } from './CommandDialog.astro';
|
|
5
|
+
export { default as ContextMenuOverlay } from './ContextMenuOverlay.astro';
|
|
6
|
+
export { default as CookieBannerGlass } from './CookieBannerGlass.astro';
|
|
7
|
+
export { default as ExitIntentOverlay } from './ExitIntentOverlay.astro';
|
|
8
|
+
export { default as FloatingTrayActions } from './FloatingTrayActions.astro';
|
|
9
|
+
export { default as HelpBubbleOverlay } from './HelpBubbleOverlay.astro';
|
|
10
|
+
export { default as LightboxOverlay } from './LightboxOverlay.astro';
|
|
11
|
+
export { default as LoadingOverlayFull } from './LoadingOverlayFull.astro';
|
|
12
|
+
export { default as MobileNavOverlay } from './MobileNavOverlay.astro';
|
|
13
|
+
export { default as OverlayModal } from './OverlayModal.astro';
|
|
14
|
+
export { default as PopoverMenuGlass } from './PopoverMenuGlass.astro';
|
|
15
|
+
export { default as SearchOverlayFullscreen } from './SearchOverlayFullscreen.astro';
|
|
16
|
+
export { default as SideDrawerRight } from './SideDrawerRight.astro';
|
|
17
|
+
export { default as SplashIntroOverlay } from './SplashIntroOverlay.astro';
|
|
18
|
+
export { default as SpotlightIndicator } from './SpotlightIndicator.astro';
|
|
19
|
+
export { default as ToastStackOverlay } from './ToastStackOverlay.astro';
|
|
20
|
+
export { default as TooltipActionTray } from './TooltipActionTray.astro';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { default as AgeVerificationOverlay } from './AgeVerificationOverlay.astro';
|
|
2
|
+
export { default as BackdropBlurMask } from './BackdropBlurMask.astro';
|
|
3
|
+
export { default as BottomSheetMobile } from './BottomSheetMobile.astro';
|
|
4
|
+
export { default as CommandDialog } from './CommandDialog.astro';
|
|
5
|
+
export { default as ContextMenuOverlay } from './ContextMenuOverlay.astro';
|
|
6
|
+
export { default as CookieBannerGlass } from './CookieBannerGlass.astro';
|
|
7
|
+
export { default as ExitIntentOverlay } from './ExitIntentOverlay.astro';
|
|
8
|
+
export { default as FloatingTrayActions } from './FloatingTrayActions.astro';
|
|
9
|
+
export { default as HelpBubbleOverlay } from './HelpBubbleOverlay.astro';
|
|
10
|
+
export { default as LightboxOverlay } from './LightboxOverlay.astro';
|
|
11
|
+
export { default as LoadingOverlayFull } from './LoadingOverlayFull.astro';
|
|
12
|
+
export { default as MobileNavOverlay } from './MobileNavOverlay.astro';
|
|
13
|
+
export { default as OverlayModal } from './OverlayModal.astro';
|
|
14
|
+
export { default as PopoverMenuGlass } from './PopoverMenuGlass.astro';
|
|
15
|
+
export { default as SearchOverlayFullscreen } from './SearchOverlayFullscreen.astro';
|
|
16
|
+
export { default as SideDrawerRight } from './SideDrawerRight.astro';
|
|
17
|
+
export { default as SplashIntroOverlay } from './SplashIntroOverlay.astro';
|
|
18
|
+
export { default as SpotlightIndicator } from './SpotlightIndicator.astro';
|
|
19
|
+
export { default as ToastStackOverlay } from './ToastStackOverlay.astro';
|
|
20
|
+
export { default as TooltipActionTray } from './TooltipActionTray.astro';
|