
Description
The LifeSG React Design System is a React component library for LifeSG and BookingSG related products. It gives developers ready-made components that match the look of those services, so teams building similar web apps do not have to design each control from scratch. Installation starts with the peer dependencies and a pair of stylesheet imports for the theme and the open sans font. You import the LifeSG theme and its styles once at the top of your app, then use the components in your screens. The README recommends importing each component from its own path, such as the button path, rather than from the package root, which is the more efficient option. For contributors, the repository shows how to build the library locally and install the packed .tgz file into another project to test changes before publishing. The repository also offers agent skills that you can add with npx, so coding assistants can use the design system's guidance.…
Highlights
- React components for LifeSG and BookingSG related products
- Theme and stylesheets for the LifeSG look
- Import components one at a time from their own paths
- Agent skills installable with npx
- Build locally and test a packed build in another project
Ratings & Reviews
No ratings yet
Be the first to rate @lifesg/react-design-system.
People also visit
@commercetools-uikit/design-system
Core package of the commercetools design system
@lifesg/react-design-system FAQ
What is this design system for?
Components for LifeSG and BookingSG related web apps, so new screens can match the look of those products.
How do I install it?
Install the package, add the peer dependencies, then import the LifeSG theme and styles once at the top of your app. The README lists the stylesheet links to load.
Can I import only the components I need?
Yes. The README recommends importing from a component's own path, for example the button path, instead of from the package root.
Can AI coding agents use it?
Yes. Run npx skills add lifesg/react-design-system to add the agent skills, or use the package's own skills command.
How do I test changes before publishing?
Run the build-lib script, then install the packed .tgz file from the dist folder into your project and check the changes locally.
What are the best @lifesg/react-design-system alternatives?
Popular alternatives to @lifesg/react-design-system include @salutejs/plasma-new-hope, @primer/react and flowbite-react. See all @lifesg/react-design-system alternatives












