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,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
interface Props {
|
|
3
|
+
href?: string;
|
|
4
|
+
type?: 'button' | 'submit' | 'reset';
|
|
5
|
+
variant?: 'primary' | 'secondary' | 'ghost';
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const {
|
|
11
|
+
href,
|
|
12
|
+
type = 'button',
|
|
13
|
+
variant = 'primary',
|
|
14
|
+
size = 'md',
|
|
15
|
+
disabled = false
|
|
16
|
+
} = Astro.props;
|
|
17
|
+
|
|
18
|
+
const Tag = href ? 'a' : 'button';
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
<Tag
|
|
22
|
+
href={href}
|
|
23
|
+
type={href ? undefined : type}
|
|
24
|
+
disabled={disabled}
|
|
25
|
+
class={`shimmer-btn shimmer-btn--${variant} shimmer-btn--${size}`}
|
|
26
|
+
>
|
|
27
|
+
<span class="shimmer-btn__content"><slot /></span>
|
|
28
|
+
</Tag>
|
|
29
|
+
|
|
30
|
+
<style>
|
|
31
|
+
.shimmer-btn {
|
|
32
|
+
--shimmer-speed: 3s;
|
|
33
|
+
--shimmer-color: rgba(255, 255, 255, 0.3);
|
|
34
|
+
|
|
35
|
+
position: relative;
|
|
36
|
+
display: inline-flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
padding: 0;
|
|
40
|
+
border: none;
|
|
41
|
+
border-radius: var(--r-full, 9999px);
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
transition: all 0.3s ease;
|
|
46
|
+
user-select: none;
|
|
47
|
+
font-family: var(--font-sans, inherit);
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
white-space: nowrap;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.shimmer-btn__content {
|
|
53
|
+
display: block;
|
|
54
|
+
padding: 0.75rem 1.8rem;
|
|
55
|
+
z-index: 2;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.shimmer-btn::after {
|
|
59
|
+
content: "";
|
|
60
|
+
position: absolute;
|
|
61
|
+
inset: 0;
|
|
62
|
+
background: linear-gradient(
|
|
63
|
+
120deg,
|
|
64
|
+
transparent 30%,
|
|
65
|
+
var(--shimmer-color) 50%,
|
|
66
|
+
transparent 70%
|
|
67
|
+
);
|
|
68
|
+
background-size: 200% 100%;
|
|
69
|
+
transform: translateX(-100%);
|
|
70
|
+
animation: sweep var(--shimmer-speed) infinite;
|
|
71
|
+
z-index: 1;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes sweep {
|
|
75
|
+
0% { transform: translateX(-100%); }
|
|
76
|
+
40%, 100% { transform: translateX(100%); }
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.shimmer-btn:hover:not(:disabled) {
|
|
80
|
+
transform: scale(1.02);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.shimmer-btn:disabled {
|
|
84
|
+
opacity: 0.5;
|
|
85
|
+
cursor: not-allowed;
|
|
86
|
+
filter: grayscale(1);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/* Variants */
|
|
90
|
+
.shimmer-btn--primary {
|
|
91
|
+
background: var(--c-bg-2, #1e293b);
|
|
92
|
+
color: #fff;
|
|
93
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.shimmer-btn--secondary {
|
|
97
|
+
background: var(--c-primary, #6366f1);
|
|
98
|
+
color: #fff;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.shimmer-btn--ghost {
|
|
102
|
+
background: transparent;
|
|
103
|
+
color: var(--c-primary-light, #818cf8);
|
|
104
|
+
border: 1px solid rgba(99, 102, 241, 0.4);
|
|
105
|
+
--shimmer-color: rgba(99, 102, 241, 0.2);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* Sizes */
|
|
109
|
+
.shimmer-btn--sm .shimmer-btn__content { padding: 0.45rem 1.2rem; font-size: 0.8rem; }
|
|
110
|
+
.shimmer-btn--md .shimmer-btn__content { padding: 0.75rem 1.8rem; font-size: 0.95rem; }
|
|
111
|
+
.shimmer-btn--lg .shimmer-btn__content { padding: 1.1rem 2.6rem; font-size: 1.1rem; }
|
|
112
|
+
</style>
|
|
113
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
---
|
|
2
|
+
interface Props {
|
|
3
|
+
href?: string;
|
|
4
|
+
type?: 'button' | 'submit' | 'reset';
|
|
5
|
+
variant?: 'primary' | 'secondary' | 'ghost';
|
|
6
|
+
size?: 'sm' | 'md' | 'lg';
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
const {
|
|
11
|
+
href,
|
|
12
|
+
type = 'button',
|
|
13
|
+
variant = 'primary',
|
|
14
|
+
size = 'md',
|
|
15
|
+
disabled = false
|
|
16
|
+
} = Astro.props;
|
|
17
|
+
|
|
18
|
+
const Tag = href ? 'a' : 'button';
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
<Tag
|
|
22
|
+
href={href}
|
|
23
|
+
type={href ? undefined : type}
|
|
24
|
+
disabled={disabled}
|
|
25
|
+
class={`shiny-btn shiny-btn--${variant} shiny-btn--${size}`}
|
|
26
|
+
>
|
|
27
|
+
<span class="shiny-btn__content"><slot /></span>
|
|
28
|
+
</Tag>
|
|
29
|
+
|
|
30
|
+
<style>
|
|
31
|
+
.shiny-btn {
|
|
32
|
+
position: relative;
|
|
33
|
+
display: inline-flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
background: #111;
|
|
37
|
+
color: #fff;
|
|
38
|
+
padding: 0;
|
|
39
|
+
border: none;
|
|
40
|
+
border-radius: var(--r-md, 12px);
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
text-decoration: none;
|
|
43
|
+
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
user-select: none;
|
|
46
|
+
white-space: nowrap;
|
|
47
|
+
overflow: hidden;
|
|
48
|
+
font-family: var(--font-sans, inherit);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.shiny-btn__content {
|
|
52
|
+
display: block;
|
|
53
|
+
padding: 0.7rem 1.8rem;
|
|
54
|
+
z-index: 2;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.shiny-btn::after {
|
|
58
|
+
content: '';
|
|
59
|
+
position: absolute;
|
|
60
|
+
top: -50%;
|
|
61
|
+
left: -150%;
|
|
62
|
+
width: 200%;
|
|
63
|
+
height: 200%;
|
|
64
|
+
background: linear-gradient(
|
|
65
|
+
45deg,
|
|
66
|
+
transparent 0%,
|
|
67
|
+
rgba(255, 255, 255, 0) 30%,
|
|
68
|
+
rgba(255, 255, 255, 0.2) 50%,
|
|
69
|
+
rgba(255, 255, 255, 0) 70%,
|
|
70
|
+
transparent 100%
|
|
71
|
+
);
|
|
72
|
+
transform: rotate(45deg);
|
|
73
|
+
transition: left 0.6s ease;
|
|
74
|
+
z-index: 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.shiny-btn:hover:not(:disabled)::after {
|
|
78
|
+
left: 100%;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.shiny-btn:hover:not(:disabled) {
|
|
82
|
+
box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.1);
|
|
83
|
+
transform: translateY(-2px);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.shiny-btn:active:not(:disabled) {
|
|
87
|
+
transform: scale(0.98);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.shiny-btn:disabled {
|
|
91
|
+
opacity: 0.5;
|
|
92
|
+
cursor: not-allowed;
|
|
93
|
+
filter: grayscale(1);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Variants */
|
|
97
|
+
.shiny-btn--primary {
|
|
98
|
+
background: linear-gradient(135deg, #1e293b, #0f172a);
|
|
99
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.shiny-btn--secondary {
|
|
103
|
+
background: var(--c-primary, #6366f1);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.shiny-btn--ghost {
|
|
107
|
+
background: transparent;
|
|
108
|
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
109
|
+
color: var(--c-text-2, #94a3b8);
|
|
110
|
+
}
|
|
111
|
+
.shiny-btn--ghost:hover:not(:disabled) {
|
|
112
|
+
color: #fff;
|
|
113
|
+
border-color: #fff;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Sizes */
|
|
117
|
+
.shiny-btn--sm .shiny-btn__content { padding: 0.45rem 1.2rem; font-size: 0.85rem; }
|
|
118
|
+
.shiny-btn--md .shiny-btn__content { padding: 0.75rem 1.8rem; font-size: 1rem; }
|
|
119
|
+
.shiny-btn--lg .shiny-btn__content { padding: 1.1rem 2.6rem; font-size: 1.15rem; }
|
|
120
|
+
</style>
|
|
121
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
---
|
|
2
|
+
interface Props {
|
|
3
|
+
href?: string;
|
|
4
|
+
type?: 'button' | 'submit' | 'reset';
|
|
5
|
+
primaryColor?: string;
|
|
6
|
+
secondaryColor?: string;
|
|
7
|
+
size?: 'sm' | 'md' | 'lg';
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const {
|
|
12
|
+
href,
|
|
13
|
+
type = 'button',
|
|
14
|
+
primaryColor = '#6366f1',
|
|
15
|
+
secondaryColor = '#c084fc',
|
|
16
|
+
size = 'md',
|
|
17
|
+
disabled = false
|
|
18
|
+
} = Astro.props;
|
|
19
|
+
|
|
20
|
+
const Tag = href ? 'a' : 'button';
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
<div class={`tilt-wrapper tilt-wrapper--${size}`}>
|
|
24
|
+
<Tag
|
|
25
|
+
href={href}
|
|
26
|
+
type={href ? undefined : type}
|
|
27
|
+
disabled={disabled}
|
|
28
|
+
class="tilt-card"
|
|
29
|
+
style={`--primary-color: ${primaryColor}; --secondary-color: ${secondaryColor};`}
|
|
30
|
+
>
|
|
31
|
+
<div class="tilt-card__glow"></div>
|
|
32
|
+
<div class="tilt-card__content">
|
|
33
|
+
<slot />
|
|
34
|
+
</div>
|
|
35
|
+
</Tag>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<style>
|
|
39
|
+
.tilt-wrapper {
|
|
40
|
+
perspective: 1000px;
|
|
41
|
+
display: inline-block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.tilt-card {
|
|
45
|
+
position: relative;
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
background: #0f172a;
|
|
50
|
+
color: #fff;
|
|
51
|
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
52
|
+
border-radius: var(--r-md, 12px);
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
text-decoration: none;
|
|
55
|
+
overflow: hidden;
|
|
56
|
+
transition: transform 0.15s ease-out, box-shadow 0.3s ease;
|
|
57
|
+
transform-style: preserve-3d;
|
|
58
|
+
user-select: none;
|
|
59
|
+
font-family: var(--font-sans, inherit);
|
|
60
|
+
font-weight: 600;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.tilt-card__glow {
|
|
64
|
+
position: absolute;
|
|
65
|
+
inset: 0;
|
|
66
|
+
background: radial-gradient(
|
|
67
|
+
circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
|
|
68
|
+
color-mix(in srgb, var(--primary-color), white 20%) 0%,
|
|
69
|
+
transparent 70%
|
|
70
|
+
);
|
|
71
|
+
opacity: 0;
|
|
72
|
+
transition: opacity 0.3s ease;
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
z-index: 1;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.tilt-card__content {
|
|
78
|
+
position: relative;
|
|
79
|
+
z-index: 2;
|
|
80
|
+
transform: translateZ(20px);
|
|
81
|
+
white-space: nowrap;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.tilt-card:hover {
|
|
85
|
+
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
|
|
86
|
+
border-color: rgba(255, 255, 255, 0.2);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.tilt-card:hover .tilt-card__glow {
|
|
90
|
+
opacity: 0.15;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.tilt-card:active {
|
|
94
|
+
transform: scale(0.98) translateZ(0);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.tilt-card:disabled {
|
|
98
|
+
opacity: 0.5;
|
|
99
|
+
cursor: not-allowed;
|
|
100
|
+
filter: grayscale(1);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/* Sizes */
|
|
104
|
+
.tilt-wrapper--sm .tilt-card { padding: 0.5rem 1.4rem; font-size: 0.8rem; }
|
|
105
|
+
.tilt-wrapper--md .tilt-card { padding: 0.8rem 2rem; font-size: 0.95rem; }
|
|
106
|
+
.tilt-wrapper--lg .tilt-card { padding: 1.1rem 3rem; font-size: 1.1rem; }
|
|
107
|
+
</style>
|
|
108
|
+
|
|
109
|
+
<script>
|
|
110
|
+
function initTilt() {
|
|
111
|
+
const cards = document.querySelectorAll('.tilt-card:not([data-tilt-init])');
|
|
112
|
+
|
|
113
|
+
cards.forEach(card => {
|
|
114
|
+
card.setAttribute('data-tilt-init', 'true');
|
|
115
|
+
const htmlCard = card as HTMLElement;
|
|
116
|
+
|
|
117
|
+
card.addEventListener('mousemove', (e: any) => {
|
|
118
|
+
const rect = htmlCard.getBoundingClientRect();
|
|
119
|
+
const x = e.clientX - rect.left;
|
|
120
|
+
const y = e.clientY - rect.top;
|
|
121
|
+
|
|
122
|
+
// Calculate percentages for the glow highlight
|
|
123
|
+
const xPerc = (x / rect.width) * 100;
|
|
124
|
+
const yPerc = (y / rect.height) * 100;
|
|
125
|
+
htmlCard.style.setProperty('--mouse-x', `${xPerc}%`);
|
|
126
|
+
htmlCard.style.setProperty('--mouse-y', `${yPerc}%`);
|
|
127
|
+
|
|
128
|
+
// Calculate rotation
|
|
129
|
+
const rotateY = (x / rect.width - 0.5) * 25;
|
|
130
|
+
const rotateX = (y / rect.height - 0.5) * -25;
|
|
131
|
+
htmlCard.style.transform = `rotateY(${rotateY}deg) rotateX(${rotateX}deg)`;
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
card.addEventListener('mouseleave', () => {
|
|
135
|
+
htmlCard.style.transform = 'rotateY(0deg) rotateX(0deg)';
|
|
136
|
+
htmlCard.style.setProperty('--mouse-x', '50%');
|
|
137
|
+
htmlCard.style.setProperty('--mouse-y', '50%');
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
initTilt();
|
|
143
|
+
document.addEventListener('astro:after-swap', initTilt);
|
|
144
|
+
</script>
|
|
145
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { default as AnimatedIconButton } from './AnimatedIconButton.astro';
|
|
2
|
+
export { default as BorderDrawButton } from './BorderDrawButton.astro';
|
|
3
|
+
export { default as CyberpunkButton } from './CyberpunkButton.astro';
|
|
4
|
+
export { default as DoubleBorderButton } from './DoubleBorderButton.astro';
|
|
5
|
+
export { default as GhostOutlineButton } from './GhostOutlineButton.astro';
|
|
6
|
+
export { default as GlassButton } from './GlassButton.astro';
|
|
7
|
+
export { default as GlowButton } from './GlowButton.astro';
|
|
8
|
+
export { default as LiquidButton } from './LiquidButton.astro';
|
|
9
|
+
export { default as LoadingButton } from './LoadingButton.astro';
|
|
10
|
+
export { default as MagneticButton } from './MagneticButton.astro';
|
|
11
|
+
export { default as MinimalPillButton } from './MinimalPillButton.astro';
|
|
12
|
+
export { default as NeumorphicButton } from './NeumorphicButton.astro';
|
|
13
|
+
export { default as PulseButton } from './PulseButton.astro';
|
|
14
|
+
export { default as RetroArcadeButton } from './RetroArcadeButton.astro';
|
|
15
|
+
export { default as RetroShadowButton } from './RetroShadowButton.astro';
|
|
16
|
+
export { default as ShimmerButton } from './ShimmerButton.astro';
|
|
17
|
+
export { default as ShinyButton } from './ShinyButton.astro';
|
|
18
|
+
export { default as TiltGlowButton } from './TiltGlowButton.astro';
|
|
19
|
+
export { default as ThreeDPushButton } from './3dPushButton.astro';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="blog-h-card">
|
|
4
|
+
<div class="thumb"></div>
|
|
5
|
+
<div class="content">
|
|
6
|
+
<span class="tag">Tutorial</span>
|
|
7
|
+
<h4>Building with Astro components</h4>
|
|
8
|
+
<p>Learn how to scale your project with modular registry files.</p>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.blog-h-card { display: flex; gap: 1.5rem; background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; }
|
|
13
|
+
.thumb { width: 150px; background: #1e293b; flex-shrink: 0; }
|
|
14
|
+
.content { padding: 1.2rem; }
|
|
15
|
+
h4 { color: #fff; margin: 0.5rem 0; }
|
|
16
|
+
p { font-size: 0.85rem; color: #94a3b8; }
|
|
17
|
+
.tag { font-size: 0.7rem; color: #818cf8; font-weight: 700; text-transform: uppercase; }
|
|
18
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="cyber-card">
|
|
4
|
+
<div class="glitch-line"></div>
|
|
5
|
+
<h3>System Core</h3>
|
|
6
|
+
<p>Advanced neural processing activated.</p>
|
|
7
|
+
</div>
|
|
8
|
+
<style>
|
|
9
|
+
.cyber-card { background: #000; color: #00e0ff; border: 1px solid #ff003c; padding: 1.5rem; clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%); position: relative; }
|
|
10
|
+
.glitch-line { position: absolute; height: 1px; width: 100%; background: #ff003c; top: 10%; left: 0; opacity: 0.5; animation: glitch 4s infinite; }
|
|
11
|
+
@keyframes glitch { 0%, 100% { top: 10%; } 50% { top: 90%; } }
|
|
12
|
+
</style>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="prod-card">
|
|
4
|
+
<div class="image"></div>
|
|
5
|
+
<div class="info">
|
|
6
|
+
<div class="meta"><span>New</span><span>5.0 ★</span></div>
|
|
7
|
+
<h4>Premium Headphones</h4>
|
|
8
|
+
<div class="bot">
|
|
9
|
+
<span class="price">$299</span>
|
|
10
|
+
<button>Add</button>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<style>
|
|
15
|
+
.prod-card { background: #0f172a; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); overflow: hidden; transition: 0.3s; }
|
|
16
|
+
.prod-card:hover { border-color: #6366f1; transform: translateY(-3px); }
|
|
17
|
+
.image { height: 180px; background: #1e293b; }
|
|
18
|
+
.info { padding: 1.25rem; }
|
|
19
|
+
.meta { display: flex; justify-content: space-between; font-size: 0.7rem; color: #818cf8; font-weight: 700; margin-bottom: 0.5rem; }
|
|
20
|
+
h4 { color: #fff; margin: 0; font-size: 1.1rem; }
|
|
21
|
+
.bot { display: flex; justify-content: space-between; align-items: center; margin-top: 1.25rem; }
|
|
22
|
+
.price { font-weight: 800; color: #fff; font-size: 1.25rem; }
|
|
23
|
+
button { background: #6366f1; border: none; color: #fff; padding: 0.5rem 1rem; border-radius: 8px; font-weight: 600; cursor: pointer; }
|
|
24
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
interface Props { title?: string; subtitle?: string; hoverable?: boolean; padding?: 'sm' | 'md' | 'lg'; }
|
|
3
|
+
const { title, subtitle, hoverable = true, padding = 'md' } = Astro.props;
|
|
4
|
+
---
|
|
5
|
+
<div class:list={['glass-card', `glass-card--p${padding}`, { 'glass-card--hoverable': hoverable }]}>
|
|
6
|
+
{title && (<div class="glass-card__header"><h3 class="glass-card__title">{title}</h3>{subtitle && <p class="glass-card__subtitle">{subtitle}</p>}</div>)}
|
|
7
|
+
<div class="glass-card__body"><slot /></div>
|
|
8
|
+
</div>
|
|
9
|
+
<style>
|
|
10
|
+
.glass-card { background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 20px; position: relative; overflow: hidden; transition: 0.3s; }
|
|
11
|
+
.glass-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); }
|
|
12
|
+
.glass-card--hoverable:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); border-color: rgba(99, 102, 241, 0.25); }
|
|
13
|
+
.glass-card__header { border-bottom: 1px solid rgba(255, 255, 255, 0.07); margin-bottom: 1rem; padding-bottom: 0.75rem; }
|
|
14
|
+
.glass-card__title { margin: 0 0 0.25rem; font-size: 1.05rem; font-weight: 600; color: #f1f5f9; }
|
|
15
|
+
.glass-card__subtitle { margin: 0; font-size: 0.82rem; color: #64748b; }
|
|
16
|
+
.glass-card--psm { padding: 1rem; } .glass-card--pmd { padding: 1.5rem; } .glass-card--plg { padding: 2rem; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="event-card">
|
|
4
|
+
<div class="date-badge"><span>24</span>OCT</div>
|
|
5
|
+
<div class="event-info">
|
|
6
|
+
<h3>Developer Meetup</h3>
|
|
7
|
+
<p>San Francisco, CA · 6:00 PM</p>
|
|
8
|
+
</div>
|
|
9
|
+
<button class="join-btn">+</button>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.event-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; background: rgba(255,255,255,0.04); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; }
|
|
13
|
+
.date-badge { background: #6366f1; color: #fff; width: 50px; height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; border-radius: 12px; }
|
|
14
|
+
.date-badge span { font-size: 1.2rem; line-height: 1; }
|
|
15
|
+
.event-info h3 { font-size: 1rem; color: #fff; margin: 0; }
|
|
16
|
+
.event-info p { font-size: 0.8rem; color: #94a3b8; margin: 2px 0 0; }
|
|
17
|
+
.join-btn { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: none; color: #fff; font-size: 1.2rem; cursor: pointer; transition: 0.2s; }
|
|
18
|
+
.join-btn:hover { background: #fff; color: #000; }
|
|
19
|
+
</style>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="glow-wrap">
|
|
4
|
+
<div class="glow-content">
|
|
5
|
+
<h3>Project Title</h3>
|
|
6
|
+
<p>Web design / 2024</p>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
<style>
|
|
10
|
+
.glow-wrap { position: relative; padding: 2px; border-radius: 20px; background: rgba(255,255,255,0.1); overflow: hidden; }
|
|
11
|
+
.glow-wrap::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, #6366f1, transparent); animation: rotate 4s linear infinite; }
|
|
12
|
+
.glow-content { position: relative; background: #080b14; padding: 2rem; border-radius: 18px; z-index: 1; text-align: center; }
|
|
13
|
+
h3 { margin: 0; color: #fff; }
|
|
14
|
+
p { color: #94a3b8; font-size: 0.9rem; }
|
|
15
|
+
@keyframes rotate { 100% { transform: rotate(360deg); } }
|
|
16
|
+
</style>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="tilt-card-wrap">
|
|
4
|
+
<div class="tilt-card-inner">
|
|
5
|
+
<h3>3D Hover</h3>
|
|
6
|
+
<p>Move your mouse over me to see the magic effect.</p>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
<style>
|
|
10
|
+
.tilt-card-wrap { perspective: 1000px; width: 100%; max-width: 300px; }
|
|
11
|
+
.tilt-card-inner { background: #1e293b; padding: 3rem; border-radius: 24px; color: #fff; text-align: center; border: 1px solid rgba(255,255,255,0.1); transform-style: preserve-3d; transition: transform 0.1s; }
|
|
12
|
+
h3 { transform: translateZ(50px); font-size: 1.5rem; color: #818cf8; }
|
|
13
|
+
p { transform: translateZ(30px); color: #94a3b8; font-size: 0.9rem; margin-top: 1rem; }
|
|
14
|
+
</style>
|
|
15
|
+
<script>
|
|
16
|
+
document.querySelectorAll('.tilt-card-inner').forEach(card => {
|
|
17
|
+
card.addEventListener('mousemove', e => {
|
|
18
|
+
const rect = card.getBoundingClientRect();
|
|
19
|
+
const x = ((e as MouseEvent).clientX - rect.left - rect.width/2) / 10;
|
|
20
|
+
const y = ((e as MouseEvent).clientY - rect.top - rect.height/2) / -10;
|
|
21
|
+
(card as HTMLElement).style.transform = `rotateY(${x}deg) rotateX(${y}deg)`;
|
|
22
|
+
});
|
|
23
|
+
card.addEventListener('mouseleave', () => (card as HTMLElement).style.transform = 'rotateY(0deg) rotateX(0deg)');
|
|
24
|
+
});
|
|
25
|
+
</script>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="k-item">
|
|
4
|
+
<p>Update site SEO metadata</p>
|
|
5
|
+
<div class="badges"><span class="b-prio">Prio</span><span class="b-opt">SEO</span></div>
|
|
6
|
+
</div>
|
|
7
|
+
<style>
|
|
8
|
+
.k-item { background: #111; border: 1px solid #333; padding: 1rem; border-radius: 8px; cursor: pointer; transition: 0.2s; }
|
|
9
|
+
.k-item:hover { border-color: #6366f1; transform: scale(1.02); }
|
|
10
|
+
p { margin: 0 0 0.75rem; font-size: 0.85rem; color: #fff; font-weight: 500; }
|
|
11
|
+
.badges { display: flex; gap: 4px; }
|
|
12
|
+
.badges span { font-size: 0.6rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
|
|
13
|
+
.b-prio { background: rgba(245,158,11,0.1); color: #fbbf24; }
|
|
14
|
+
.b-opt { background: rgba(52,211,153,0.1); color: #34d399; }
|
|
15
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<a href="#" class="link-card">
|
|
4
|
+
<span>Documentation</span>
|
|
5
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
|
|
6
|
+
</a>
|
|
7
|
+
<style>
|
|
8
|
+
.link-card { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; text-decoration: none; color: #fff; font-weight: 600; transition: 0.2s; }
|
|
9
|
+
.link-card:hover { background: rgba(255,255,255,0.06); border-color: #6366f1; color: #818cf8; }
|
|
10
|
+
svg { transition: transform 0.2s; }
|
|
11
|
+
.link-card:hover svg { transform: translateX(5px); }
|
|
12
|
+
</style>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="music-mini">
|
|
4
|
+
<div class="art"></div>
|
|
5
|
+
<div class="track">
|
|
6
|
+
<h4>Moonlight Sonatina</h4>
|
|
7
|
+
<p>Astro Orchestra</p>
|
|
8
|
+
<div class="progress"><div class="bar"></div></div>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="play">▶</div>
|
|
11
|
+
</div>
|
|
12
|
+
<style>
|
|
13
|
+
.music-mini { display: flex; align-items: center; gap: 1rem; background: #111; padding: 0.75rem; border-radius: 14px; border: 1px solid #333; width: 100%; max-width: 320px; }
|
|
14
|
+
.art { width: 50px; height: 50px; background: #818cf8; border-radius: 8px; flex-shrink: 0; }
|
|
15
|
+
.track { flex: 1; }
|
|
16
|
+
h4 { font-size: 0.85rem; color: #fff; margin: 0; }
|
|
17
|
+
p { font-size: 0.7rem; color: #64748b; margin: 0; }
|
|
18
|
+
.progress { height: 3px; background: #222; border-radius: 2px; margin-top: 8px; position: relative; }
|
|
19
|
+
.bar { position: absolute; left: 0; top: 0; height: 100%; width: 40%; background: #6366f1; border-radius: 2px; }
|
|
20
|
+
.play { font-size: 1.2rem; cursor: pointer; color: #fff; }
|
|
21
|
+
</style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="notify-card">
|
|
4
|
+
<div class="dot"></div>
|
|
5
|
+
<div class="msg">
|
|
6
|
+
<strong>Updates Available</strong>
|
|
7
|
+
<p>Version 2.0 is now ready for install.</p>
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<style>
|
|
11
|
+
.notify-card { display: flex; gap: 1rem; padding: 1rem; background: #0f172a; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 40px rgba(0,0,0,0.4); max-width: 300px; }
|
|
12
|
+
.dot { width: 8px; height: 8px; background: #6366f1; border-radius: 50%; margin-top: 5px; }
|
|
13
|
+
.msg p { margin: 2px 0 0; font-size: 0.82rem; color: #94a3b8; }
|
|
14
|
+
strong { font-size: 0.9rem; color: #fff; }
|
|
15
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
interface Props { plan: string; price: string; featured?: boolean; }
|
|
3
|
+
const { plan, price, featured = false } = Astro.props;
|
|
4
|
+
---
|
|
5
|
+
<div class:list={["price-card", { "featured": featured }]}>
|
|
6
|
+
<span class="plan">{plan}</span>
|
|
7
|
+
<div class="price"><span>$</span>{price}</div>
|
|
8
|
+
<ul class="features"><li>Unlimited Projects</li><li>24/7 Support</li><li>Custom Domain</li></ul>
|
|
9
|
+
<button>Choose Plan</button>
|
|
10
|
+
</div>
|
|
11
|
+
<style>
|
|
12
|
+
.price-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
|
|
13
|
+
.featured { border-color: #6366f1; background: rgba(99,102,241,0.05); transform: scale(1.05); }
|
|
14
|
+
.price { font-size: 2.5rem; font-weight: 800; color: #fff; }
|
|
15
|
+
.features { list-style: none; padding: 0; font-size: 0.9rem; color: #94a3b8; }
|
|
16
|
+
button { background: #6366f1; color: #fff; border: none; padding: 0.8rem; border-radius: 12px; font-weight: 700; cursor: pointer; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="profile-card">
|
|
4
|
+
<div class="banner"></div>
|
|
5
|
+
<div class="avatar"></div>
|
|
6
|
+
<h3>Sarah Jenkins</h3>
|
|
7
|
+
<p>Lead Developer</p>
|
|
8
|
+
<div class="socials"><span>🐦</span><span>💼</span><span>🌐</span></div>
|
|
9
|
+
</div>
|
|
10
|
+
<style>
|
|
11
|
+
.profile-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 20px; text-align: center; overflow: hidden; padding-bottom: 1.5rem; }
|
|
12
|
+
.banner { height: 80px; background: linear-gradient(135deg, #6366f1, #c084fc); }
|
|
13
|
+
.avatar { width: 80px; height: 80px; background: #334155; border: 4px solid #080b14; border-radius: 50%; margin: -40px auto 1rem; }
|
|
14
|
+
h3 { color: #fff; margin: 0; }
|
|
15
|
+
p { font-size: 0.85rem; color: #94a3b8; }
|
|
16
|
+
.socials { display: flex; justify-content: center; gap: 1rem; margin-top: 1rem; cursor: pointer; }
|
|
17
|
+
</style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
<div class="retro-game">
|
|
4
|
+
<div class="scanlines"></div>
|
|
5
|
+
<div class="screen">LVL 01</div>
|
|
6
|
+
<h3>SUPER ASTRO</h3>
|
|
7
|
+
<div class="score">SCORE: 004820</div>
|
|
8
|
+
</div>
|
|
9
|
+
<style>
|
|
10
|
+
.retro-game { background: #22c55e; border: 4px solid #000; padding: 1rem; position: relative; box-shadow: 8px 8px 0 #000; font-family: 'Courier New', monospace; }
|
|
11
|
+
.screen { background: #000; color: #22c55e; padding: 1rem; text-align: center; font-weight: 900; margin-bottom: 0.5rem; }
|
|
12
|
+
.scanlines { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0,0,0,0.1) 50%, transparent 50%); background-size: 100% 4px; }
|
|
13
|
+
h3 { margin: 0; font-size: 1rem; color: #000; }
|
|
14
|
+
.score { font-size: 0.75rem; color: #000; margin-top: 0.5rem; }
|
|
15
|
+
</style>
|