Fundação
Componentes
- Componentes
- Accordion
- ActivityGraph
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- AvatarGroup
- Badge
- Box
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Connector
- Container
- Context Menu
- Dialog
- Drawer
- DropdownMenu
- Empty
- EnvEditor
- Fade In
- Field
- Fps
- Hover Card
- Highlighter
- Input
- InputGroup
- Input OTP
- Item
- JSONViewer
- Kbd
- Label
- Marquee
- Menubar
- Native Select
- Navigation Menu
- NumberInput
- Pagination
- Popover
- Preview Card
- Progress
- ProgressiveBlur
- Radio Group
- Resizable
- Retro Grid
- Scan Line
- ScrollArea
- Scrubber
- SectionLabel
- Select
- Separator
- Sheet
- Signature
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Stagger Group
- StatusDot
- SystemBanner
- Switch
- Table
- Tabs
- TagInput
- Textarea
- ThemeToogle
- Toggle
- Toggle Group
- Tooltip
- Typing Effect
Em @zexon/ui/components/slider. Passa value / defaultValue como array: um número para um polegar, dois números para intervalo (range duplo). Opcionalmente: label e formatLabel (cabeçalho com intervalo formatado), extremos min/max por baixo (showBounds, activo por defeito quando há label ou formatLabel), e showTrack para o realce entre polegares.
Um valor
Padrão
Variante HUD
variant="hud" — moldura no trilho e polegares quadrados.
HUD
Intervalo duplo (faixa)
value={[min, max]} activa dois polegares; o segmento entre eles usa o tema (bg-primary no intervalo). Exemplo com preços em reais:
Faixa de preço
Faixa de preçoR$ 180 — R$ 560
R$ 0R$ 1000