
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@fluid-design/fluid-ui
Advanced tools
<!-- markdownlint-disable-next-line --> <img width="150" src="https://user-images.githubusercontent.com/13263720/205263424-c7458db9-a1ea-4b7c-8c0b-cfdc811fb5f4.png
Fluid UI is an elegant component library for React. It is built on top of mordern libraries like tailwindcss, headlessui and framer-motion.
Demo: fluid-design.io/docs/
primary color under tailwind.config.js, all components' accent colors will be updated accordingly.npm install @fluid-design/fluid-ui
# or
yarn add @fluid-design/fluid-ui
Add a primary color theme to your tailwind.config.js file,
you can go to Color UI Generator to generate a color theme.
We recommend using non var-based color theme, because the library is using and transforming based on the given colors. However, var-based color theme still works, but you might need to adjust the color theme manually.
module.exports = {
// Add the following to your tailwind.config.js file:
darkMode: 'class',
content: [
'./src/**/*.{js,ts,jsx,tsx}',
'./node_modules/@fluid-design/fluid-ui/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {
colors: {
primary: {
50: '#f0f9ff',
100: '#e0f2fe',
200: '#bae6fd',
300: '#7dd3fc',
400: '#38bdf8',
500: '#0ea5e9',
600: '#0284c7',
700: '#0369a1',
800: '#075985',
900: '#0c4a6e',
},
gray: {
50: '#f4f7fb',
100: '#d8dbdf',
200: '#bdc0c4',
300: '#a2a5a9',
400: '#888b8f',
500: '#6f7276',
600: '#575a5d',
700: '#404346',
800: '#2b2d30',
900: '#17191c',
},
},
// Other extended theme properties
},
},
plugins: [
require('@fluid-design/fluid-ui/dist/plugin/core'), // main plugin
require('@fluid-design/fluid-ui/dist/plugin/button'), // for button component
require('@fluid-design/fluid-ui/dist/plugin/tooltip'), // for tooltip component
],
};
If you don't want to opt-in to use components, you can also use the tailwind plugins directly.
module.exports = {
//...
plugins: [
require('@fluid-design/fluid-ui/dist/plugin/core'), // main plugin
require('@fluid-design/fluid-ui/dist/plugin/button'), // for button component
require('@fluid-design/fluid-ui/dist/plugin/tooltip'), // for tooltip component
],
}
The Example Page provides many possiple ways to group components into a nice-looking ui.
It is the perfect starting point for learning and building your own app.
Or check out some examples from below:
Select
Switch
Accordion
Button
Fluid UI will continue to evolve and grow. Here are some of the features we are working on:
We would love to hear from you! If you have any feedback or run into issues using our library, please file
an issue on this repository.
FAQs
<!-- markdownlint-disable-next-line --> <img width="150" src="https://user-images.githubusercontent.com/13263720/205263424-c7458db9-a1ea-4b7c-8c0b-cfdc811fb5f4.png
The npm package @fluid-design/fluid-ui receives a total of 10 weekly downloads. As such, @fluid-design/fluid-ui popularity was classified as not popular.
We found that @fluid-design/fluid-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.