Projects
View on GitHub
jxnblk/react-x-ray
About
React CSS Layout Debugger
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalReact X-Ray
React CSS Layout Debugger

npm i react-x-ray
Demo: http://jxnblk.com/react-x-ray
Usage
import React from 'react'
import XRay from 'react-x-ray'
const App = props => (
<XRay>
<div style={{ padding: 32 }}>
<h1>Look at me!</h1>
</div>
</XRay>
)
Props
grid(number or boolean) pixel dimensions of background gridoutline(boolean) show element outlinescenter(boolean) center the background gridcolor(string) base color for grid and outlinesbackgroundColor(string) background color of XRay component
Inspired by Tachyons X-RAY
MIT License
Explore related projects
Loading…