diff --git a/src/sections/Projects/Sistent/components/list/code.js b/src/sections/Projects/Sistent/components/list/code.js index 10fd700a1c1e..e354b33cd774 100644 --- a/src/sections/Projects/Sistent/components/list/code.js +++ b/src/sections/Projects/Sistent/components/list/code.js @@ -9,51 +9,37 @@ import { useStyledDarkMode } from "../../../../../theme/app/useStyledDarkMode"; const codes = [ // Basic List with List Items - ` - + ` - - `, - + `, // List with Icons in List Items - ` - + ` 🌟 📅 🔔 - - `, - + `, // List with Avatars - ` - + ` 👤 👩‍💻 👤 - - `, - + `, // List with Subheader - ` - + ` Section 1 Section 2 - - `, - + `, // List with Action Buttons - ` - + ` alert("Clicked!")}> Layer5 Sistent Action 1 alert("Clicked!")}>Layer5 Sistent Action 2 - - `, + `, ]; const ListCode = () => { @@ -63,7 +49,7 @@ const ListCode = () => { return (
-

List

a +

List

The List component displays a list of items in a structured and accessible manner. Variants include simple lists, lists with icons, diff --git a/src/sections/Projects/Sistent/components/list/index.js b/src/sections/Projects/Sistent/components/list/index.js index f129d0d056f2..4c5463b3b61a 100644 --- a/src/sections/Projects/Sistent/components/list/index.js +++ b/src/sections/Projects/Sistent/components/list/index.js @@ -38,8 +38,6 @@ const SistentList = () => { />

- -

The List component is a flexible and structured container for organizing content in vertical layouts. It supports various child components, such as List Items, Icons, Avatars, Buttons, and Subheaders, making it ideal for creating navigational menus, data displays, or interactive content groups.

The List component is designed to: @@ -50,12 +48,9 @@ const SistentList = () => {

  • Customizable Design: Offers size variations, dense modes, and alignment options.
  • Accessibility: Ensures keyboard navigation and visual feedback for enhanced usability.
  • - -

    Components Overview:

    - + +

    Types of List component

    +
    + +

    1. List

    -

    Types of List component

    - -

    1. List

    The base container for organizing related content in vertical layouts.

    Basic Usage:

    @@ -90,8 +86,9 @@ const SistentList = () => { - -

    2. List Item

    + +

    2. List Item

    +

    Represents an individual entry in a list. Includes primary and optional secondary text.

    @@ -107,8 +104,9 @@ const SistentList = () => { - -

    3. List Item Button

    + +

    3. List Item Button

    +

    Adds interactivity to list items, making them actionable.

    @@ -125,8 +123,9 @@ const SistentList = () => { - -

    4. List with Icons

    + +

    4. List with Icons

    +

    Icons can be added to list items to enhance visual interest and provide additional meaning for each item. Enhances list items with visual elements for better context.

    @@ -156,8 +155,9 @@ const SistentList = () => { - -

    5. List with Avatars

    + +

    5. List with Avatars

    +

    Avatars can be added to list items, which is particularly useful for representing people or items visually. Visually represents items with avatars for a user-friendly interface.

    @@ -175,8 +175,9 @@ const SistentList = () => { - -

    6. List Subheader

    + +

    6. List Subheader

    +

    Subheaders provide a way to label groups within a list, adding clarity and helping users navigate content. Groups and labels items within a list for better navigation and organization.