• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 3 years ago
  • Updated 20 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

React Library UI/UX agnostic

CircleCI

DCX React library

Motivation

dcx-react-library is a React library with a set of components ready to use in your project.

There are plenty of libraries available in React that can help to increase your productivity however most of them contain lots of css and are hard to style based on your project's requirements.

dcx-react-library is UI/UX agnostic so you need to provide styling to match the look and feel of your application. This allows the dcx-react-library to be easily integrated into any project.

Components

To see the full list of components built in dcx-react-library, and how to use it, have a look on our storybook-showcase In Storybook, each component is presented with 4 main sections:

  • documentation: describes the list of properties available, optional and mandatory;
  • live: you can play directly with all the properties and see the component's behaviour;
  • unstyled: the bare component without any styling applied;
  • styled: an example (mainly based on GDS) of how to style the component and the final result.

How to use it

Using dcx-react-library should not require any particular setup. You only need to import the component and use it 😃

Steps:

  • yarn add @capgeminiuk/dcx-react-library
  • Import the component you need and use it. For example:
import { Button } from '@capgeminiuk/dcx-react-library';

const App = () => {
  return <Button label="start" onClick={() => {}} />;
};

Styling

We don't ship dcx-react-library with any included CSS. However, some stylesheet is required to use some components (for example, toggle and tooltip).

/* The following line can be included in your src/index.js or App.js file */
import '@capgeminiuk/dcx-react-library/dist/dcx-react-library.css';

Contributing

If you'd like to contribute, please follow our CONTRIBUTING section.

Blog posts

For an introduction to the DCX React Library please read our Introducing the DCX React Library blog post. For tips on how you can contribute to the DCX React Library please read our Contributing to the DCX React Library blog post.

Raise a bug or enhancement

If you find a bug or you would like to recommend an improvement, please raise an issue and use the appropriate template. We will be more than happy to improve the library, smashing all the bugs found and improve the functionality.

Contributors ✨

Thanks goes to these wonderful people

daniele-zurico
Daniele Zurico
marius-mirca
Marius Mirca
isaac-babalola
Isaac Babalola
alex-webber
Alex Webber
nikki-algar
Nikki Algar
niku-sharma
Niku Sharma
claudio-ricci
Claudio Ricci
sandra-ro-diaz
Sandra Ro Diaz
ellie-tahmasebi
Ellie Tahmasebi
sri-viswanathan"/
Sri Viswanathan
julian-taylor"/
Julian Taylor
sergio-bandera-garcia"/
Sergio Bandera Garcia
szilvi-horvath
Szilvi Horvath
jaya-rathore
Jaya Rathore
arpana-kumari
Arpana Kumari
caner-shefik
Caner Shefik
jadhav-jeet
Jadhav Jeet
soundar-arumugam
Soundar Arumugam
j-gonzales
Javier Gonzalez Moya
kavitha-kurella
Kavitha Kurella
yunus-firat
Yunus Firat
yohannes-berhane
Yohannes Berhane
ahmet-kucukibrahimoglu
Ahmet Kucukibrahimoglu
ismael-akhtaab
Ismael Akhtaab

More Repositories

1

Apollo

🚀 An open-source platform for cloud native applications based on Apache Mesos and Docker.
Python
725
star
2

kubeform

Form your ⛵ Kubernetes ⚓ cluster anywhere using CoreOS, Terraform and Ansible
Python
326
star
3

mesos-ui

An alternative web UI for Apache Mesos, built with ❤️ and React.JS
JavaScript
220
star
4

terraform-amazon-ecs

Terraform files for deploying and running Amazon ECS (+ Private Docker Registry)
HCL
183
star
5

terraform-control

A PoC for managing your infrastructure with Terraform in a collaborative way 👯 https://capgemini.github.io/devops/Controlling-the-state-of-your-infrastructure/
Go
70
star
6

powerapps-specflow-bindings

A SpecFlow bindings library for model-driven Power Apps.
C#
41
star
7

TerraKube-AWS

HCL
36
star
8

cloud-native-training

Training, resources and materials for becoming a cloud native engineer ☁️ 🐳
23
star
9

xrm-datamigration

Export and import data for Microsoft Dataverse. Supports JSON and CSV.
C#
23
star
10

powerapps-packagedeployer-template

Enhanced deployment capabilities when deploying with the Power Apps Package Deployer.
C#
21
star
11

powerapps-project-template

A Yeoman generator for scaffolding Power Apps projects based on our tooling and best practices.
C#
18
star
12

angular-cart-demo

Example shopping cart application using MEAN stack (Mongo/ExpressJS/Angular/NodeJS)
JavaScript
18
star
13

spring-boot-capgemini

Java
16
star
14

dcos-cli-docker

A docker image for DCOS CLI 🙌
Shell
14
star
15

tf_tls

A Terraform module with a collection of common TLS certificate settings.
HCL
12
star
16

grade-ladder

Capgemini UK Software Engineering Grade Ladder
HTML
12
star
17

msbuild-xrm-sourcecontrol

MSBuild Visual Studio Extensions to provide easy source control for Dynamics 365
PowerShell
11
star
18

dotnet-code-analysis

This is an open-source project which aims to identify common bad programming practices that should be avoided in a C# code base through the use of the .NET compiler-as-a-service technology.
C#
11
star
19

xrm-datamigration-xrmtoolbox

Export and import data for Microsoft Dataverse as an XrmToolBox plugin. Supports JSON and CSV.
C#
8
star
20

azure-devops-extension-xrm-release

Provides Tasks that enable Continuous Deployment pipelines for Dynamics 365.
PowerShell
8
star
21

react-scaffold

React + React Router + Flux + Gulp + Webpack boilerplate
JavaScript
8
star
22

drupal-doctrine-cache

Doctrine cache that uses the Drupal caching API
PHP
8
star
23

portable-k8s-demo

Shell
8
star
24

dtx-polyfiller

A Chrome Extension used to rewrite IE events for chrome to help support legacy tools
JavaScript
8
star
25

spalp

Single Page App Landing Page module for Drupal - this mirror is no longer maintained
PHP
7
star
26

kuwit

This is http://KuWit.io 🤖 🤖 🤖 the AI bot who knows everything about Kubernetes. https://capgemini.github.io/bots/kuwit/
JavaScript
7
star
27

angular_unit_example

Learn how to get started with unit testing an Angular app
JavaScript
7
star
28

weave-ansible

An ansible role for setting up https://github.com/weaveworks/weave
7
star
29

azure-devops-extension-xrm-build

Provides Tasks that enable Continuous Integration pipelines for Dynamics 365.
6
star
30

msft-release-extensions

A suite of Azure DevOps extensions and scaffolders allowing you to simplify the application lifecycle management process.
PowerShell
5
star
31

xrm-solutionaudit

This is an open-source project which aims to facilitate the audit of Dynamics 365 components within managed solutions.
C#
5
star
32

react-material-alert

A set of react components for displaying alerts implementing google material design
JavaScript
4
star
33

dockerfiles

collection of reusable dockerfiles
PowerShell
4
star
34

grade-ladder-fullstack

3
star
35

notepad2

Simple Jekyll theme, evolved from https://github.com/hmfaysal/Notepad
HTML
3
star
36

jmeter-client

Shell
2
star
37

apollo-drupal-commerce-kickstart

Dockerfile for building Drupal Commerce Kickstart distribution
PHP
2
star
38

innersource-template

A Boilerplate project with the basics for an innersource project
2
star
39

open-linux-hardening-check

Tooling to assist security checks on Linux systems
Shell
2
star
40

step-ansible-lint

ansible-lint step for http://wercker.com/
Shell
2
star
41

microsoft-team-labs

JavaScript
2
star
42

twig_svg

Drupal module to add a Twig extension to easily include inline SVG in twig templates
PHP
2
star
43

capgemini.github.io

Public repo for Capgemini software engineering blog -see https://github.com/Capgemini/blog-private to get involved
HTML
2
star
44

voting-demo

This a super simplified version or https://github.com/docker/example-voting-app for demo purposes.
JavaScript
1
star
45

Apollo-ELK

ELK stack running in standalone mode with docker
Python
1
star
46

gregor

A utility library that simplifies consuming from and sending messages to a Kafka broker.
Java
1
star
47

apollo-spring-boot

Java
1
star
48

MuleSoft-Conference-Demo

1
star
49

CoreXPlatform

PowerShell
1
star
50

commerce_order_cleanup

PHP
1
star
51

step-packer-push

A Wercker step for packer push into Atlas.
Shell
1
star
52

step-apollo-deploy

A Wercker step for deploying Apollo.
Shell
1
star
53

validators

Drupal Symfony Validator allows you to use the Symfony Validator component inside your Drupal projects
PHP
1
star
54

ngTraining

A demo of a traditional server side web app
JavaScript
1
star