diff --git a/.changeset/common-goats-invite.md b/.changeset/common-goats-invite.md new file mode 100644 index 000000000..ec250b3be --- /dev/null +++ b/.changeset/common-goats-invite.md @@ -0,0 +1,5 @@ +--- +"@launchpad-ui/components": minor +--- + +Add variant prop support to RadioGroup for card styling - replaces slot-based approach with variant="card" prop diff --git a/packages/components/src/Radio.tsx b/packages/components/src/Radio.tsx index 2a72a1adb..40d428251 100644 --- a/packages/components/src/Radio.tsx +++ b/packages/components/src/Radio.tsx @@ -22,7 +22,7 @@ interface RadioProps extends AriaRadioProps { const RadioContext = createContext>(null); const RadioIcon = ({ isSelected }: Partial) => ( -
+
{isSelected ? (
+ + +
+ +
+
+ +
+
+
Feature change
+
A/B test different variations
+
+
+
Compare treatments to see which one wins
+
+ +
+
+ +
+
+
Funnel optimization
+
Multi-step conversion tracking
+
+
+
Track the success of a multi-step user flow
+
+ +
+
+ +
+
+
Data Export only
+
Raw data for analysis
+
+
+
Create custom experiment analysis in your warehouse
+
+ +
+
+ +
+
+
Snowflake native
+
Warehouse-powered insights
+
+
+
Analysis powered by your Snowflake warehouse
+
+ +
+
+ +
+
+
Simple option
+
Basic configuration
+
+
+
+
+
+
+ ); + }, +};