Fundação
Componentes
- Componentes
- Accordion
- ActivityGraph
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- AvatarGroup
- Badge
- Box
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Connector
- Container
- Context Menu
- Dialog
- Drawer
- DropdownMenu
- Empty
- EnvEditor
- Fade In
- Field
- Fps
- Hover Card
- Highlighter
- Input
- InputGroup
- Input OTP
- Item
- JSONViewer
- Kbd
- Label
- Marquee
- Menubar
- Native Select
- Navigation Menu
- NumberInput
- Pagination
- Popover
- Preview Card
- Progress
- ProgressiveBlur
- Radio Group
- Resizable
- Retro Grid
- Scan Line
- ScrollArea
- Scrubber
- SectionLabel
- Select
- Separator
- Sheet
- Signature
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Stagger Group
- StatusDot
- SystemBanner
- Switch
- Table
- Tabs
- TagInput
- Textarea
- ThemeToogle
- Toggle
- Toggle Group
- Tooltip
- Typing Effect
Overlay CSS-only com linhas horizontais semi-transparentes que simula efeito de ecrã CRT. Barra animada opcional desliza verticalmente. Respeita prefers-reduced-motion.
Importação
import { ScanLine } from "@zexon/ui/components/scan-line";
Uso
Exemplo
Efeito CRT
Props
| Prop | Tipo | Predefinição | Notas |
|---|---|---|---|
opacity | number | 0.03 | Opacidade das linhas (0–1) |
animated | boolean | true | Barra animada vertical |
className | string | — | No wrapper raiz |
Anterior:
Próximo: