Chapter Ui Components
See original GitHub issueWith freeCodeCamp component picking pace, Chakra-ui became obsolete. To adapt for the new library, we need to push the components we’re currently using into it.
For this, we use Storybook to document, test, and isolate the component, and tailwind CSS to style them.
Because this Chapter is in early stage, the research and development of the component isn’t as intense as freeCodeCamp. But it’s still a good idea to check the freeCodeCamp wiki to get better perspective.
Components must follow the web accessibility requirements
The components are:
- PageLayout This pagelayout is for research, we won’t change it, just the Component
- Box (BoxProps)
- Avatar
- Stack
- Grid (item - ItemProps) MVP
- Chapter Card
- Heading
- Center
- Text
- Color Mode (useColorModeValue)
- Event Card
- Flex MVP
- Spacer
to be optimized
- login/register
- Tag
- useBoolean
- UseDisclosureReturn
- Spinner
- useToast
- useDisclosure
- UseDisclosureReturn
- CircularProgress
- Link
- LinkButton
- Badge
- DataTable
- RadioGroup
- Radio
- Select
- LockIcon
- useConfirm
- ChakraProvider
- ConfirmContextProvider
- Exist in fcc library
- Image Fcc Image
- Button Fcc button
Development steps
Research
- Find component usage in the project and list all the props being used.
- Compare usage and props with Chakra documentation.
- Find out if a component has a child component and how they work in regard to the props.
- Find out which classes are applied by default.
Development
- Create an interface for the props.
- Convert default styles to tailwind classes.
- Assign classes based on prop.
- Avoid creating a .css file.
- Add
children
prop, if needed.
Issue Analytics
- State:
- Created a year ago
- Reactions:6
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Chapter 13 Creating Custom UI Components
A component class defines the state and behavior of a UI component. This behavior includes converting the value of a component to the...
Read more >Exploring the UI Components | SpringerLink
After reading this chapter, you will be aware of which components have been included in the Flash Component Architecture and what functionality they...
Read more >8. User Interface Components - Closure: The Definitive Guide ...
Chapter 8. User Interface Components The set of user interface (UI) components provided by the browser as HTML 4 elements is limited to...
Read more >Chapter 11. A real-world UI component - liveBook · Manning
This chapter covers. Building a brand-new component and refreshing our memories about what we've learned so far, including the Shadow DOM, modules, ...
Read more >UI Components and Layouts MCQs 22617 MAD MSBTE
Chapter 3: UI Components and Layouts 22617 MAD MCQs MSBTE, msbte mad 22617 mcq pdf download,msbte 22617 model answer,msbte model answer 22617.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just to clarify, we should go ahead with the current spec mentioned here: https://github.com/freeCodeCamp/freeCodeCamp/issues/44668 Once that is released, we will add the additional components that are specifically needed for chapter on the second sprint.
Thanks @ojeytonwilliams and @Sboonny!
I’ll need to spin up Chapter and check the components listed here. But at the moment, layout components (Grid, Row, Col,…) mentioned in https://github.com/freeCodeCamp/freeCodeCamp/issues/44668 are on my plate. Do let my know if you need any components to be prioritized 🙂