Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-tailstrap

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tailstrap

react-tailstrap is a tailwindcss library that builds with tailwindcss but that have all bootstrap component it means you can use Bootstrap components into your tailwindcss projects

  • 0.1.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React-TailStrap

A Component Library for React and Tailwindcss. Tailwindcss is a utility base CSS framework and Bootstrap is a component base CSS Framework.

And react-tailstrap is a tailwindcss library that builds on top of tailwindcss but that have all bootstrap component it means you can use Bootstrap components into your tailwindcss projects And gonna provide others components also.

Get Started

  1. Install Tailwindcss in your project

  2. Install react-tailstrap using npm

npm i react-tailstrap
  1. add react-tailstrap path in you tailwind.config.js file content sections. Like this:
content: [
  './index.html',
  './src/**/*.{js,ts,jsx,tsx}',
  './node_modules/react-tailstrap/src/**/*.{js,ts,jsx,tsx}',
];

or

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    './index.html',
    './src/**/*.{js,ts,jsx,tsx}',
    './node_modules/react-tailstrap/src/**/*.{js,ts,jsx,tsx}',
  ],
  theme: {
    extend: {},
  },
  plugins: [],
};

How to user react-tailstrap

Demo Code
import React from 'react';

import { Button, Alert } from 'react-tailstrap';

const App = () => {
  return (
    <div>
      {/* Alert */}
      <Alert variant="primary"> an alert </Alert>
      {/* Button */}
      <Button variant="primary">Primary</Button> <br />
    </div>
  );
};

export default App;

Others Components are coming soon

under Development / unusable version

Keywords

FAQs

Package last updated on 10 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc