diff --git a/docs/components/banners/hero.tsx b/docs/components/banners/hero.tsx
index d073385..f6238f9 100644
--- a/docs/components/banners/hero.tsx
+++ b/docs/components/banners/hero.tsx
@@ -1,6 +1,7 @@
import { Button } from '@openlite/ui'
import Link from 'next/link'
import InstallCommand from '../install-command'
+import { Arrow } from '../icons/arrow'
export function Hero() {
return (
@@ -23,6 +24,7 @@ export function Hero() {
diff --git a/docs/components/demo.tsx b/docs/components/demo.tsx
new file mode 100644
index 0000000..b71552d
--- /dev/null
+++ b/docs/components/demo.tsx
@@ -0,0 +1,71 @@
+'use client'
+
+import { useState } from 'react'
+import {
+ Button,
+ Card,
+ CardContent,
+ Input,
+ Tabs,
+ TabsContent,
+ TabsList,
+ TabsTrigger,
+} from '@openlite/ui'
+import { AlertDemo } from './examples/alert'
+import { MultipleComponentDemo } from './examples/multiple-components'
+import { TableDemo } from './examples/table'
+
+export default function Component() {
+ const [activeTab, setActiveTab] = useState('account')
+
+ return (
+
+
+
+
+
+
+
+
+ Account
+ Password
+
+
+ Login
+ Make changes to your account here. Click save when you're done.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Create Account
+ Make changes to your account here. Click save when you're done.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
diff --git a/docs/components/examples.tsx b/docs/components/examples.tsx
deleted file mode 100644
index d1ff5e8..0000000
--- a/docs/components/examples.tsx
+++ /dev/null
@@ -1,155 +0,0 @@
-'use client'
-
-import { useState } from 'react'
-import {
- Avatar,
- AvatarFallback,
- AvatarImage,
- Badge,
- Button,
- Card,
- CardContent,
- CardHeader,
- CardTitle,
- Checkbox,
- Input,
- Select,
- SelectContent,
- SelectItem,
- SelectTrigger,
- SelectValue,
- Slider,
- Table,
- TableBody,
- TableCell,
- TableHead,
- TableHeader,
- TableRow,
- Tabs,
- TabsContent,
- TabsList,
- TabsTrigger,
-} from '@openlite/ui'
-
-export default function Component() {
- const [activeTab, setActiveTab] = useState('account')
-
- return (
-
-
-
-
-
-
-
-
-
- AC
-
-
-
- BC
-
-
+1
-
-
-
Badge
-
-
-
-
-
-
-
-
- Notification
-
-
- This is a notification!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Account
- Password
-
-
- Account
- Make changes to your account here. Click save when you're done.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Password
- Change your password here.
-
-
-
-
-
-
-
-
-
-
-
- Id
- Name
- Title
- Email
- Role
-
-
-
- {[
- { id: 1, name: 'Lindsay Walton', title: 'Front-end Developer', email: 'lindsay.walton@example.com', role: 'Member' },
- { id: 2, name: 'Courtney Henry', title: 'Designer', email: 'courtney.henry@example.com', role: 'Admin' },
- { id: 3, name: 'Tom Cook', title: 'Director of Product', email: 'tom.cook@example.com', role: 'Member' },
- { id: 4, name: 'Whitney Francis', title: 'Copywriter', email: 'whitney.francis@example.com', role: 'Admin' },
- { id: 5, name: 'Leonard Krasner', title: 'Senior Designer', email: 'leonard.krasner@example.com', role: 'Owner' },
- ].map(person => (
-
-
- {person.id}
- {person.name}
- {person.title}
- {person.email}
- {person.role}
-
- ))}
-
-
-
-
-
-
- )
-}
diff --git a/docs/components/examples/alert.tsx b/docs/components/examples/alert.tsx
new file mode 100644
index 0000000..5bb8367
--- /dev/null
+++ b/docs/components/examples/alert.tsx
@@ -0,0 +1,13 @@
+import { Alert, AlertDescription, AlertTitle } from '@openlite/ui'
+import { Chat } from '../icons/chat'
+
+export function AlertDemo() {
+ return (
+
+
+
+ You have a notification
+ Lorem ipsum dolor sit amet consectetur adipisicing elit. Est, asperiores.
+
+ )
+}
diff --git a/docs/components/examples/dialog.tsx b/docs/components/examples/dialog.tsx
new file mode 100644
index 0000000..3e4fb35
--- /dev/null
+++ b/docs/components/examples/dialog.tsx
@@ -0,0 +1,47 @@
+import {
+ Button,
+ Dialog,
+ DialogContent,
+ DialogDescription,
+ DialogHeader,
+ DialogTitle,
+ DialogTrigger,
+ Input,
+ Label,
+} from '@openlite/ui'
+import { Copy } from '../icons/copy'
+
+export function DialogDemo() {
+ return (
+
+ )
+}
diff --git a/docs/components/examples/multiple-components.tsx b/docs/components/examples/multiple-components.tsx
new file mode 100644
index 0000000..4b92464
--- /dev/null
+++ b/docs/components/examples/multiple-components.tsx
@@ -0,0 +1,126 @@
+import {
+ Avatar,
+ AvatarFallback,
+ AvatarImage,
+ Badge,
+ Button,
+ Card,
+ CardContent,
+ Carousel,
+ CarouselContent,
+ CarouselItem,
+ CarouselNext,
+ CarouselPrevious,
+ Input,
+
+ Select,
+ SelectContent,
+ SelectItem,
+ SelectTrigger,
+ SelectValue,
+ Skeleton,
+ Slider,
+
+ Tooltip,
+ TooltipContent,
+ TooltipProvider,
+ TooltipTrigger,
+} from '@openlite/ui'
+import Image from 'next/image'
+import { ArrowLeft } from '../icons/arrow-left'
+import { ArrowRight } from '../icons/arrow-right'
+
+import { Search } from '../icons/search'
+import { DialogDemo } from './dialog'
+import { ProgressDemo } from './progress'
+
+const items = [
+ 'https://picsum.photos/100/100?random=1',
+ 'https://picsum.photos/100/100?random=2',
+ 'https://picsum.photos/100/100?random=3',
+ 'https://picsum.photos/100/100?random=4',
+ 'https://picsum.photos/100/100?random=5',
+ 'https://picsum.photos/100/100?random=6',
+]
+
+export function MultipleComponentDemo() {
+ return (
+
+
+
+
+
+
+
Badge
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Like a prayer - Maddona
+
+
+
+
+
+
+
+
+
+
+ {items.map((_, index) => (
+
+
+
+
+
+ ))}
+
+
+
+
+
+
+
+
+
+
+
+ )
+}
diff --git a/docs/components/examples/progress.tsx b/docs/components/examples/progress.tsx
new file mode 100644
index 0000000..006c8a4
--- /dev/null
+++ b/docs/components/examples/progress.tsx
@@ -0,0 +1,13 @@
+import { useEffect, useState } from 'react'
+import { Progress } from '@openlite/ui'
+
+export function ProgressDemo() {
+ const [progress, setProgress] = useState(13)
+
+ useEffect(() => {
+ const timer = setTimeout(() => setProgress(66), 500)
+ return () => clearTimeout(timer)
+ }, [])
+
+ return
+}
diff --git a/docs/components/examples/table.tsx b/docs/components/examples/table.tsx
new file mode 100644
index 0000000..0329fdb
--- /dev/null
+++ b/docs/components/examples/table.tsx
@@ -0,0 +1,50 @@
+import {
+ Card,
+ CardContent,
+ Checkbox,
+ Table,
+ TableBody,
+ TableCell,
+ TableHead,
+ TableHeader,
+ TableRow,
+} from '@openlite/ui'
+
+export function TableDemo() {
+ return (
+
+
+
+
+
+
+ Id
+ Name
+ Title
+ Email
+ Role
+
+
+
+ {[
+ { id: 1, name: 'Lindsay Walton', title: 'Front-end Developer', email: 'lindsay.walton@example.com', role: 'Member' },
+ { id: 2, name: 'Courtney Henry', title: 'Designer', email: 'courtney.henry@example.com', role: 'Admin' },
+ { id: 3, name: 'Tom Cook', title: 'Director of Product', email: 'tom.cook@example.com', role: 'Member' },
+ { id: 4, name: 'Whitney Francis', title: 'Copywriter', email: 'whitney.francis@example.com', role: 'Admin' },
+ { id: 5, name: 'Leonard Krasner', title: 'Senior Designer', email: 'leonard.krasner@example.com', role: 'Owner' },
+ ].map(person => (
+
+
+ {person.id}
+ {person.name}
+ {person.title}
+ {person.email}
+ {person.role}
+
+ ))}
+
+
+
+
+ )
+}
diff --git a/docs/components/header.tsx b/docs/components/header.tsx
index 72d71b5..9593d82 100644
--- a/docs/components/header.tsx
+++ b/docs/components/header.tsx
@@ -25,7 +25,7 @@ function LinkRepo({ classes }: { classes: string }) {
return (
-