Skip to content

Implement Reusable Sidepanel Component Interface #44

Description

@onlydustapp

Overview

Create a reusable Sidepanel component that matches the Figma design specifications. This Sidepanel should support contextual content display, slide animations, and responsiveness across various screen sizes.

Image

https://www.figma.com/design/Nv8W2LKjj8LfUjzNJSZrK3/Untitled?node-id=1-2&p=f&t=LEKdZUbrFWm0v0PG-0

Requirements

  • Layout & Styles:
    • Match the layout, width, padding, and overall styling exactly as defined in the Figma design.
    • Ensure the component supports both light and dark themes using existing design tokens.
  • Animation:
    • Implement smooth slide in/out animations (using Framer Motion or CSS transitions).
  • Component Structure:
    • Include a close button.
    • Add a title section.
    • Provide a scrollable content area.
  • Props:
    • title: Show the panel's title.
    • isOpen: Control the panel visibility.
    • onClose: Callback for handling the close action.
    • children: Render nested content.
  • Responsiveness:
    • Ensure the component is fully responsive (proper collapse or overlay behavior on smaller screens).

Deliverables

  • A component file named Sidepanel.tsx located in the shared or UI folder.
  • A fully responsive, animated implementation that adheres to the design.

Technical Considerations

  • Use Tailwind CSS for styling consistency.
  • Leverage existing design tokens for theme integration.
  • Ensure the component is easily reusable across multiple flows or screens.

🌟 Let's align this component with the overall project design standards as described in the README.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions