Rebass Basics Complete Reference

React Rebass is a front-end framework that was designed keeping react in mind. React Rebass is the “Bootstrap of React” by Jori Lallo, It is accessible and themeable form components for use with Rebass.

Javascript




import React from 'react'
import { Text } from 'rebass';
 
function App() {
  return (
    <>
      <Text
        fontSize={[3, 4, 5]}
        fontWeight='bold'
        color='primary'>
        Text
      </Text>
    </>
  );
};
 
export default App;


Output: