List
Display ordered or unordered list
Import
Source
Docs
Package
Usage
- Clone or download repository from GitHub
- Install dependencies with yarn
- To start development server run npm start command
- Run tests to make sure your changes do not break the build
- Submit a pull request once you are done
Type
Size
xs
sm
md
lg
xl
With icons
You can replace list bullets with icon. To do so provide following props:
iconon List component will be used as default icon for all list elementsiconon List.Item component will override context icon from Listspacing– spacing between list items from theme or number to set spacing in px, defaults to0center– center item content with iconsize– set font size from theme
- Clone or download repository from GitHub
- Install dependencies with yarn
- To start development server run npm start command
- Run tests to make sure your changes do not break the build
- Submit a pull request once you are done
Nested lists
Set withPadding prop to offset nested lists and listStyleType to control bullet type:
- First order item
- First order item
- First order item with list
- Nested item
- Nested item
- Nested item with list
- Event more nested
- Event more nested
- Nested item
- First order item
Feedback
Your feedback is most valuable contribution to the project, please share how you use Mantine, what features are missing and what is done good
Leave feedback