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,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<section class="f-hero">
|
|
4
|
+
<div class="f-inner">
|
|
5
|
+
<h1>Experience the <span>Next Dimension</span> of Design</h1>
|
|
6
|
+
<p>Build stunning interfaces faster than ever with our premium component ecosystem.</p>
|
|
7
|
+
<div class="f-actions"><slot /></div>
|
|
8
|
+
</div>
|
|
9
|
+
</section>
|
|
10
|
+
<style>
|
|
11
|
+
.f-hero { padding: 8rem 2rem; text-align: center; background: radial-gradient(circle at top, rgba(99,102,241,0.15) 0%, transparent 70%); }
|
|
12
|
+
.f-inner { max-width: 800px; margin: 0 auto; }
|
|
13
|
+
h1 { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; color: #fff; }
|
|
14
|
+
h1 span { background: linear-gradient(135deg, #6366f1, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
|
15
|
+
p { font-size: 1.25rem; color: #94a3b8; line-height: 1.6; margin-bottom: 2.5rem; }
|
|
16
|
+
.f-actions { display: flex; justify-content: center; gap: 1rem; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<footer class="c-footer">
|
|
4
|
+
<div class="c-logo">Astro Components</div>
|
|
5
|
+
<div class="c-copy">© 2024 Built with ❤️ and Astro.</div>
|
|
6
|
+
</footer>
|
|
7
|
+
<style>
|
|
8
|
+
.c-footer { text-align: center; padding: 4rem; border-top: 1px solid rgba(255, 255, 255, 0.05); }
|
|
9
|
+
.c-logo { font-weight: 800; color: #fff; font-size: 1.1rem; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
|
|
10
|
+
.c-copy { font-size: 0.8rem; color: #64748b; }
|
|
11
|
+
</style>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="gal-grid"><slot /></div>
|
|
4
|
+
<style>
|
|
5
|
+
.gal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
|
|
6
|
+
.gal-grid :global(> *) { aspect-ratio: 1; border-radius: 12px; background: rgba(255, 255, 255, 0.05); overflow: hidden; border: 1px solid rgba(255,255,255,0.1); }
|
|
7
|
+
</style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
interface Props { title: string; subtitle?: string; }
|
|
3
|
+
const { title, subtitle } = Astro.props;
|
|
4
|
+
---
|
|
5
|
+
<div class="s-header">
|
|
6
|
+
<h2>{title}</h2>
|
|
7
|
+
{subtitle && <p>{subtitle}</p>}
|
|
8
|
+
<div class="s-line"></div>
|
|
9
|
+
</div>
|
|
10
|
+
<style>
|
|
11
|
+
.s-header { margin-bottom: 3rem; }
|
|
12
|
+
h2 { font-size: 2rem; color: #fff; margin: 0; }
|
|
13
|
+
p { color: #64748b; margin: 0.5rem 0 0; }
|
|
14
|
+
.s-line { height: 4px; width: 60px; background: #6366f1; border-radius: 2px; margin-top: 1.25rem; }
|
|
15
|
+
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<section class="split-sec">
|
|
4
|
+
<div class="txt"><h2>Build faster</h2><p>Scale with pre-built logic and stunning modular designs.</p></div>
|
|
5
|
+
<div class="media"></div>
|
|
6
|
+
</section>
|
|
7
|
+
<style>
|
|
8
|
+
.split-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 4rem 1.5rem; }
|
|
9
|
+
.media { height: 400px; background: rgba(15, 23, 42, 0.5); border-radius: 24px; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); }
|
|
10
|
+
h2 { font-size: 2.5rem; color: #fff; margin-bottom: 1rem; }
|
|
11
|
+
p { font-size: 1.1rem; color: #94a3b8; line-height: 1.6; }
|
|
12
|
+
@media (max-width: 768px) { .split-sec { grid-template-columns: 1fr; } }
|
|
13
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<footer class="m-footer">
|
|
4
|
+
<div class="f-row">
|
|
5
|
+
<div class="f-info">Logo<span>© 2024</span></div>
|
|
6
|
+
<div class="f-links">
|
|
7
|
+
<div><a>Docs</a><a>Blog</a></div>
|
|
8
|
+
<div><a>Twitter</a><a>Discord</a></div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</footer>
|
|
12
|
+
<style>
|
|
13
|
+
.m-footer { padding: 4rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
|
|
14
|
+
.f-row { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; }
|
|
15
|
+
.f-info { font-weight: 800; color: #fff; }
|
|
16
|
+
span { display: block; font-size: 0.75rem; color: #64748b; font-weight: 400; }
|
|
17
|
+
.f-links { display: flex; gap: 3rem; }
|
|
18
|
+
a { display: block; color: #94a3b8; font-size: 0.85rem; margin-bottom: 0.5rem; text-decoration: none; cursor: pointer; }
|
|
19
|
+
a:hover { color: #fff; }
|
|
20
|
+
</style>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="snap-wrap"><slot /></div>
|
|
4
|
+
<style>
|
|
5
|
+
.snap-wrap { height: 100vh; overflow-y: scroll; scroll-snap-type: y mandatory; }
|
|
6
|
+
.snap-wrap :global(section) { height: 100vh; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; }
|
|
7
|
+
</style>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="txt-divider"><span><slot /></span></div>
|
|
4
|
+
<style>
|
|
5
|
+
.txt-divider { display: flex; align-items: center; gap: 1rem; color: #64748b; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin: 2rem 0; }
|
|
6
|
+
.txt-divider::before, .txt-divider::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.08); }
|
|
7
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="side-page">
|
|
4
|
+
<aside class="side-col"><slot name="sidebar" /></aside>
|
|
5
|
+
<main class="main-col"><slot name="main" /></main>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.side-page { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
|
|
9
|
+
.side-col { border-right: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0,0,0,0.1); }
|
|
10
|
+
.main-col { padding: 2rem; }
|
|
11
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="split-layout">
|
|
4
|
+
<div class="split-side left"><slot name="left" /></div>
|
|
5
|
+
<div class="split-side right"><slot name="right" /></div>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.split-layout { display: flex; min-height: 80vh; flex-wrap: wrap; }
|
|
9
|
+
.split-side { flex: 1; min-width: 300px; display: flex; align-items: center; padding: 4rem; }
|
|
10
|
+
.left { background: rgba(0,0,0,0.1); }
|
|
11
|
+
</style>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="step-lay">
|
|
4
|
+
<div class="step-line">
|
|
5
|
+
<div class="step-point">1</div>
|
|
6
|
+
<div class="step-point">2</div>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="step-content">
|
|
9
|
+
<div class="step-block"><h4>Setup</h4><p>Install the library.</p></div>
|
|
10
|
+
<div class="step-block"><h4>Config</h4><p>Set up registry.</p></div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<style>
|
|
14
|
+
.step-lay { display: flex; gap: 2.5rem; }
|
|
15
|
+
.step-line { width: 40px; display: flex; flex-direction: column; align-items: center; gap: 5rem; position: relative; }
|
|
16
|
+
.step-line::before { content: ""; position: absolute; height: 100%; width: 2px; background: rgba(255,255,255,0.05); z-index: -1; }
|
|
17
|
+
.step-point { width: 34px; height: 34px; border-radius: 50%; background: #6366f1; color: #fff; display: grid; place-items: center; font-weight: 800; box-shadow: 0 0 15px rgba(99,102,241,0.4); }
|
|
18
|
+
.step-block { height: 90px; }
|
|
19
|
+
h4 { margin: 0; color: #fff; font-size: 1.1rem; }
|
|
20
|
+
p { color: #64748b; font-size: 0.9rem; margin-top: 0.4rem; }
|
|
21
|
+
</style>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="stick-lay">
|
|
4
|
+
<main><slot name="main" /></main>
|
|
5
|
+
<aside><slot name="sidebar" /></aside>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.stick-lay { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; }
|
|
9
|
+
aside :global(> *) { position: sticky; top: 100px; }
|
|
10
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { default as BentoGrid3 } from './BentoGrid3.astro';
|
|
2
|
+
export { default as CenteredContainer } from './CenteredContainer.astro';
|
|
3
|
+
export { default as CenterFixedBox } from './CenterFixedBox.astro';
|
|
4
|
+
export { default as ClusterHorizontal } from './ClusterHorizontal.astro';
|
|
5
|
+
export { default as FeatureHero } from './FeatureHero.astro';
|
|
6
|
+
export { default as FooterCenteredMinimal } from './FooterCenteredMinimal.astro';
|
|
7
|
+
export { default as FullBleedSection } from './FullBleedSection.astro';
|
|
8
|
+
export { default as GalleryGrid4 } from './GalleryGrid4.astro';
|
|
9
|
+
export { default as GlassCardGrid } from './GlassCardGrid.astro';
|
|
10
|
+
export { default as GlassSectionHeader } from './GlassSectionHeader.astro';
|
|
11
|
+
export { default as LandingSectionSplit } from './LandingSectionSplit.astro';
|
|
12
|
+
export { default as MasonryGrid } from './MasonryGrid.astro';
|
|
13
|
+
export { default as MinimalFooterGrid } from './MinimalFooterGrid.astro';
|
|
14
|
+
export { default as ScrollSnapSection } from './ScrollSnapSection.astro';
|
|
15
|
+
export { default as SectionDividerText } from './SectionDividerText.astro';
|
|
16
|
+
export { default as SidebarLayoutWrapper } from './SidebarLayoutWrapper.astro';
|
|
17
|
+
export { default as SplitScreenLayout } from './SplitScreenLayout.astro';
|
|
18
|
+
export { default as StepLayoutVertical } from './StepLayoutVertical.astro';
|
|
19
|
+
export { default as StickySidebarWrapper } from './StickySidebarWrapper.astro';
|
|
20
|
+
export { default as VerticalStack } from './VerticalStack.astro';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<ul class="anchor-nav">
|
|
4
|
+
<li><a href="#intro" class="active">Introduction</a></li>
|
|
5
|
+
<li><a href="#features">Features</a></li>
|
|
6
|
+
<li><a href="#pricing">Pricing</a></li>
|
|
7
|
+
<li><a href="#faq">FAQ</a></li>
|
|
8
|
+
</ul>
|
|
9
|
+
<style>
|
|
10
|
+
.anchor-nav { list-style: none; padding: 0.5rem; border-left: 1px solid rgba(255, 255, 255, 0.1); position: sticky; top: 100px; }
|
|
11
|
+
.anchor-nav a { display: block; padding: 0.4rem 1rem; color: #64748b; text-decoration: none; font-size: 0.85rem; border-left: 2px solid transparent; margin-left: -1.5px; }
|
|
12
|
+
.anchor-nav a.active { color: #818cf8; border-left-color: #6366f1; }
|
|
13
|
+
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="bottom-nav">
|
|
4
|
+
<a href="#" class="active">🏠</a>
|
|
5
|
+
<a href="#">🔍</a>
|
|
6
|
+
<a href="#">🔔</a>
|
|
7
|
+
<a href="#">👤</a>
|
|
8
|
+
</div>
|
|
9
|
+
<style>
|
|
10
|
+
.bottom-nav { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); width: 90%; max-width: 400px; height: 60px; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 30px; display: flex; justify-content: space-around; align-items: center; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
|
|
11
|
+
.bottom-nav a { font-size: 1.25rem; opacity: 0.5; text-decoration: none; transition: 0.3s; }
|
|
12
|
+
.bottom-nav a.active { opacity: 1; transform: translateY(-5px); }
|
|
13
|
+
</style>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<nav class="crumbs">
|
|
4
|
+
<a href="/">Home</a>
|
|
5
|
+
<span class="sep">/</span>
|
|
6
|
+
<a href="/docs">Documentation</a>
|
|
7
|
+
<span class="sep">/</span>
|
|
8
|
+
<span class="curr">Navigation</span>
|
|
9
|
+
</nav>
|
|
10
|
+
<style>
|
|
11
|
+
.crumbs { display: flex; gap: 0.6rem; font-size: 0.8rem; font-weight: 500; }
|
|
12
|
+
.crumbs a { color: #64748b; text-decoration: none; }
|
|
13
|
+
.crumbs a:hover { color: #fff; }
|
|
14
|
+
.sep { color: #334155; }
|
|
15
|
+
.curr { color: #818cf8; font-weight: 700; }
|
|
16
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<button class="burger" onclick="this.classList.toggle('active')">
|
|
4
|
+
<span></span><span></span><span></span>
|
|
5
|
+
</button>
|
|
6
|
+
<style>
|
|
7
|
+
.burger { background: none; border: none; width: 30px; height: 24px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; }
|
|
8
|
+
.burger span { width: 100%; height: 3px; background: #fff; border-radius: 2px; transition: 0.4s; }
|
|
9
|
+
.burger.active span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
|
|
10
|
+
.burger.active span:nth-child(2) { opacity: 0; }
|
|
11
|
+
.burger.active span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
|
|
12
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="cmd-palette">
|
|
4
|
+
<div class="cmd-search">🔍 Type a command...</div>
|
|
5
|
+
<div class="cmd-list">
|
|
6
|
+
<div class="cmd-item"><span>📄 Create new page</span><kbd>⌘N</kbd></div>
|
|
7
|
+
<div class="cmd-item"><span>🚀 Deploy to Vercel</span><kbd>⌘D</kbd></div>
|
|
8
|
+
<div class="cmd-item"><span>⚙️ Open settings</span><kbd>⌘,</kbd></div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.cmd-palette { background: #0f172a; border: 1px solid #334155; border-radius: 12px; width: 100%; max-width: 500px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); overflow: hidden; }
|
|
13
|
+
.cmd-search { padding: 1rem; border-bottom: 1px solid #334155; color: #64748b; font-size: 0.9rem; }
|
|
14
|
+
.cmd-item { display: flex; justify-content: space-between; padding: 0.75rem 1rem; cursor: pointer; transition: 0.2s; color: #fff; font-size: 0.85rem; }
|
|
15
|
+
.cmd-item:hover { background: #1e293b; }
|
|
16
|
+
kbd { background: #111; border: 1px solid #333; padding: 2px 5px; border-radius: 4px; font-size: 0.7rem; color: #94a3b8; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="dot-nav">
|
|
4
|
+
<button class="active"></button>
|
|
5
|
+
<button></button>
|
|
6
|
+
<button></button>
|
|
7
|
+
<button></button>
|
|
8
|
+
</div>
|
|
9
|
+
<style>
|
|
10
|
+
.dot-nav { display: flex; gap: 10px; justify-content: center; }
|
|
11
|
+
.dot-nav button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,0.2); cursor: pointer; transition: 0.3s; }
|
|
12
|
+
.dot-nav button.active { width: 24px; border-radius: 5px; background: #6366f1; }
|
|
13
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="float-tabs">
|
|
4
|
+
<button class="active">Discover</button>
|
|
5
|
+
<button>Trending</button>
|
|
6
|
+
<button>Following</button>
|
|
7
|
+
</div>
|
|
8
|
+
<style>
|
|
9
|
+
.float-tabs { display: flex; gap: 4px; background: rgba(0,0,0,0.4); padding: 5px; border-radius: 100px; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); width: fit-content; margin: 2rem auto; }
|
|
10
|
+
.float-tabs button { background: none; border: none; padding: 0.6rem 1.4rem; color: #94a3b8; font-weight: 600; font-size: 0.85rem; border-radius: 100px; cursor: pointer; transition: 0.3s; }
|
|
11
|
+
.float-tabs button.active { background: #fff; color: #000; }
|
|
12
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
interface Props { brand?: string; brandHref?: string; }
|
|
3
|
+
const { brand = 'Astro Components', brandHref = '/' } = Astro.props;
|
|
4
|
+
---
|
|
5
|
+
<header class="glass-nav">
|
|
6
|
+
<div class="glass-nav__inner">
|
|
7
|
+
<a href={brandHref} class="glass-nav__brand">{brand}</a>
|
|
8
|
+
<nav class="glass-nav__links"><slot name="links" /></nav>
|
|
9
|
+
<div class="glass-nav__actions"><slot name="actions" /></div>
|
|
10
|
+
</div>
|
|
11
|
+
</header>
|
|
12
|
+
<style>
|
|
13
|
+
.glass-nav { position: sticky; top: 0; z-index: 100; background: rgba(10, 10, 20, 0.7); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
|
|
14
|
+
.glass-nav__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; gap: 2rem; }
|
|
15
|
+
.glass-nav__brand { font-size: 1.1rem; font-weight: 800; color: #f1f5f9; text-decoration: none; background: linear-gradient(135deg, #818cf8, #c084fc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
|
|
16
|
+
.glass-nav__links { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
|
|
17
|
+
.glass-nav__links :global(a) { padding: 0.4rem 0.8rem; font-size: 0.875rem; font-weight: 500; color: #94a3b8; text-decoration: none; border-radius: 8px; transition: 0.2s; }
|
|
18
|
+
.glass-nav__links :global(a:hover) { color: #e2e8f0; background: rgba(255, 255, 255, 0.06); }
|
|
19
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="lang-pill">
|
|
4
|
+
<span class="curr">EN</span>
|
|
5
|
+
<div class="list">
|
|
6
|
+
<span>ES</span>
|
|
7
|
+
<span>FR</span>
|
|
8
|
+
<span>JP</span>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.lang-pill { background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 100px; color: #fff; font-size: 0.75rem; font-weight: 800; border: 1px solid rgba(255, 255, 255, 0.1); cursor: pointer; position: relative; }
|
|
13
|
+
.list { position: absolute; top: 110%; left: 0; background: #111; border-radius: 8px; border: 1px solid #333; display: none; flex-direction: column; z-index: 10; }
|
|
14
|
+
.lang-pill:hover .list { display: flex; }
|
|
15
|
+
.list span { padding: 5px 15px; }
|
|
16
|
+
.list span:hover { background: #6366f1; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="mega-wrap">
|
|
4
|
+
<div class="mega-grid">
|
|
5
|
+
<div class="mega-col">
|
|
6
|
+
<h5>Products</h5>
|
|
7
|
+
<a href="#">Analytics</a>
|
|
8
|
+
<a href="#">CRM</a>
|
|
9
|
+
<a href="#">Support</a>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="mega-col">
|
|
12
|
+
<h5>Resources</h5>
|
|
13
|
+
<a href="#">Documentation</a>
|
|
14
|
+
<a href="#">Tutorials</a>
|
|
15
|
+
<a href="#">Guides</a>
|
|
16
|
+
</div>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<style>
|
|
20
|
+
.mega-wrap { background: rgba(10, 10, 20, 0.9); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 2rem; width: 600px; }
|
|
21
|
+
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
|
|
22
|
+
h5 { color: #818cf8; font-size: 0.8rem; margin: 0 0 1rem; text-transform: uppercase; letter-spacing: 0.05em; }
|
|
23
|
+
.mega-col a { display: block; padding: 0.5rem 0; color: #e2e8f0; text-decoration: none; font-size: 0.9rem; }
|
|
24
|
+
.mega-col a:hover { color: #fff; }
|
|
25
|
+
</style>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<aside class="sidebar">
|
|
4
|
+
<div class="sidebar-logo">AU</div>
|
|
5
|
+
<nav class="sidebar-nav">
|
|
6
|
+
<a href="#" class="active">Overview</a>
|
|
7
|
+
<a href="#">Projects</a>
|
|
8
|
+
<a href="#">Team</a>
|
|
9
|
+
<a href="#">Settings</a>
|
|
10
|
+
</nav>
|
|
11
|
+
</aside>
|
|
12
|
+
<style>
|
|
13
|
+
.sidebar { width: 240px; height: 100vh; background: #080b14; border-right: 1px solid rgba(255, 255, 255, 0.1); padding: 1.5rem; display: flex; flex-direction: column; gap: 2rem; }
|
|
14
|
+
.sidebar-logo { width: 40px; height: 40px; background: #6366f1; color: #fff; display: grid; place-items: center; border-radius: 10px; font-weight: 900; }
|
|
15
|
+
.sidebar-nav { display: flex; flex-direction: column; gap: 0.5rem; }
|
|
16
|
+
.sidebar-nav a { padding: 0.75rem 1rem; border-radius: 10px; color: #94a3b8; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: 0.2s; }
|
|
17
|
+
.sidebar-nav a:hover, .sidebar-nav a.active { background: rgba(255,255,255,0.05); color: #fff; }
|
|
18
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<nav class="pagination">
|
|
4
|
+
<button class="prev">←</button>
|
|
5
|
+
<div class="pages">
|
|
6
|
+
<a href="#" class="active">1</a>
|
|
7
|
+
<a href="#">2</a>
|
|
8
|
+
<a href="#">3</a>
|
|
9
|
+
<span>...</span>
|
|
10
|
+
<a href="#">12</a>
|
|
11
|
+
</div>
|
|
12
|
+
<button class="next">→</button>
|
|
13
|
+
</nav>
|
|
14
|
+
<style>
|
|
15
|
+
.pagination { display: flex; align-items: center; gap: 1rem; }
|
|
16
|
+
.pages { display: flex; gap: 0.5rem; background: rgba(0,0,0,0.2); padding: 4px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.1); }
|
|
17
|
+
.pages a, button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; font-size: 0.8rem; font-weight: 700; color: #94a3b8; text-decoration: none; transition: 0.2s; border: none; background: none; cursor: pointer; }
|
|
18
|
+
.pages a.active { background: #6366f1; color: #fff; }
|
|
19
|
+
.pages a:hover:not(.active) { background: rgba(255,255,255,0.05); color: #fff; }
|
|
20
|
+
</style>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="inf-load">
|
|
4
|
+
<div class="dot-spin"></div>
|
|
5
|
+
<span>Loading more items...</span>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.inf-load { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 2rem; color: #64748b; font-size: 0.85rem; }
|
|
9
|
+
.dot-spin { width: 30px; height: 30px; border: 2px solid rgba(255,255,255,0.1); border-top-color: #6366f1; border-radius: 50%; animation: spin 0.8s linear infinite; }
|
|
10
|
+
@keyframes spin { to { transform: rotate(360deg); } }
|
|
11
|
+
</style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="radial-wrap">
|
|
4
|
+
<div class="toggle">+</div>
|
|
5
|
+
<div class="icons">
|
|
6
|
+
<div style="--i:1">📷</div>
|
|
7
|
+
<div style="--i:2">📁</div>
|
|
8
|
+
<div style="--i:3">✉️</div>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.radial-wrap { position: relative; width: 60px; height: 60px; background: #6366f1; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; }
|
|
13
|
+
.icons div { position: absolute; left: 0; transform-origin: 30px; transition: 0.5s; transition-delay: calc(0.1s * var(--i)); transform: rotate(0deg) translateX(0px); opacity: 0; pointer-events: none; }
|
|
14
|
+
.radial-wrap:hover .icons div { transform: rotate(calc(360deg / 8 * var(--i))) translateX(80px); opacity: 1; pointer-events: auto; }
|
|
15
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="retro-menu">
|
|
4
|
+
<div class="item selected">▶ LOAD GAME</div>
|
|
5
|
+
<div class="item">OPTIONS</div>
|
|
6
|
+
<div class="item">EXIT</div>
|
|
7
|
+
</div>
|
|
8
|
+
<style>
|
|
9
|
+
.retro-menu { background: #000; border: 4px solid #fff; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; width: fit-content; }
|
|
10
|
+
.item { font-family: 'Courier New', monospace; font-weight: 900; color: #fff; font-size: 1.2rem; cursor: pointer; }
|
|
11
|
+
.item.selected { color: #facc15; }
|
|
12
|
+
</style>
|
|
@@ -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
|
+
---
|
|
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>
|