1 GitHub star = 1 new component.

Star the repo
Typographytypographylistux

Custom List Markers

Unordered list with custom minimal geometric markers.

Live Preview

    Custom List Markers

Usage

Copy and paste this code into your React component:

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

<MinimalListMarkers>Content</MinimalListMarkers>

Manual Installation

If you are not using the npm package, create a new file and paste the following code: 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; }

Quick Info

Category
Typography
Filename
MinimalListMarkers.tsx
Dependencies
None โ€” pure React + CSS
Tags
typographylistux