Sections
Components
- AlertBanner
- AlertDialog
- Alert
- Avatar
- Badge
- Breadcrumb
- Button
- CalendarIcon
- CellLayout
- CellLink
- Checkbox
- Collapse
- ContentSwitcher
- ControlLabel
- DatePicker
- Dialog
- Divider
- Drawer
- EmptyCell
- EmptyState
- Empty
- ErrorOverlay
- FilterBar
- FilterChips
- Flex
- GridLayout
- HumanisedDate
- Icon
- InputDuration
- InputField
- Input
- Label
- Loader
- MoreActions
- NumberInput
- OutsideClickHandler
- PageLoader
- Page
- Popconfirm
- Popover
- ProgressPie
- Progress
- RadioButtonGroup
- RadioGroup
- Radio
- RelativeTime
- Resizable
- SearchInput
- Select
- SkeletonText
- Skeleton
- Space
- SquadAvatarList
- StatusPicker
- Stepper
- Switch
- TableLight
- Tabs
- Tag
- Text
- Textarea
- Toast
- Tooltip
- TriggerSelect
- Upload
import { FilterBar, SearchInput } from "@/rl-ui";
<FilterBar>
<SearchInput value="" onChange={setQ} placeholder="Search…" />
</FilterBar>Examples#
Search + action#
import { FilterBar, SearchInput, Button, Flex } from "@/rl-ui";
<FilterBar>
<Flex gap="2" align="center" className="w-full">
<SearchInput value="" onChange={setQ} placeholder="Search…" />
<Button variant="primary" size="small">New</Button>
</Flex>
</FilterBar>API#
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Root classes. |