lucasbesen / React Kanban Dnd
Licence: mit
๐ Open source kanban board built with React
Stars: โญ 121
Programming Languages
typescript
32286 projects
Projects that are alternatives of or similar to React Kanban Dnd
DragBoardView
โญ Android ็ๆฟ๏ผๆฏๆ้กนๆๆฝใๅๆๆฝใDraggable kanban/board view for Android.
Stars: โญ 85 (-29.75%)
Mutual labels: drag-and-drop, kanban, kanban-board
react-native-dnd-board
A drag and drop Kanban board for React Native.
Stars: โญ 41 (-66.12%)
Mutual labels: drag-and-drop, kanban, draggable
FlutterBoardView
BoardView written for the flutter framework.
Stars: โญ 82 (-32.23%)
Mutual labels: drag-and-drop, kanban, draggable
React Kanban
Yet another Kanban/Trello board lib for React.
Stars: โญ 345 (+185.12%)
Mutual labels: kanban, kanban-board, hacktoberfest
Fogga Kanban
๐ฝ React Kanban Dashboard Template
Stars: โญ 46 (-61.98%)
Mutual labels: kanban, kanban-board
React Trello Multiboard
React-Trello-Multiboard is a single-page application built with React displaying multiple cards of several Trelloยฎ boards and lists. The cards can be filtered by preferred team members.
Stars: โญ 43 (-64.46%)
Mutual labels: kanban, kanban-board
Vue Smooth Dnd
Vue wrapper components for smooth-dnd
Stars: โญ 1,121 (+826.45%)
Mutual labels: drag-and-drop, draggable
Vue Drag And Drop Kanban
A simple kanban board where the items can be dragged and dropped from the list. This is a hybrid implementation of vue-smooth-dnd.
Stars: โญ 93 (-23.14%)
Mutual labels: kanban, drag-and-drop
Dragact
a dragger layout system with React style .
Stars: โญ 710 (+486.78%)
Mutual labels: drag-and-drop, draggable
Taskell
Command-line Kanban board/task manager with support for Trello boards and GitHub projects
Stars: โญ 1,175 (+871.07%)
Mutual labels: kanban, kanban-board
Jquery Sortablejs
A jQuery binding for SortableJS
Stars: โญ 94 (-22.31%)
Mutual labels: drag-and-drop, draggable
Twake
Twake is a secure open source collaboration platform to improve organizational productivity.
Stars: โญ 862 (+612.4%)
Mutual labels: kanban, kanban-board
My Personal Kanban
This is a one page HTML/JavaScript application for people who would like to use simple and basic Kanban board for their personal stuff
Stars: โญ 765 (+532.23%)
Mutual labels: kanban, kanban-board
Angular Draggable Mat Tree
Example implementation of drag and drop on Angular Material Tree
Stars: โญ 47 (-61.16%)
Mutual labels: drag-and-drop, draggable
Dragmove.js
A super tiny Javascript library to make DOM elements draggable and movable. ~500 bytes and no dependencies.
Stars: โญ 757 (+525.62%)
Mutual labels: drag-and-drop, draggable
Topsi Project Manager
A Desktop Kanban board app.
Stars: โญ 1,300 (+974.38%)
Mutual labels: kanban, kanban-board
Lean Mean Drag And Drop
Drag&Drop Sorting and Reordering script for complex nested structures
Stars: โญ 107 (-11.57%)
Mutual labels: drag-and-drop, draggable
Ant Design Draggable Modal
The Modal from Ant Design, draggable.
Stars: โญ 105 (-13.22%)
Mutual labels: hacktoberfest, draggable
Flowy Vue
Vue Flowy makes creating flowchart or hierarchy chart functionality an easy task. Build automation software, mind mapping tools, organisation charts, or simple programming platforms in minutes by implementing the library into your project.
Stars: โญ 107 (-11.57%)
Mutual labels: drag-and-drop, draggable
Svgdragtree
ไธไธชๅฏไปฅ้่ฟๆๆพ SVG ๅพๆ ๏ผๆฅ็ๆๆฅๆๆ ็ถ็ปๆ็่งๅพไธๆฐๆฎ็ๅ็ซฏ็ปไปถใ SDT example:
Stars: โญ 113 (-6.61%)
Mutual labels: drag-and-drop, draggable
๐จ Install and Usage
Live demo: click here
First, you need to install react-kanban-dnd on your project:
yarn add react-kanban-dnd
Then import it inside your project:
import ReactKanban from 'react-kanban-dnd';
export default class MyKanban extends React.Component {
render() {
return (
<ReactKanban
onDragEnd={this.onDragEnd}
onDragStart={this.onDragStart}
renderCard={this.renderCard}
columns={columns}
columnStyle={style.columnStyle}
columnHeaderStyle={style.columnHeaderStyle}
columnTitleStyle={style.columnTitleStyle}
cardWrapperStyle={style.cardWrapperStyle}
/>
);
}
}
That's it. Now, kanban should appear on your project.
โ๏ธ Properties
Prop | Description | Required |
---|---|---|
onDragEnd |
Function that will be called when drag ends | false |
onDragStart |
Function that will be called when drag starts | false |
renderCard |
Function that will render your card. Receives a row as a parameter | true |
columns |
Array that will be used to render your kanban. Check the patterns here | true |
columnStyle |
Optional styling for the column | false |
columnHeaderStyle |
Optional styling for the column header | false |
columnTitleStyle |
Optional styling for the column title | false |
cardWrapperStyle |
Optional styling for the card wrapper | false |
๐ Columns array pattern
Your column array should be something like this:
const columns = [
{
id: 'columnId',
title: 'Column Title',
rows: [
{
id: 'rowId',
...yourPropsHere, // Those props can be used on renderCard
},
],
},
];
Note: Both columnId and rowId should be a string.
๐ก Example
import ReactKanban from 'react-kanban-dnd';
export default class MyKanban extends React.Component {
renderCard = row => (
<Wrapper>
<TextWrapper>
<Label>Name:</Label>
<Value>{row.name}</Value>
</TextWrapper>
<TextWrapper>
<Label>Age:</Label>
<Value>{row.age}</Value>
</TextWrapper>
</Wrapper>
);
render() {
const columns = [
{
id: 'column1',
title: 'Column 1',
rows: [
{
id: 'row1',
name: 'User one',
age: 21,
},
],
},
{
id: 'column2',
title: 'Column 2',
rows: [
{
id: 'row2',
name: 'User two',
age: 23,
},
{
id: 'row3',
name: 'User three',
age: 30,
},
],
},
{
id: 'column3',
title: 'Column 3',
rows: [
{
id: 'row4',
name: 'User four',
age: 25,
},
],
},
];
return (
<ReactKanban
renderCard={this.renderCard}
columns={columns}
/>
);
}
}
๐ค Contributions
Start cloning the repository:
[email protected]:lucasbesen/react-kanban-dnd.git
Install dependencies:
yarn
Then run docz;
yarn docz:dev
Finally go to http://localhost:3000/docs-react-kanban
Every kind of contribution is welcome. You can ping me at Twitter as well.
๐ช๐ป Contributors
Lucas Besen ๐ ๐ป ๐ ๐ก ๐ |
Caio Flores ๐ป ๐ |
Isac ๐ป |
Nfinger ๐ป |
Austin Turner ๐ |
Marcus Koh ๐ |
Gabriel F. Luchtenberg ๐ป |
---|
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].