New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@berlitz/list

Package Overview
Dependencies
Maintainers
0
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@berlitz/list

List component for the Max Design System

3.2.20
latest
npm
Version published
Maintainers
0
Created
Source

List npm version

Berlitz List Component takes in an array of strings which is outputted as list items. This can be set as a unordered list (with a blue dot point on the left side), or an ordered list (that is numbered along the left side). This list has responsive settings allowing you to collapse to a single column layout on the choosen breakpoint as well as setting the number of columns.

Installation

yarn add @berlitz/List

Props

ArgumentTypeRequiredDefaultExample
Dataarraytrue-['one', 'two', 'three', 'four']
IsOrderedboolfalsefalse
colsnumberfalse1
collapsearrayfalsefalse['xs', 'sm', 'md', 'lg', 'xl']

Usage

import React from 'react'
import List from '@berlitz/List'
const MyApp = () => (
  <>
    <h2>Unordered</h2>
    <List data={data} cols={2} collapse={['xs', 'sm', 'md']} />
    <h2>Ordered</h2>
    <List data={data} cols={2} collapse={['xs', 'sm', 'md']} ordered />
  </>
)

When to use this component

  • Bullet Points
  • Privacy Policy / TOS

FAQs

Package last updated on 28 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts