All Projects โ†’ lucasbesen โ†’ React Kanban Dnd

lucasbesen / React Kanban Dnd

Licence: mit
๐Ÿ“‹ Open source kanban board built with React

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].