Skip to content

Commit e4b1f7c

Browse files
docs(sistent): add FormControl component documentation
Signed-off-by: shteypandey28-hue <shteypandey28@gmail.com>
1 parent 4304b03 commit e4b1f7c

File tree

4 files changed

+893
-38
lines changed

4 files changed

+893
-38
lines changed

src/sections/Projects/Sistent/components/content.js

Lines changed: 58 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,16 @@ const componentsData = [
154154
{
155155
id: 20,
156156
name: "Switch",
157-
description: "The Switch component allows users to toggle the state of a single setting on or off.",
157+
description:
158+
"The Switch component allows users to toggle the state of a single setting on or off.",
158159
url: "/projects/sistent/components/switch",
159-
src: "/switch"
160+
src: "/switch",
160161
},
161162
{
162163
id: 21,
163164
name: "Tabs",
164-
description: "Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy.",
165+
description:
166+
"Tabs organize and allow navigation between groups of content that are related and at the same level of hierarchy.",
165167
url: "/projects/sistent/components/tabs",
166168
src: "/tabs",
167169
},
@@ -184,7 +186,8 @@ const componentsData = [
184186
{
185187
id: 24,
186188
name: "Badge",
187-
description: "A badge is a small component that displays a number or status indicator, often used to show notifications or messages.",
189+
description:
190+
"A badge is a small component that displays a number or status indicator, often used to show notifications or messages.",
188191
url: "/projects/sistent/components/badge",
189192
src: "/badge",
190193
},
@@ -197,72 +200,81 @@ const componentsData = [
197200
src: "/toolbar",
198201
},
199202
{
200-
"id": 26,
201-
"name": "RadioGroup",
202-
"description": "Sistent offers a well-structured RadioGroup component that allows users to select one option from a set.",
203-
"url": "/projects/sistent/components/radiogroup",
204-
"src": "/radiogroup"
203+
id: 26,
204+
name: "RadioGroup",
205+
description:
206+
"Sistent offers a well-structured RadioGroup component that allows users to select one option from a set.",
207+
url: "/projects/sistent/components/radiogroup",
208+
src: "/radiogroup",
205209
},
206210
{
207-
"id": 27,
208-
"name": "Grid",
209-
"description": "The Grid component in Sistent provides a flexible and responsive layout system for arranging content in rows and columns.",
210-
"url": "/projects/sistent/components/grid",
211-
"src": "/grid"
211+
id: 27,
212+
name: "Grid",
213+
description:
214+
"The Grid component in Sistent provides a flexible and responsive layout system for arranging content in rows and columns.",
215+
url: "/projects/sistent/components/grid",
216+
src: "/grid",
212217
},
213218
{
214-
"id": 28,
215-
"name": "List",
216-
"description": "Lists are essential UI elements that allow items to be organized sequentially in a structured and readable way. They help users view, select, and interact with multiple items conveniently.",
217-
"url": "/projects/sistent/components/list",
218-
"src": "/list",
219+
id: 28,
220+
name: "List",
221+
description:
222+
"Lists are essential UI elements that allow items to be organized sequentially in a structured and readable way. They help users view, select, and interact with multiple items conveniently.",
223+
url: "/projects/sistent/components/list",
224+
src: "/list",
219225
},
220226
{
221-
"id": 29,
222-
"name": "Chip",
223-
"description": "Chips are compact elements that represent an input, attribute, or action. They are often used for tags, contacts, or filters.",
224-
"url": "/projects/sistent/components/chip",
225-
"src": "/chip",
227+
id: 29,
228+
name: "Chip",
229+
description:
230+
"Chips are compact elements that represent an input, attribute, or action. They are often used for tags, contacts, or filters.",
231+
url: "/projects/sistent/components/chip",
232+
src: "/chip",
226233
},
227234
{
228-
"id": 30,
229-
"name": "Collapse",
230-
"description": "The Collapse component is used to create expandable/collapsible content sections. It smoothly animates the height of its children from zero to full height when expanded.",
231-
"url": "/projects/sistent/components/collapse",
232-
"src": "/collapse",
235+
id: 30,
236+
name: "Collapse",
237+
description:
238+
"The Collapse component is used to create expandable/collapsible content sections. It smoothly animates the height of its children from zero to full height when expanded.",
239+
url: "/projects/sistent/components/collapse",
240+
src: "/collapse",
233241
},
234242
{
235-
"id": 31,
236-
"name": "FormControlLabel",
237-
"description": "A control + label pair used for checkboxes or radio buttons.",
238-
"url": "/projects/sistent/components/formcontrollabel",
239-
"src": "/formcontrollabel",
243+
id: 31,
244+
name: "FormControlLabel",
245+
description: "A control + label pair used for checkboxes or radio buttons.",
246+
url: "/projects/sistent/components/formcontrollabel",
247+
src: "/formcontrollabel",
240248
},
241249
{
242250
id: 32,
243251
name: "IconButton",
244-
description: "IconButton provides an interactive button component that displays only an icon, ideal for compact UIs where space is limited and actions are easily recognizable through iconography.",
252+
description:
253+
"IconButton provides an interactive button component that displays only an icon, ideal for compact UIs where space is limited and actions are easily recognizable through iconography.",
245254
url: "/projects/sistent/components/iconbutton",
246255
src: "/iconbutton",
247256
},
248257
{
249258
id: 33,
250259
name: "Stepper",
251-
description: "Stepper provides a way to display progress through a sequence of logical steps.",
260+
description:
261+
"Stepper provides a way to display progress through a sequence of logical steps.",
252262
url: "/projects/sistent/components/stepper",
253263
src: "/stepper",
254264
},
255265
{
256266
id: 34,
257267
name: "Stack",
258-
description: "Stack is a layout component that arranges elements in a one-dimensional flow with customizable spacing and direction.",
268+
description:
269+
"Stack is a layout component that arranges elements in a one-dimensional flow with customizable spacing and direction.",
259270
url: "/projects/sistent/components/stack",
260271
src: "/stack",
261272
},
262273
{
263274
id: 35,
264275
name: "Accordion",
265-
description: "An accordion is a vertically stacked list of headers that can be clicked to reveal or hide associated content, allowing users to toggle between hiding and showing large amounts of content in a compact space.",
276+
description:
277+
"An accordion is a vertically stacked list of headers that can be clicked to reveal or hide associated content, allowing users to toggle between hiding and showing large amounts of content in a compact space.",
266278
url: "/projects/sistent/components/accordion",
267279
src: "/accordion",
268280
},
@@ -274,6 +286,14 @@ const componentsData = [
274286
url: "/projects/sistent/components/divider",
275287
src: "/divider",
276288
},
289+
{
290+
id: 37,
291+
name: "FormControl",
292+
description:
293+
"FormControl provides context and grouping for form elements, managing shared state like error, disabled, and required across labels, inputs, and helper text.",
294+
url: "/projects/sistent/components/formcontrol",
295+
src: "/formcontrol",
296+
},
277297
];
278298

279299
module.exports = { componentsData };

0 commit comments

Comments
 (0)