SearchCtrlK

  • ↑↓navigate
  • ↵open
  • escclose

Can’t find it? Contact us

boardMoveFormId

A kanban board: columns of cards a person drags from one column to another.

Todo

2

No issues

In progress

1

No issues

Done

0

No issues

    View code
    tsx
    <Board id="web" label="Issues by status">
    	<Board.Column value="todo" title="Todo" count={2} empty="No issues">
    		<Board.Card value="WEB-12" move={{ action: "/issues/WEB-12", name: "status" }}>
    			<a href="/issues/WEB-12">Fix the cart badge</a>
    		</Board.Card>
    		<Board.Card value="WEB-14" move={{ action: "/issues/WEB-14", name: "status" }}>
    			<a href="/issues/WEB-14">Keep the country on reset</a>
    		</Board.Card>
    	</Board.Column>
    	<Board.Column value="started" title="In progress" count={1} empty="No issues">
    		<Board.Card value="WEB-9" move={{ action: "/issues/WEB-9", name: "status" }}>
    			<a href="/issues/WEB-9">Queue edits while offline</a>
    		</Board.Card>
    	</Board.Column>
    	<Board.Column value="done" title="Done" count={0} empty="No issues" />
    </Board>

    Demo apps

    Whole pages built only from @sdxc/ui, each for an invented product with its own palette and type. They open in a new tab.

    Every demo, landings and docs sites alike, is listed in the demo gallery.

    Installation

    An ordinary dependency: install it, import the theme once, and import the component where it is used.

    Terminal
    npm add @sdxc/ui remix
    typescript
    import "@sdxc/ui/theme.css";

    Usage

    typescript
    import { boardMoveFormId } from "@sdxc/ui/app";

    The id of a card's move form, for a menu row that moves the card by submitting it with the column's value as its own name and value.

    Props

    Read from the component's own types, so every prop, every default and every allowed value is listed.

    Other components this module publishes.

    • Board
    @sdxc/ui

    Can’t find it? Contact us