@professorragna/list
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

List Styled Components

A collection of styled components for the list HTML tags utilized via a <List> component, which include:

  • ol
  • ul
  • li

Installation

$ npm i @professorragna/list

Usage

import {
  List,
  Li
} from '@professorragna/list';

// Unordered List (<ul>) Usage
<List
  variant="ul"
>
  <Li>List Item 1</Li>
  <Li>List Item 2</Li>
  <Li>List Item 3</Li>
</List>

// Ordered List (<ol>) Usage
<List
  variant="ol"
>
  <Li>List Item 1</Li>
  <Li>List Item 2</Li>
  <Li>List Item 3</Li>
</List>

Each of the list styled components in this package support the following categories of styled props:

  • background
  • border
  • color
  • flexbox
  • grid
  • layout
  • position
  • shadow
  • space
  • typography

For more information on how to use styled props, see the styled-system docs

Additional Packages

Are you looking for additional styled components for other HTML tags? Feel free to check out the root project here for other packages that are available!

/@professorragna/list/

    Package Sidebar

    Install

    npm i @professorragna/list

    Weekly Downloads

    0

    Version

    1.0.4

    License

    ISC

    Unpacked Size

    14.4 kB

    Total Files

    32

    Last publish

    Collaborators

    • professorragna