Components
3 components available
'use client'
import { useState, useCallback } from 'react'
interface UploadedFile {
id: number
name: string
size: number
type: string
progress: number
done: boolean
error?: string
}
const ALLOWED = ['image/png', 'image/jpeg', 'image/webp', 'image/svg+xml', 'application/pdf', 'text/plain', 'application/json']
const MAX_SIZE = 5 * 102FileUploadZone
FileUploadZone
Utility
react
'use client'
import { useState } from 'react'
const PRESETS = [
{ name: 'Gold', primary: '#C9A84C', bg: '#0A0A0A', accent: '#6366f1' },
{ name: 'Neon', primary: '#22d3ee', bg: '#030712', accent: '#a78bfa' },
{ name: 'Crimson', primary: '#ef4444', bg: '#0f0a0a', accent: '#f97316' },
{ name: 'Sage', primary: '#4ade80', bg: '#071a0f', accent:ThemeCustomizer
ThemeCustomizer
Utility
react
'use client'
import { useState } from 'react'
interface ClipItem {
id: number
content: string
type: 'text' | 'code' | 'url' | 'email'
pinned: boolean
time: number
}
const INITIAL: ClipItem[] = [
{ id: 1, content: 'npx empire-ui-mcp --stdio', type: 'code', pinned: true, time: Date.now() - 60000 },
{ id: 2, content: 'https://empire-uiClipboardManager
ClipboardManager
Utility
react