Skip to content

Conversation

@b1ink0
Copy link
Collaborator

@b1ink0 b1ink0 commented Dec 26, 2025

Description

Adds new components based on Espresso by Frappe Figma design.

  1. ButtonGroup
  1. RadioButton
RadioButton.Demo.mp4
  1. Tag
Tag.Demo.mp4
  1. Spacer
  1. Slider
Slider.Demo.mp4
  1. Refactored Divider component to align with Espresso by Frappe design with slot support.
Screenshot 2025-12-30 at 5 04 19 PM

Relevant Technical Choices

Testing Instructions

Additional Information:

Screenshot/Screencast


Checklist

  • I have thoroughly tested this code to the best of my abilities.
  • I have reviewed the code myself before requesting a review.
  • This code is covered by unit tests to verify that it works as intended.
  • The QA of this PR is done by a member of the QA team (to be checked by QA).

Fixes #

@b1ink0 b1ink0 changed the title Adds new ButtonGroup, RadioButton, Tag and Slider components based on Espresso by Frappe Feat: Add ButtonGroup, RadioButton, Tag and Slider components based on Espresso by Frappe Dec 26, 2025
@b1ink0 b1ink0 changed the title Feat: Add ButtonGroup, RadioButton, Tag and Slider components based on Espresso by Frappe Feat: Add ButtonGroup, RadioButton, Tag, Spacer and Slider components based on Espresso by Frappe Dec 30, 2025
@b1ink0 b1ink0 marked this pull request as ready for review December 30, 2025 11:36
@b1ink0 b1ink0 requested a review from Copilot December 30, 2025 11:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces five new UI components (ButtonGroup, RadioButton, Tag, Spacer, and Slider) based on the Espresso by Frappe design system, along with a refactored Divider component. The changes add comprehensive component libraries with Storybook stories for documentation and testing.

  • Adds new reusable components with configurable props for size, variant, theme, and behavior
  • Refactors the Divider component to support slot-based content rendering instead of action buttons
  • Extends the Tooltip component with an open prop for controlled visibility

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 19 comments.

Show a summary per file
File Description
packages/frappe-ui-react/src/components/tooltip/types.ts Adds open prop to TooltipProps for controlled tooltip visibility
packages/frappe-ui-react/src/components/tooltip/tooltip.tsx Implements controlled tooltip behavior using the open prop
packages/frappe-ui-react/src/components/tag/* New Tag component with removable functionality and variant support
packages/frappe-ui-react/src/components/spacer/* New Spacer component for flexible spacing in horizontal/vertical layouts
packages/frappe-ui-react/src/components/slider/* New Slider component supporting single value and range selection with tooltips
packages/frappe-ui-react/src/components/radioButton/* New RadioButton component with customizable options and disabled states
packages/frappe-ui-react/src/components/buttonGroup/* New ButtonGroup component for grouping related buttons
packages/frappe-ui-react/src/components/divider/* Refactored to use slot-based rendering pattern instead of action buttons
packages/frappe-ui-react/src/components/index.ts Exports new components for public API

@mohdsayed mohdsayed changed the title Feat: Add ButtonGroup, RadioButton, Tag, Spacer and Slider components based on Espresso by Frappe Feature: Add ButtonGroup, RadioButton, Tag, Spacer and Slider components based on Espresso by Frappe Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants