2.9.1 • Published 9 months ago
@rbxts/better-react-components v2.9.1
Better React Components
Roblox's ui elements, with builtin modifiers
Also see introduction
Example
```
<Frame
position={new UDim2(.5, 0, .5, 0)}
size={new UDim2(.5, 0, .5, 0)}
anchorPoint={AnchorPoints.Middle}
cornerRadius={8}
padding={4}
>
<GridLayout
cellSize={new UDim2(.25, 0, .25, 0)}
cellPadding={new UDim2(0, 4, 0, 4)}
cellAspectRatio={1}
/>
<DummyElement />
<Button
textColor={"#64FEE7"}
text="Hello world!"
/>
<Text
background={"#64FEE7"}
text="Hello there!"
font={Enum.Font.Arial}
/>
</Frame>;
```
Support
TODO
- Upgrade ESLint to
9.*.*
version - Better documentation
Components
- Frame
- ScrollableFrame
- Button
- ImageButton
- Image
- Text
- TextBox
- CanvasGroup
Modifiers
- UIAspectRatioConstraint
- UICorner
- UIGradient
- UIGridLayout (see GridLayout)
- UIListLayout (see ListLayout)
- UIFlexLayout (see ListLayout)
- UIPadding
- UIPageLayout
- UIScale
- UISizeConstraint
- UIStroke
- UITableLayout
- UITextSizeConstraint
Custom Modifiers
2.9.0
9 months ago
2.9.1
9 months ago
2.7.3
11 months ago
2.7.0
1 year ago
2.6.1
1 year ago
2.8.1
11 months ago
2.7.2
12 months ago
2.8.0
11 months ago
2.7.1
12 months ago
2.6.0
1 year ago
2.5.1
1 year ago
2.5.0
1 year ago
2.4.1
1 year ago
2.3.0
1 year ago
2.2.0
1 year ago
2.4.0
1 year ago
1.2.0
1 year ago
2.1.1
1 year ago
2.1.0
1 year ago
2.0.1
1 year ago
2.0.0
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.0
1 year ago