@stratakit/bricks
Version:
Small, modular components for StrataKit
34 lines (20 loc) • 1.13 kB
Markdown
# @stratakit/bricks
Small, modular components for StrataKit.
Bricks can be assembled to create larger, more functional experiences.
## Installation
Using your package manager of choice, install the latest version of [`@stratakit/bricks`](https://www.npmjs.com/package/@stratakit/bricks?activeTab=versions).
```console
npm add @stratakit/bricks
```
## Usage
Assuming that the [`@stratakit/foundations` package](https://www.npmjs.com/package/@stratakit/foundations) has been set up correctly, you can import and use any components from `@stratakit/bricks`.
```jsx
import { Button } from "@stratakit/bricks";
function App() {
return <Button>Hello</Button>;
}
```
For more details on using specific features, refer to the inline documentation available on every component and prop.
## Contributing
Are you interested in helping StrataKit grow? You can submit feature requests or bugs by creating [issues](https://github.com/iTwin/design-system/issues).
If you're interested in contributing code, please read [`CONTRIBUTING.md`](https://github.com/iTwin/design-system/blob/main/CONTRIBUTING.md) for more information.