fortnite-components
TypeScript icon, indicating that this package has built-in type declarations

1.51.0 • Public • Published

Fortnite's Components

A library of fortnite's components

NPM

Install

NPM: npm install fortnite-components --save-dev
YARN: yarn add fortnite-components --dev

Usage

it's easy to use, just import the components you need

import React from 'react'
import { StoreCard } from 'fortnite-components'

const App = () => {
  return <StoreCard name='Safari' />
}

Components

  • StoreCard
  • LockerCard
  • CharacterCard
  • FishCard
  • BattlepassCard
  • EventCard
  • AchievementCard
  • PresetCard

You can see the components in my Storybook

Fortnite Components Storybook

Customizable

The components have a variety of props, so the component can be very customizable

for example

import { FishCard } from 'fortnite-components'

This component contain these props

Number Fish number

Image Fish image

Stars Fish stars

Size Fish size

Alert Indicates if the fish is new

Unknown Indicates if the fish exists but nothing is known about it

None Indicates if nothing is known about the fish

Featured Indicates whether the fish has protruded in any way

Text It's the featured text

onClick function that is executed when you click

Preview of the component

Screenshot from 2021-05-07 20-25-50

License

MIT © EddsonRT

Help me

Use code EddsonRT in the Item Shop of Fortnite

Readme

Keywords

Package Sidebar

Install

npm i fortnite-components

Weekly Downloads

5

Version

1.51.0

License

MIT

Unpacked Size

8.87 MB

Total Files

41

Last publish

Collaborators

  • eddsonrt