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, } from '@/components/atoms' import { Heart, Star, Plus, Trash, Download, ShoppingCart, User, Bell, CheckCircle, Info, WarningCircle, XCircle, } 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) 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
Summary }> Atomic Component Library Complete! The atomic component library includes 50+ production-ready components covering buttons, badges, typography, forms, progress indicators, feedback, avatars, cards, and layout utilities. All components are fully typed, accessible, and follow the design system.
) }