diff --git a/.gitignore b/.gitignore index 1521c8b..748ee8d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ dist +docs/static/oat.min.* \ No newline at end of file diff --git a/docs/content/recipes.md b/docs/content/recipes.md index 7534a11..4644ff1 100644 --- a/docs/content/recipes.md +++ b/docs/content/recipes.md @@ -36,7 +36,50 @@ Use `menu.buttons` for joined controls and `ot-dropdown` for secondary actions. ``` {% end %} +## Radio cards +Use `input[type="radio"]` and `label` to create selectable cards. + +{% demo() %} +```html +
+ +
+

Billing

+

Select a billing cycle

+
+ +
+ +
+
+ Monthly + +
+ +
+ +
+
+ Yearly + +
+ +
+ +
+
+ Lifetime + +
+ +
+ +
+ +
+``` +{% end %} ## Form card