import { useState } from 'react' import { Button, Badge, Switch, Separator, HoverCard, Calendar, ButtonGroup, DatePicker, RangeSlider, InfoPanel, ResponsiveGrid, Flex, CircularProgress, AvatarGroup, Heading, Text, Stack, Card, Chip, Dot, Tooltip, Alert, ProgressBar, Skeleton, Code, Kbd, Avatar, Link, Container, Section, Spacer, Rating, ColorSwatch, MetricCard, CountBadge, FilterInput, BasicPageHeader, IconButton, ActionButton, StatusBadge, NumberInput, TextGradient, Pulse, QuickActionButton, PanelHeader, LiveIndicator, Sparkle, GlowCard, } from '@/components/atoms' import { Heart, Star, Plus, Trash, Download, ShoppingCart, User, Bell, CheckCircle, Info, WarningCircle, XCircle, Rocket, Code as CodeIcon, } from '@phosphor-icons/react' export function AtomicLibraryShowcase() { const [switchChecked, setSwitchChecked] = useState(false) const [selectedDate, setSelectedDate] = useState() const [rangeValue, setRangeValue] = useState<[number, number]>([20, 80]) const [filterValue, setFilterValue] = useState('') const [rating, setRating] = useState(3) const [numberValue, setNumberValue] = useState(10) return (
Buttons & Actions
Button Variants
Button Group
Icon Buttons } variant="default" /> } variant="secondary" /> } variant="outline" /> } variant="destructive" />
Action Buttons } label="Like" onClick={() => {}} tooltip="Like this item" /> } label="Favorite" onClick={() => {}} variant="outline" />
Badges & Indicators
Badges Default Secondary Destructive Outline }>With Icon Small Large
Status Badges
Chips React TypeScript Tailwind {}}>Removable
Dots
Count Badge
Notifications
Messages
Typography
Headings Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6
Text Variants Body text - regular content Caption text - smaller descriptive text Muted text - less important information Small text - compact information
Inline Elements Press Ctrl + K to search Run npm install to get started Visit our documentation to learn more
Form Controls
Switch
Date Picker
Filter Input
Rating
Range Slider
Progress & Loading
Progress Bar
Circular Progress
Skeleton Loading
Feedback This is an informational alert message. Your changes have been saved successfully. Please review your input before submitting. Something went wrong. Please try again. }> This is an informational panel with helpful content. }> Operation completed successfully! }> Please proceed with caution. }> An error has occurred.
Avatars & User Elements
Avatar Sizes
Avatar Group
Cards & Metrics } trend={{ value: 12, direction: 'up' }} /> } trend={{ value: 5, direction: 'up' }} /> } />
Interactive Elements
Hover Card Hover over me } > Additional Information This is extra content shown in a hover card.
Tooltip
Color Swatches
Layout Components
Responsive Grid {[1, 2, 3, 4, 5, 6, 7, 8].map((i) => ( Item {i} ))}
Flex Layout Left Content Center
Stack Layout Stacked Item 1 Stacked Item 2 Stacked Item 3
Enhanced Components
} actions={ } />
Number Input
Text Gradient Beautiful Gradient Text
Status Indicators Active Featured
Quick Action Buttons } label="Code" description="Edit files" variant="primary" onClick={() => alert('Code clicked')} /> } label="Deploy" description="Launch app" variant="accent" onClick={() => alert('Deploy clicked')} /> } label="Favorite" description="Save for later" variant="default" onClick={() => alert('Favorite clicked')} /> } label="Shop" description="Browse items" variant="muted" onClick={() => alert('Shop clicked')} />
Glow Cards
Primary Glow Card with primary glow effect
Accent Glow Card with accent glow effect
Success Glow Card with success glow effect
Summary }> Atomic Component Library Complete! The atomic component library includes 60+ production-ready components covering buttons, badges, typography, forms, progress indicators, feedback, avatars, cards, enhanced inputs, gradient effects, and layout utilities. All components are fully typed, accessible, and follow the design system.
) }