1 estrella en GitHub = 1 componente nuevo.

Dar una estrella
Tipografíatypographylistux

Custom List Markers

Lista ordenada con marcadores geométricos minimalistas en lugar de viñetas estándar.

Vista Previa en Vivo

    Custom List Markers

Uso

Copia y pega este código directamente en tu componente React:

tsx
import { MinimalListMarkers } from 'react-component-kit-ui/typography';

<MinimalListMarkers>Content</MinimalListMarkers>

Instalación Manual

Si no estás usando el paquete npm, crea un archivo nuevo y pega el siguiente código: src/components/MinimalListMarkers.tsx + MinimalListMarkers.css:

MinimalListMarkers.tsx
'use client';

import type { ReactNode } from 'react';
import './MinimalListMarkers.css';

/** MinimalListMarkers — ported from astro-component-kit. */
export interface MinimalListMarkersProps {
  children?: ReactNode;
}

export function MinimalListMarkers({ children }: MinimalListMarkersProps) {
  return (
    <>
      <ul className="custom-list" data-rk-100c10="">
        {children}
      </ul>
    </>
  );
}

export default MinimalListMarkers;
MinimalListMarkers.css
/* MinimalListMarkers — ported from astro-component-kit (typography/MinimalListMarkers.astro) */

.custom-list:where([data-rk-100c10]) { list-style: none; padding: 0; }
.custom-list:where([data-rk-100c10]) li { position: relative; padding-left: 1.5rem; margin-bottom: 0.85rem; color: #94a3b8; font-size: 1rem; line-height: 1.5; }
.custom-list:where([data-rk-100c10]) li::before { content: "→"; position: absolute; left: 0; color: #6366f1; font-weight: 900; }

Información Rápida

Categoría
Tipografía
Nombre de archivo
MinimalListMarkers.tsx
Dependencias
Ninguna — React + CSS puro
Etiquetas
typographylistux