Tablero de luces
NuevoMITPanel de LEDs que desplaza un texto, en fuente normal o de 7 segmentos.
Ajústalo
4
40
Instalación
Terminal
npx shadcn@latest add https://<tu-dominio>/r/tablero-de-luces.json
Crea components/bastard/LightBoard.tsx. Más opciones
Uso
Demo.tsx
1import { LightBoard } from '@/components/bastard/LightBoard';23export default function Demo() {4 return (5 <LightBoard6 text="BASTARD STUDIO · SIN PERMISO · "7 font="default"8 lightSize={4}9 updateInterval={40}10 />11 );12}
Props
| Prop | Tipo | Por defecto | Descripción |
|---|---|---|---|
| text | string | "BASTARD STUDIO · SIN PERMISO · " | Texto |
| font | 'default' | '7segment' | "default" | Fuente |
| lightSize | number | 4 | Tamaño del LED |
| updateInterval | number | 40 | Velocidad (ms) |
Aquí aparecen las props ajustables. El componente acepta más: revisa el código fuente.
Créditos
Basado en Lightboard · Cult UI, adaptado para BSTRD UI.Licencia: MIT. Puedes usarlo, modificarlo y venderlo, conservando el aviso de copyright que va dentro del archivo.