diff --git a/.changeset/giant-colts-move.md b/.changeset/giant-colts-move.md new file mode 100644 index 0000000000..c3584dcebe --- /dev/null +++ b/.changeset/giant-colts-move.md @@ -0,0 +1,8 @@ +--- +"docs": patch +"@marigold/components": patch +"@marigold/theme-b2b": patch +"@marigold/theme-unicorn": patch +--- + +Slider component - design update diff --git a/docs/content/components/slider.mdx b/docs/content/components/slider.mdx index 77d36648aa..3000983cca 100644 --- a/docs/content/components/slider.mdx +++ b/docs/content/components/slider.mdx @@ -7,13 +7,13 @@ title: Slider ## Description With the Slider component you can add a HTML `` element with `type="range"` to your form. -The variant can be added with the variant prop. The default variant is `slider`. +The variant can be added with the variant prop. The default variant ist `default`. ## Properties -| Property | Type | Default | -| :------------------- | :------- | :------- | -| `variant` (optional) | `string` | `slider` | +| Property | Type | Default | +| :------------------- | :------- | :-------- | +| `variant` (optional) | `string` | `default` | ## Import @@ -24,31 +24,51 @@ import { Slider } from '@marigold/components'; ## Live-Code Example ```tsx expandCode - + ``` ## Usage -### Slider with default range and fix value +### Slider with default range ```tsx -