Skip to content

taoyage/react-mobile-ui

Repository files navigation

react-mobile-ui

📱 A mobile component library based on the React framework

document

✨ Feature

  • 💎 A set of high-quality React components out of the box.
  • 💪 Written in TypeScript, providing a complete type definition.
  • 📝 Provide complete documentation.
  • 😎 Support on-demand import and Tree Shaking.
  • ⚡️ Support Vite and Webpack.
  • 🌵 Modern browsers.
  • 🌝 Support SSR.

Installation

$ npm install @taoyage/react-mobile-ui --save
or
$ pnpm install @taoyage/react-mobile-ui
or
$ yarn install @taoyage/react-mobile-ui

Code Snippet

import ReactDOM from 'react-dom/client';
import { Button } from '@taoyage/react-mobile-ui';

function App() {
  return <Button>Default Button</Button>;
}

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(<App />);