web3-ui icon indicating copy to clipboard operation
web3-ui copied to clipboard

Create basic elements

Open e-roy opened this issue 3 years ago • 9 comments

Build a set of basic elements.

Elements are found in the packages/components/src/elements folder. Each element should have working

  • tsx file
  • storybook file
  • test file

Example of a basic element is the Button element inside the elements folder.

Please choice one of the elements from the list to work on by commenting below. After completing an element, create a PR with feat: and name of the element.

  • [x] Avatar
  • [x] Badge/Tag
  • [x] Card
  • [x] Checkbox
  • [x] Dropdown Menu
  • [x] Modal
  • [x] Link
  • [ ] Radio
  • [x] Sheet
  • [ ] Switch
  • [x] TextField
  • [ ] Textarea
  • [ ] Tooltip
  • [ ] Skeleton - Avatar
  • [ ] Skeleton - Text Block

Please see the playground environment for resources. To start a playground environment run in your terminal yarn dev This will run Next JS environment on localhost:3000 for building the element, and also run a watch script on the library.

No need to be overly concerned about the css because a figma design hasn't been made yet.

An example of each component can be found here copy and pasting from here is acceptable, because the focus is to get more structure in place and also for contributors to get more familiar with the project and tech stack.

If you have any questions or problems, please ask in the web3-ui channel in the D_D discord

e-roy avatar Jul 23 '22 18:07 e-roy

@e-roy I can do the badge in the next 24hrs

diegoalzate avatar Jul 24 '22 00:07 diegoalzate

@e-roy I will take the card

meowyx avatar Jul 24 '22 01:07 meowyx

@e-roy I am taking Checkbox

andriishupta avatar Jul 24 '22 10:07 andriishupta

@e-roy I can do the Avatar

diegoalzate avatar Jul 24 '22 20:07 diegoalzate

@e-roy I am taking DropdownMenu

andriishupta avatar Jul 25 '22 14:07 andriishupta

Adding Sheet

e-roy avatar Jul 31 '22 00:07 e-roy

Adding TextField

e-roy avatar Aug 10 '22 19:08 e-roy

Adding Modal and Link

shindeajinkya avatar Aug 27 '22 16:08 shindeajinkya

@e-roy I can take the radio

deepak-likes-code avatar Sep 08 '22 08:09 deepak-likes-code