@b3-crow/ui-kit 0.0.23 → 0.0.25

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.
Files changed (82) hide show
  1. package/README.md +83 -35
  2. package/dist/components/AnimatedBackground.d.ts +9 -0
  3. package/dist/components/AnimatedBackground.d.ts.map +1 -0
  4. package/dist/components/AnimatedBackground.js +43 -0
  5. package/dist/components/AnimatedBackground.js.map +1 -0
  6. package/dist/components/Button.d.ts +15 -0
  7. package/dist/components/Button.d.ts.map +1 -0
  8. package/dist/components/Button.js +26 -0
  9. package/dist/components/Button.js.map +1 -0
  10. package/dist/components/Card.d.ts +22 -0
  11. package/dist/components/Card.d.ts.map +1 -0
  12. package/dist/components/Card.js +50 -0
  13. package/dist/components/Card.js.map +1 -0
  14. package/dist/components/Globe.d.ts +14 -0
  15. package/dist/components/Globe.d.ts.map +1 -0
  16. package/dist/components/Globe.js +67 -0
  17. package/dist/components/Globe.js.map +1 -0
  18. package/dist/components/GradientBackground.d.ts +16 -0
  19. package/dist/components/GradientBackground.d.ts.map +1 -0
  20. package/dist/components/GradientBackground.js +18 -0
  21. package/dist/components/GradientBackground.js.map +1 -0
  22. package/dist/components/HeroText.d.ts +6 -0
  23. package/dist/components/HeroText.d.ts.map +1 -0
  24. package/dist/components/HeroText.js +22 -0
  25. package/dist/components/HeroText.js.map +1 -0
  26. package/dist/components/InputField.d.ts +25 -0
  27. package/dist/components/InputField.d.ts.map +1 -0
  28. package/dist/components/InputField.js +73 -0
  29. package/dist/components/InputField.js.map +1 -0
  30. package/dist/components/Logo.d.ts +6 -0
  31. package/dist/components/Logo.d.ts.map +1 -0
  32. package/dist/components/Logo.js +7 -0
  33. package/dist/components/Logo.js.map +1 -0
  34. package/dist/components/SectionLabel.d.ts +7 -0
  35. package/dist/components/SectionLabel.d.ts.map +1 -0
  36. package/dist/components/SectionLabel.js +11 -0
  37. package/dist/components/SectionLabel.js.map +1 -0
  38. package/dist/components/Subtitle.d.ts +6 -0
  39. package/dist/components/Subtitle.d.ts.map +1 -0
  40. package/dist/components/Subtitle.js +18 -0
  41. package/dist/components/Subtitle.js.map +1 -0
  42. package/dist/components/TypewriterText.d.ts +5 -0
  43. package/dist/components/TypewriterText.d.ts.map +1 -0
  44. package/dist/components/TypewriterText.js +57 -0
  45. package/dist/components/TypewriterText.js.map +1 -0
  46. package/dist/components/index.d.ts +12 -0
  47. package/dist/components/index.d.ts.map +1 -0
  48. package/dist/components/index.js +12 -0
  49. package/dist/components/index.js.map +1 -0
  50. package/dist/index.d.ts +3 -0
  51. package/dist/index.d.ts.map +1 -0
  52. package/dist/index.js +5 -0
  53. package/dist/index.js.map +1 -0
  54. package/dist/lib/utils.d.ts +3 -0
  55. package/dist/lib/utils.d.ts.map +1 -0
  56. package/dist/lib/utils.js +6 -0
  57. package/dist/lib/utils.js.map +1 -0
  58. package/dist/styles.css +2 -0
  59. package/docs/components.md +265 -0
  60. package/docs/development.md +291 -0
  61. package/docs/examples.md +333 -0
  62. package/docs/setup.md +73 -0
  63. package/package.json +9 -4
  64. package/.github/dependabot.yml +0 -6
  65. package/.github/workflows/publish.yml +0 -75
  66. package/.github/workflows/template-sync.yml +0 -31
  67. package/.husky/commit-msg +0 -1
  68. package/.husky/pre-commit +0 -1
  69. package/.prettierrc +0 -13
  70. package/bun.lock +0 -1042
  71. package/commitlint.config.cjs +0 -4
  72. package/eslint.config.mts +0 -7
  73. package/lint-staged +0 -0
  74. package/postcss.config.mjs +0 -5
  75. package/src/components/coming-soon/AnimatedBackground.tsx +0 -71
  76. package/src/components/coming-soon/HeroText.tsx +0 -40
  77. package/src/components/coming-soon/Logo.tsx +0 -27
  78. package/src/components/coming-soon/Subtitle.tsx +0 -37
  79. package/src/components/coming-soon/TypewriterText.tsx +0 -89
  80. package/src/components/coming-soon/index.ts +0 -5
  81. package/src/index.ts +0 -2
  82. package/tsconfig.json +0 -23
@@ -0,0 +1,73 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { LuArrowUpRight } from 'react-icons/lu';
4
+ import { useState } from 'react';
5
+ import { cva } from 'class-variance-authority';
6
+ import { cn } from '../lib/utils';
7
+ const inputVariants = cva('w-full rounded-full text-white placeholder:text-white/50 focus:outline-none transition-colors disabled:opacity-50 disabled:cursor-not-allowed', {
8
+ variants: {
9
+ variant: {
10
+ transparent: 'bg-transparent border border-white/20 focus:border-white/40',
11
+ filled: 'bg-white/5 border border-white/10 focus:border-white/30',
12
+ },
13
+ size: {
14
+ sm: 'px-4 py-2 text-xs',
15
+ md: 'px-6 py-4 text-sm',
16
+ lg: 'px-8 py-5 text-base',
17
+ },
18
+ buttonPosition: {
19
+ left: 'pl-14',
20
+ right: 'pr-14',
21
+ none: '',
22
+ },
23
+ },
24
+ defaultVariants: {
25
+ variant: 'transparent',
26
+ size: 'md',
27
+ buttonPosition: 'none',
28
+ },
29
+ });
30
+ const buttonVariants = cva('absolute top-1/2 -translate-y-1/2 bg-purple-600 hover:bg-purple-700 rounded-full transition-colors disabled:opacity-50 disabled:cursor-not-allowed', {
31
+ variants: {
32
+ size: {
33
+ sm: 'p-1.5',
34
+ md: 'p-2.5',
35
+ lg: 'p-3',
36
+ },
37
+ position: {
38
+ left: 'left-2',
39
+ right: 'right-2',
40
+ },
41
+ },
42
+ defaultVariants: {
43
+ size: 'md',
44
+ position: 'right',
45
+ },
46
+ });
47
+ export function InputField({ placeholder = 'Ask CROW Anything...', onSubmit, onChange, value: controlledValue, defaultValue = '', showButton = true, buttonIcon = _jsx(LuArrowUpRight, { className: "w-4 h-4 text-white" }), buttonPosition = 'right', variant = 'transparent', size = 'md', className = '', inputClassName = '', buttonClassName = '', containerClassName = '', disabled = false, type = 'text', }) {
48
+ const [internalValue, setInternalValue] = useState(defaultValue);
49
+ const value = controlledValue !== undefined ? controlledValue : internalValue;
50
+ const handleChange = (e) => {
51
+ const newValue = e.target.value;
52
+ if (controlledValue === undefined) {
53
+ setInternalValue(newValue);
54
+ }
55
+ onChange?.(newValue);
56
+ };
57
+ const handleSubmit = () => {
58
+ if (onSubmit && value.trim()) {
59
+ onSubmit(value);
60
+ }
61
+ };
62
+ const handleKeyDown = (e) => {
63
+ if (e.key === 'Enter' && !disabled) {
64
+ handleSubmit();
65
+ }
66
+ };
67
+ return (_jsxs("div", { className: cn('relative w-full max-w-md', containerClassName, className), children: [_jsx("input", { type: type, placeholder: placeholder, value: value, onChange: handleChange, onKeyDown: handleKeyDown, disabled: disabled, className: cn(inputVariants({
68
+ variant,
69
+ size,
70
+ buttonPosition: showButton ? buttonPosition : 'none',
71
+ }), inputClassName) }), showButton && (_jsx("button", { onClick: handleSubmit, disabled: disabled, className: cn(buttonVariants({ size, position: buttonPosition }), buttonClassName), children: buttonIcon }))] }));
72
+ }
73
+ //# sourceMappingURL=InputField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputField.js","sourceRoot":"","sources":["../../src/components/InputField.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,6 @@
1
+ export interface LogoProps {
2
+ src: string;
3
+ alt: string;
4
+ }
5
+ export declare function Logo({ src, alt }: LogoProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=Logo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,EAAE,SAAS,2CAiB3C"}
@@ -0,0 +1,7 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { motion } from 'framer-motion';
4
+ export function Logo({ src, alt }) {
5
+ return (_jsx(motion.div, { initial: { opacity: 0, y: -20 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.8, ease: 'easeOut' }, className: "absolute left-8 top-8 z-50", children: _jsx("img", { src: src, alt: alt, width: 80, height: 80, className: "h-16 w-16 object-contain sm:h-20 sm:w-20" }) }));
6
+ }
7
+ //# sourceMappingURL=Logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAOvC,MAAM,UAAU,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG,EAAa;IAC1C,OAAO,CACL,KAAC,MAAM,CAAC,GAAG,IACT,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAC/B,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAC7B,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,EAC9C,SAAS,EAAC,4BAA4B,YAEtC,cACE,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,EAAE,EACT,MAAM,EAAE,EAAE,EACV,SAAS,EAAC,0CAA0C,GACpD,GACS,CACd,CAAC;AACJ,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface SectionLabelProps {
2
+ label: string;
3
+ className?: string;
4
+ animate?: boolean;
5
+ }
6
+ export declare function SectionLabel({ label, className, animate, }: SectionLabelProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=SectionLabel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionLabel.d.ts","sourceRoot":"","sources":["../../src/components/SectionLabel.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,YAAY,CAAC,EAC3B,KAAK,EACL,SAAc,EACd,OAAc,GACf,EAAE,iBAAiB,2CAuBnB"}
@@ -0,0 +1,11 @@
1
+ 'use client';
2
+ import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
3
+ import { motion } from 'framer-motion';
4
+ export function SectionLabel({ label, className = '', animate = true, }) {
5
+ const content = (_jsxs("div", { className: `text-white/40 text-sm font-mono tracking-wider ${className}`, children: ["[ ", label, " ]"] }));
6
+ if (!animate) {
7
+ return content;
8
+ }
9
+ return (_jsx(motion.div, { initial: { opacity: 0, y: -20 }, whileInView: { opacity: 1, y: 0 }, viewport: { once: true }, transition: { duration: 0.6 }, children: content }));
10
+ }
11
+ //# sourceMappingURL=SectionLabel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionLabel.js","sourceRoot":"","sources":["../../src/components/SectionLabel.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAQvC,MAAM,UAAU,YAAY,CAAC,EAC3B,KAAK,EACL,SAAS,GAAG,EAAE,EACd,OAAO,GAAG,IAAI,GACI;IAClB,MAAM,OAAO,GAAG,CACd,eACE,SAAS,EAAE,kDAAkD,SAAS,EAAE,mBAErE,KAAK,UACJ,CACP,CAAC;IAEF,IAAI,CAAC,OAAO,EAAE,CAAC;QACb,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,OAAO,CACL,KAAC,MAAM,CAAC,GAAG,IACT,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAC/B,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EACjC,QAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,EACxB,UAAU,EAAE,EAAE,QAAQ,EAAE,GAAG,EAAE,YAE5B,OAAO,GACG,CACd,CAAC;AACJ,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface SubtitleProps {
3
+ children: ReactNode;
4
+ }
5
+ export declare function Subtitle({ children }: SubtitleProps): import("react/jsx-runtime").JSX.Element;
6
+ //# sourceMappingURL=Subtitle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Subtitle.d.ts","sourceRoot":"","sources":["../../src/components/Subtitle.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE,aAAa,2CAuBnD"}
@@ -0,0 +1,18 @@
1
+ 'use client';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ import { motion } from 'framer-motion';
4
+ export function Subtitle({ children }) {
5
+ return (_jsx(motion.p, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { duration: 1, delay: 0.6, ease: 'easeOut' }, style: {
6
+ fontSize: 'clamp(0.75rem, 1vw, 0.95rem)',
7
+ lineHeight: 1.4,
8
+ color: 'rgba(255, 255, 255, 0.52)',
9
+ textAlign: 'center',
10
+ maxWidth: '50rem',
11
+ margin: '0 auto',
12
+ padding: '0 2rem',
13
+ fontWeight: 400,
14
+ letterSpacing: '0.01em',
15
+ fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif',
16
+ }, children: children }));
17
+ }
18
+ //# sourceMappingURL=Subtitle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Subtitle.js","sourceRoot":"","sources":["../../src/components/Subtitle.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAOvC,MAAM,UAAU,QAAQ,CAAC,EAAE,QAAQ,EAAiB;IAClD,OAAO,CACL,KAAC,MAAM,CAAC,CAAC,IACP,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EACvB,OAAO,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,EACvB,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,SAAS,EAAE,EACxD,KAAK,EAAE;YACL,QAAQ,EAAE,8BAA8B;YACxC,UAAU,EAAE,GAAG;YACf,KAAK,EAAE,2BAA2B;YAClC,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,OAAO;YACjB,MAAM,EAAE,QAAQ;YAChB,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,GAAG;YACf,aAAa,EAAE,QAAQ;YACvB,UAAU,EACR,2FAA2F;SAC9F,YAEA,QAAQ,GACA,CACZ,CAAC;AACJ,CAAC"}
@@ -0,0 +1,5 @@
1
+ export interface TypewriterTextProps {
2
+ text: string;
3
+ }
4
+ export declare function TypewriterText({ text }: TypewriterTextProps): import("react/jsx-runtime").JSX.Element;
5
+ //# sourceMappingURL=TypewriterText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypewriterText.d.ts","sourceRoot":"","sources":["../../src/components/TypewriterText.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,EAAE,mBAAmB,2CA+E3D"}
@@ -0,0 +1,57 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { motion } from 'framer-motion';
4
+ import { useEffect, useRef, useState } from 'react';
5
+ export function TypewriterText({ text }) {
6
+ const [displayedText, setDisplayedText] = useState('');
7
+ const [currentIndex, setCurrentIndex] = useState(0);
8
+ const [showCursor, setShowCursor] = useState(true);
9
+ const timeoutRef = useRef(null);
10
+ // Reset typewriter when text prop changes
11
+ useEffect(() => {
12
+ if (timeoutRef.current) {
13
+ clearTimeout(timeoutRef.current);
14
+ timeoutRef.current = null;
15
+ }
16
+ setDisplayedText('');
17
+ setCurrentIndex(0);
18
+ }, [text]);
19
+ useEffect(() => {
20
+ if (currentIndex < text.length) {
21
+ const delay = currentIndex === 0 ? 2500 : 150;
22
+ timeoutRef.current = setTimeout(() => {
23
+ setDisplayedText(prev => prev + text[currentIndex]);
24
+ setCurrentIndex(prev => prev + 1);
25
+ }, delay);
26
+ return () => {
27
+ if (timeoutRef.current) {
28
+ clearTimeout(timeoutRef.current);
29
+ timeoutRef.current = null;
30
+ }
31
+ };
32
+ }
33
+ }, [currentIndex, text]);
34
+ useEffect(() => {
35
+ const cursorInterval = setInterval(() => {
36
+ setShowCursor(prev => !prev);
37
+ }, 530);
38
+ return () => clearInterval(cursorInterval);
39
+ }, []);
40
+ return (_jsxs(motion.div, { role: "status", "aria-live": "polite", "aria-atomic": "true", "aria-label": "Status message", initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { duration: 1, delay: 1.5 }, style: {
41
+ fontSize: 'clamp(1rem, 2vw, 1.5rem)',
42
+ fontWeight: 600,
43
+ letterSpacing: '0.3em',
44
+ color: '#8b7fb8',
45
+ textAlign: 'center',
46
+ fontFamily: '"Courier New", Courier, monospace',
47
+ marginTop: '3rem',
48
+ textTransform: 'uppercase',
49
+ }, children: [_jsx("span", { style: {
50
+ textShadow: '0 0 10px rgba(139, 127, 184, 0.5), 0 0 20px rgba(139, 127, 184, 0.3)',
51
+ }, children: displayedText }), _jsx("span", { "aria-hidden": "true", style: {
52
+ opacity: showCursor ? 1 : 0,
53
+ color: '#8b7fb8',
54
+ marginLeft: '2px',
55
+ }, children: "_" })] }));
56
+ }
57
+ //# sourceMappingURL=TypewriterText.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypewriterText.js","sourceRoot":"","sources":["../../src/components/TypewriterText.tsx"],"names":[],"mappings":"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"}
@@ -0,0 +1,12 @@
1
+ export * from './AnimatedBackground';
2
+ export * from './HeroText';
3
+ export * from './Logo';
4
+ export * from './Subtitle';
5
+ export * from './TypewriterText';
6
+ export * from './Button';
7
+ export * from './Card';
8
+ export * from './Globe';
9
+ export * from './GradientBackground';
10
+ export * from './SectionLabel';
11
+ export * from './InputField';
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,12 @@
1
+ export * from './AnimatedBackground';
2
+ export * from './HeroText';
3
+ export * from './Logo';
4
+ export * from './Subtitle';
5
+ export * from './TypewriterText';
6
+ export * from './Button';
7
+ export * from './Card';
8
+ export * from './Globe';
9
+ export * from './GradientBackground';
10
+ export * from './SectionLabel';
11
+ export * from './InputField';
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './components';
2
+ export { cn } from './lib/utils';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,cAAc,CAAC;AAG7B,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC"}
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ // UI Components
2
+ export * from './components';
3
+ // Utilities
4
+ export { cn } from './lib/utils';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,cAAc,cAAc,CAAC;AAE7B,YAAY;AACZ,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MAAM,CAAC;AAG7C,wBAAgB,EAAE,CAAC,GAAG,MAAM,EAAE,UAAU,EAAE,UAEzC"}
@@ -0,0 +1,6 @@
1
+ import { clsx } from 'clsx';
2
+ import { twMerge } from 'tailwind-merge';
3
+ export function cn(...inputs) {
4
+ return twMerge(clsx(inputs));
5
+ }
6
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,IAAI,EAAE,MAAM,MAAM,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,MAAM,UAAU,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/B,CAAC"}
@@ -0,0 +1,2 @@
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-md:28rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height:calc(1.5/1);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--leading-relaxed:1.625;--blur-sm:8px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.absolute{position:absolute}.relative{position:relative}.top-1\/2{top:50%}.top-8{top:calc(var(--spacing)*8)}.top-full{top:100%}.right-2{right:calc(var(--spacing)*2)}.left-1\/2{left:50%}.left-2{left:calc(var(--spacing)*2)}.left-8{left:calc(var(--spacing)*8)}.z-50{z-index:50}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.mx-auto{margin-inline:auto}.my-8{margin-block:calc(var(--spacing)*8)}.mt-2{margin-top:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.mb-16{margin-bottom:calc(var(--spacing)*16)}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-4{height:calc(var(--spacing)*4)}.h-14{height:calc(var(--spacing)*14)}.h-16{height:calc(var(--spacing)*16)}.h-28{height:calc(var(--spacing)*28)}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-4{width:calc(var(--spacing)*4)}.w-14{width:calc(var(--spacing)*14)}.w-16{width:calc(var(--spacing)*16)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-6xl{max-width:var(--container-6xl)}.max-w-md{max-width:var(--container-md)}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1/2*100%)*-1);translate:var(--tw-translate-x)var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-8{gap:calc(var(--spacing)*8)}.rounded-full{border-radius:3.40282e38px}.border{border-style:var(--tw-border-style);border-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab, red, red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-white\/30{border-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.border-white\/30{border-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.border-white\/40{border-color:#fff6}@supports (color:color-mix(in lab, red, red)){.border-white\/40{border-color:color-mix(in oklab,var(--color-white)40%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/40{background-color:#0006}@supports (color:color-mix(in lab, red, red)){.bg-black\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab, red, red)){.bg-black\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-purple-600{background-color:var(--color-purple-600)}.bg-transparent{background-color:#0000}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.object-contain{object-fit:contain}.p-1\.5{padding:calc(var(--spacing)*1.5)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-8{padding:calc(var(--spacing)*8)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.px-8{padding-inline:calc(var(--spacing)*8)}.py-2{padding-block:calc(var(--spacing)*2)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-24{padding-block:calc(var(--spacing)*24)}.pr-14{padding-right:calc(var(--spacing)*14)}.pl-14{padding-left:calc(var(--spacing)*14)}.text-center{text-align:center}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.whitespace-nowrap{white-space:nowrap}.text-white{color:var(--color-white)}.text-white\/40{color:#fff6}@supports (color:color-mix(in lab, red, red)){.text-white\/40{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab, red, red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab, red, red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-white\/90{color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.text-white\/90{color:color-mix(in oklab,var(--color-white)90%,transparent)}}.uppercase{text-transform:uppercase}.italic{font-style:italic}.opacity-80{opacity:.8}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}@media (hover:hover){.group-hover\:border-white\/60:is(:where(.group):hover *){border-color:#fff9}@supports (color:color-mix(in lab, red, red)){.group-hover\:border-white\/60:is(:where(.group):hover *){border-color:color-mix(in oklab,var(--color-white)60%,transparent)}}.group-hover\:bg-white\/5:is(:where(.group):hover *){background-color:#ffffff0d}@supports (color:color-mix(in lab, red, red)){.group-hover\:bg-white\/5:is(:where(.group):hover *){background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}}.placeholder\:text-white\/50::placeholder{color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.placeholder\:text-white\/50::placeholder{color:color-mix(in oklab,var(--color-white)50%,transparent)}}@media (hover:hover){.hover\:border-white\/50:hover{border-color:#ffffff80}@supports (color:color-mix(in lab, red, red)){.hover\:border-white\/50:hover{border-color:color-mix(in oklab,var(--color-white)50%,transparent)}}.hover\:bg-purple-700:hover{background-color:var(--color-purple-700)}.hover\:text-white:hover{color:var(--color-white)}}.focus\:border-white\/30:focus{border-color:#ffffff4d}@supports (color:color-mix(in lab, red, red)){.focus\:border-white\/30:focus{border-color:color-mix(in oklab,var(--color-white)30%,transparent)}}.focus\:border-white\/40:focus{border-color:#fff6}@supports (color:color-mix(in lab, red, red)){.focus\:border-white\/40:focus{border-color:color-mix(in oklab,var(--color-white)40%,transparent)}}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}@media (min-width:40rem){.sm\:h-20{height:calc(var(--spacing)*20)}.sm\:w-20{width:calc(var(--spacing)*20)}}@media (min-width:48rem){.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
@@ -0,0 +1,265 @@
1
+ # Component Reference
2
+
3
+ ## Hero Components
4
+
5
+ ### AnimatedBackground
6
+
7
+ Animated gradient background with blurred circles.
8
+
9
+ **Props:**
10
+
11
+ - None
12
+
13
+ **Requirements:**
14
+
15
+ - Parent container must have `position: relative`
16
+ - Parent should have defined height (e.g., `minHeight: '100vh'`)
17
+
18
+ **Usage:**
19
+
20
+ ```tsx
21
+ <section style={{ position: 'relative', minHeight: '100vh' }}>
22
+ <AnimatedBackground />
23
+ </section>
24
+ ```
25
+
26
+ ---
27
+
28
+ ### HeroText
29
+
30
+ Large gradient text with fade-in animation.
31
+
32
+ **Props:**
33
+
34
+ - `text` (required): The text to display
35
+ - `gradient` (optional): Custom gradient CSS
36
+
37
+ **Usage:**
38
+
39
+ ```tsx
40
+ <HeroText text="Your Brand" />
41
+ ```
42
+
43
+ ---
44
+
45
+ ### Logo
46
+
47
+ Animated logo component with breathing effect.
48
+
49
+ **Props:**
50
+
51
+ - `src` (required): Logo image source
52
+ - `alt` (required): Alt text for accessibility
53
+
54
+ **Usage:**
55
+
56
+ ```tsx
57
+ <Logo src="/your-logo.png" alt="Your Logo" />
58
+ ```
59
+
60
+ ---
61
+
62
+ ### TypewriterText
63
+
64
+ Typewriter effect text with blinking cursor.
65
+
66
+ **Props:**
67
+
68
+ - `text` (required): The text to animate
69
+
70
+ **Usage:**
71
+
72
+ ```tsx
73
+ <TypewriterText text="COMING SOON" />
74
+ ```
75
+
76
+ ---
77
+
78
+ ### Subtitle
79
+
80
+ Subtitle text with fade-in animation.
81
+
82
+ **Props:**
83
+
84
+ - `children` (required): JSX content for the subtitle
85
+
86
+ **Usage:**
87
+
88
+ ```tsx
89
+ <Subtitle>
90
+ Your subtitle text here
91
+ <br />
92
+ Can be multi-line with custom formatting
93
+ </Subtitle>
94
+ ```
95
+
96
+ ---
97
+
98
+ ## UI Components
99
+
100
+ ### Button
101
+
102
+ Customizable button with arrow icon.
103
+
104
+ **Props:**
105
+
106
+ - `variant`: `"outline"` | `"solid"` (default: `"outline"`)
107
+ - `href`: Optional link URL
108
+ - `onClick`: Optional click handler
109
+ - `showArrow`: Show/hide arrow icon (default: `true`)
110
+ - `children`: Button content
111
+
112
+ **Usage:**
113
+
114
+ ```tsx
115
+ <Button variant="outline">Try Now</Button>
116
+ <Button variant="solid" href="/docs">Get Started</Button>
117
+ ```
118
+
119
+ ---
120
+
121
+ ### Card
122
+
123
+ Flexible card component for features and documentation.
124
+
125
+ **Props:**
126
+
127
+ - `title` (required): Card title
128
+ - `description` (required): Card description
129
+ - `icon`: Optional icon component
130
+ - `button`: Optional button component
131
+ - `layout`: `"feature"` | `"documentation"` (default: `"feature"`)
132
+ - `contentAlign`: `"left"` | `"center"` (default: `"left"`)
133
+ - `index`: Animation delay index
134
+
135
+ **Usage:**
136
+
137
+ ```tsx
138
+ <Card
139
+ title="Feature Title"
140
+ description="Feature description"
141
+ icon={<YourIcon />}
142
+ layout="feature"
143
+ button={<Button>Learn More</Button>}
144
+ />
145
+ ```
146
+
147
+ ---
148
+
149
+ ### Globe
150
+
151
+ Interactive 3D globe with custom data points powered by the `cobe` library.
152
+
153
+ **Props:**
154
+
155
+ - `size`: Globe diameter in pixels (default: `500`)
156
+ - `points`: Array of custom data points with label, icon, and position
157
+
158
+ **Usage:**
159
+
160
+ ```tsx
161
+ <Globe size={600} />
162
+
163
+ <Globe
164
+ size={500}
165
+ points={[
166
+ {
167
+ label: 'Data Source',
168
+ icon: <BsGlobe2 />,
169
+ position: { x: 50, y: 30 }
170
+ }
171
+ ]}
172
+ />
173
+ ```
174
+
175
+ ---
176
+
177
+ ### GradientBackground
178
+
179
+ Radial gradient background effect.
180
+
181
+ **Props:**
182
+
183
+ - `position`: `"top"` | `"bottom"` (default: `"top"`)
184
+ - `colors`: Custom color object with `start`, `middle1`, `middle2`, `middle3`
185
+ - `blur`: Blur amount (default: `"150px"`)
186
+ - `height`: Height of gradient (default: `"100vh"`)
187
+
188
+ **Usage:**
189
+
190
+ ```tsx
191
+ <GradientBackground position="top" />
192
+
193
+ <GradientBackground
194
+ position="bottom"
195
+ height="50vh"
196
+ colors={{
197
+ start: 'rgba(100, 50, 150, 0.9)',
198
+ middle1: 'rgba(80, 40, 120, 0.7)',
199
+ middle2: 'rgba(60, 30, 100, 0.6)',
200
+ middle3: 'rgba(40, 20, 80, 0.4)',
201
+ }}
202
+ />
203
+ ```
204
+
205
+ ---
206
+
207
+ ### SectionLabel
208
+
209
+ Animated section label with bracket styling.
210
+
211
+ **Props:**
212
+
213
+ - `label` (required): Label text
214
+ - `className`: Additional CSS classes
215
+ - `animate`: Enable/disable animation (default: `true`)
216
+
217
+ **Usage:**
218
+
219
+ ```tsx
220
+ <SectionLabel label="FEATURES" className="mb-16" />
221
+ <SectionLabel label="ABOUT" animate={false} />
222
+ ```
223
+
224
+ ---
225
+
226
+ ### InputField
227
+
228
+ Customizable input field with optional submit button.
229
+
230
+ **Props:**
231
+
232
+ - `placeholder`: Input placeholder text
233
+ - `value`: Controlled input value
234
+ - `onChange`: Value change handler
235
+ - `onSubmit`: Submit handler
236
+ - `variant`: `"transparent"` | `"filled"` (default: `"transparent"`)
237
+ - `size`: `"sm"` | `"md"` | `"lg"` (default: `"md"`)
238
+ - `showButton`: Show/hide submit button (default: `true`)
239
+ - `buttonPosition`: `"left"` | `"right"` (default: `"right"`)
240
+
241
+ **Usage:**
242
+
243
+ ```tsx
244
+ <InputField
245
+ placeholder="Ask CROW Anything..."
246
+ onSubmit={(value) => console.log('Submitted:', value)}
247
+ />
248
+
249
+ <InputField
250
+ value={inputValue}
251
+ onChange={(value) => setInputValue(value)}
252
+ size="lg"
253
+ variant="filled"
254
+ />
255
+ ```
256
+
257
+ ---
258
+
259
+ ## TypeScript
260
+
261
+ All components are fully typed with exported TypeScript interfaces. Import types as needed:
262
+
263
+ ```tsx
264
+ import type { ButtonProps, CardProps, GlobeProps } from '@b3-crow/ui-kit';
265
+ ```